As part of this change we should ensure that we remove the_lnet.ln_eq_waitni and associated logic, since this is not used at all for the LNet Kernel code.
Amir Shehata (Inactive)
added a comment - As part of this change we should ensure that we remove the_lnet.ln_eq_waitni and associated logic, since this is not used at all for the LNet Kernel code.
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
As part of this change we should ensure that we remove the_lnet.ln_eq_waitni and associated logic, since this is not used at all for the LNet Kernel code.