Yes. I will push a patch eventually to do this. I would like to sort out the headers a bit first. lib-types.h contains some structures and defines that are shared by kernel space and user space, and some that are kernel only. I could move the shared stuff to lnet/types.h, or to some other header, or to a new header. Once it is clear which headers are shared I will unifdef _KERNEL_ all the others along with the appropriate .c files.
John Hammond
added a comment - Isaac,
Yes. I will push a patch eventually to do this. I would like to sort out the headers a bit first. lib-types.h contains some structures and defines that are shared by kernel space and user space, and some that are kernel only. I could move the shared stuff to lnet/types.h, or to some other header, or to a new header. Once it is clear which headers are shared I will unifdef _ KERNEL _ all the others along with the appropriate .c files.
Now that the lnet/ulnds code has been removed, the code under lnet/lnet that supports userspace LNDs should be removed as well. To find such code, just:
grep __KERNEL__ lnet/lnet/*.[ch]
Isaac Huang (Inactive)
added a comment - Now that the lnet/ulnds code has been removed, the code under lnet/lnet that supports userspace LNDs should be removed as well. To find such code, just:
grep __KERNEL__ lnet/lnet/*.[ch]
John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/12932
Subject: LU-2675 lnet: remove lnet/include/lnet/linux/
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: daa878f5b16c45809609534abec8035414a1d3dc
Gerrit Updater
added a comment - John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/12932
Subject: LU-2675 lnet: remove lnet/include/lnet/linux/
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: daa878f5b16c45809609534abec8035414a1d3dc
John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/12893
Subject: LU-2675 mdc: remove mdc_sendpage()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b37b334193fc18b43ea3b0689c5746da8171255e
Gerrit Updater
added a comment - John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/12893
Subject: LU-2675 mdc: remove mdc_sendpage()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b37b334193fc18b43ea3b0689c5746da8171255e
Patch landed to Master.
Please open a new specific ticket if there is any additional work needed.