Whamcloud - gitweb
LU-5030 utils: fix hard-coded /proc/fs/lustre in scripts 34/10534/8
authorChao Wang <chao.ornl@gmail.com>
Fri, 1 Aug 2014 16:14:58 +0000 (12:14 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 6 Sep 2014 02:53:38 +0000 (02:53 +0000)
commitfe3ddff77475dd487873e2f873835455aab7aa38
tree03f5c3e608f5140b8810d08a12b16dc85e1788d9
parent995921a5c1e53b4d717de21dd3210406f6833689
LU-5030 utils: fix hard-coded /proc/fs/lustre in scripts

In the upstream Linux kernel, the files under /proc/fs/lustre and lnet
will be moved in the future to use sysfs. Lustre handles this by
providing access to this data with the tool lctl which is independent
of where the data is located. Many scripts directly access the proc file
system instead of using lctl so this patch migrates those scripts to
do the proper thing.

Signed-off-by: Chao Wang <chao.ornl@gmail.com>
Change-Id: I1d96ccd27fee2b0eb0bf173a4e37adacb628f83c
Reviewed-on: http://review.whamcloud.com/10534
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
21 files changed:
lnet/utils/lbstats
lustre-iokit/ior-survey/ior-survey
lustre-iokit/obdfilter-survey/README.obdfilter-survey
lustre-iokit/ost-survey/ost-survey
lustre-iokit/stats-collect/iokit-lstats
lustre/contrib/lustre_server.sh
lustre/doc/l_getgroups.8
lustre/doc/llobdstat.8
lustre/doc/llstat.8
lustre/scripts/Makefile.am
lustre/scripts/lnet
lustre/scripts/lustre
lustre/scripts/lustre_createcsv.in [deleted file]
lustre/scripts/lustre_req_history
lustre/tests/qos.sh
lustre/tests/runiozone
lustre/tests/sanity.sh
lustre/tests/sanityn.sh
lustre/tests/test-framework.sh
lustre/utils/llobdstat
lustre/utils/llstat