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>
Showing
- lnet/utils/lbstats 5 additions, 3 deletionslnet/utils/lbstats
- lustre-iokit/ior-survey/ior-survey 1 addition, 2 deletionslustre-iokit/ior-survey/ior-survey
- lustre-iokit/obdfilter-survey/README.obdfilter-survey 2 additions, 3 deletionslustre-iokit/obdfilter-survey/README.obdfilter-survey
- lustre-iokit/ost-survey/ost-survey 27 additions, 21 deletionslustre-iokit/ost-survey/ost-survey
- lustre-iokit/stats-collect/iokit-lstats 48 additions, 48 deletionslustre-iokit/stats-collect/iokit-lstats
- lustre/contrib/lustre_server.sh 36 additions, 30 deletionslustre/contrib/lustre_server.sh
- lustre/doc/l_getgroups.8 2 additions, 4 deletionslustre/doc/l_getgroups.8
- lustre/doc/llobdstat.8 1 addition, 3 deletionslustre/doc/llobdstat.8
- lustre/doc/llstat.8 11 additions, 12 deletionslustre/doc/llstat.8
- lustre/scripts/Makefile.am 1 addition, 1 deletionlustre/scripts/Makefile.am
- lustre/scripts/lnet 17 additions, 11 deletionslustre/scripts/lnet
- lustre/scripts/lustre 39 additions, 23 deletionslustre/scripts/lustre
- lustre/scripts/lustre_createcsv.in 0 additions, 2106 deletionslustre/scripts/lustre_createcsv.in
- lustre/scripts/lustre_req_history 10 additions, 12 deletionslustre/scripts/lustre_req_history
- lustre/tests/qos.sh 5 additions, 9 deletionslustre/tests/qos.sh
- lustre/tests/runiozone 1 addition, 1 deletionlustre/tests/runiozone
- lustre/tests/sanity.sh 35 additions, 22 deletionslustre/tests/sanity.sh
- lustre/tests/sanityn.sh 17 additions, 6 deletionslustre/tests/sanityn.sh
- lustre/tests/test-framework.sh 40 additions, 12 deletionslustre/tests/test-framework.sh
- lustre/utils/llobdstat 8 additions, 4 deletionslustre/utils/llobdstat
Loading
Please register or sign in to comment