Whamcloud - gitweb
LU-9667 lnet: Generic helper functions for sysfs
authorSonia Sharma <sonia.sharma@intel.com>
Thu, 21 Sep 2017 17:21:50 +0000 (10:21 -0700)
committerSonia Sharma <sharmaso@whamcloud.com>
Wed, 29 May 2019 07:08:15 +0000 (03:08 -0400)
commit48beda6efcfe2241a6a1671cd9dc6413cc0ada10
tree97bb1e12dfdf08ce4012033b5e3629390e4d4541
parentb25e466f2e64d6ffbf3fee3847d1db01f5baddfb
LU-9667 lnet: Generic helper functions for sysfs

Adding generic helper functions for the sysfs
callback functions to use when implemented.
Add the base directory "lnet" to create the
path /sys/fs/lnet/

sysfs show and store callback functions for
lnet and lnd to use the helper functions.

Test-Parameters: trivial
Change-Id: I250eb0e3f3398f0882c2ab66dd4bf7f56871711b
Signed-off-by: Sonia Sharma <sonia.sharma@intel.com>
Reviewed-on: https://review.whamcloud.com/29163
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
lnet/include/lnet/Makefile.am
lnet/include/lnet/lnet-sysfs.h [new file with mode: 0644]
lnet/lnet/Makefile.in
lnet/lnet/lnet-sysfs.c [new file with mode: 0644]
lnet/lnet/module.c