Whamcloud - gitweb
LU-8066 obdclass : Add infrastructure for procfs to sysfs migration 20/26020/10
authorOleg Drokin <oleg.drokin@intel.com>
Tue, 2 May 2017 16:37:12 +0000 (12:37 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Jul 2017 03:29:26 +0000 (03:29 +0000)
commit4594c6656d3224eb4f8eff100a2320df53c05a8f
tree956330a3f71ad44d9885d48fb2ac47e0064bbef4
parent02dea319b2ef21868b3fa3fad7b3f5cab7eb244e
LU-8066 obdclass : Add infrastructure for procfs to sysfs migration

Prepare for procfs to sysfs migration

Add necessary plumbing to register obd types and instances
under /sys/fs/lustre

Linux-commit : 9b8013023cb62360b56c04313687e93a1c2bf3d6

Move common obd proc files to sysfs

This moves uuid display and also underlying fs statistics.

Linux-commit : 0bc36cb06e4bc5e936f2f442535daf557c7a4200

Change-Id: Ieb4e2f60c7003d658126beac071c05f94fa8eab8
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-on: https://review.whamcloud.com/26020
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
24 files changed:
lustre/include/lprocfs_status.h
lustre/include/obd.h
lustre/lmv/lmv_obd.c
lustre/lmv/lproc_lmv.c
lustre/lod/lproc_lod.c
lustre/lov/lov_obd.c
lustre/lov/lproc_lov.c
lustre/mdc/lproc_mdc.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_lproc.c
lustre/mdt/mdt_mds.c
lustre/mgc/lproc_mgc.c
lustre/mgc/mgc_request.c
lustre/mgs/lproc_mgs.c
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_status.c
lustre/obdecho/echo.c
lustre/ofd/lproc_ofd.c
lustre/ofd/ofd_dev.c
lustre/osc/lproc_osc.c
lustre/osc/osc_request.c
lustre/osp/lproc_osp.c
lustre/osp/lwp_dev.c
lustre/ost/ost_handler.c