Whamcloud - gitweb
LU-8066 osd: migrate from proc to sysfs 10/32810/18
authorJames Simmons <uja.ornl@yahoo.com>
Fri, 1 Feb 2019 16:26:45 +0000 (11:26 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Feb 2019 02:01:16 +0000 (02:01 +0000)
commit493cd8088388712123e9cb1872f3bdf6f185a6aa
tree8fe6179c5d899e776dbfca84ca86bd43745398f4
parentfb75af7d45d1217c877f75c4296f9df0cc731604
LU-8066 osd: migrate from proc to sysfs

Move the osd based modules, osd-ldiskfs and osd-zfs, from using
proc for most single value files to sysfs. Also update MGS as
well since it had symlinks into the osd proc tree originally.

Change-Id: Ib3838038299937d7e9ae68130d50ec2afb84e996
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/32810
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
14 files changed:
lustre/include/lustre_lfsck.h
lustre/lfsck/lfsck_lib.c
lustre/mdd/mdd_lproc.c
lustre/mgs/lproc_mgs.c
lustre/mgs/mgs_internal.h
lustre/obdclass/genops.c
lustre/ofd/lproc_ofd.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_internal.h
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_lproc.c
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_lproc.c