Whamcloud - gitweb
LU-8066 osp: migrate from proc to sysfs 77/32377/10
authorJames Simmons <uja.ornl@yahoo.com>
Wed, 11 Jul 2018 17:27:11 +0000 (13:27 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Jul 2018 16:00:16 +0000 (16:00 +0000)
commit634a9beb8cde7bc3677d213ce841aa6c5d67feaa
tree5f1c9f29dde623a159437c581d7f605d4c428bd1
parent83cb17031913ba2f33a5b67219a03c5605f48f27
LU-8066 osp: migrate from proc to sysfs

Move the osp module from using proc for most single value files
to sysfs. Create the default attrs for dt_devices which can be
used for other server side devices.

Change-Id: I51fef51287585b38a1aff80d8edf986583c54a14
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/32377
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/dt_object.h
lustre/include/obd.h
lustre/obdclass/dt_object.c
lustre/obdclass/lprocfs_status.c
lustre/osp/lproc_osp.c
lustre/osp/osp_dev.c
lustre/osp/osp_internal.h