Whamcloud - gitweb
LU-5030 libcfs: create cfs_get_paths() function 59/17459/8
authorJames Simmons <uja.ornl@yahoo.com>
Mon, 28 Dec 2015 16:58:59 +0000 (11:58 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 7 Jan 2016 00:56:37 +0000 (00:56 +0000)
commit4aed5234f1123efc06c5c7e702085a461a8aae12
treeaee9fa38a33cedca35e8d6c1e393c34fe2e9aaa5
parent1dbf71d8faaaf0c933f47c5d81871fe3f3fdcf43
LU-5030 libcfs: create cfs_get_paths() function

With the move of the upstream client to sysfs the
lustre and lnet utilites no long should directly
access the proc file system. To avoid this a new
function is created to support both the traditional
procfs lustre/lnet parameters as well as the new
sysfs lustre/lnet parameters as well. Besides the
creation of these functions the LNet utilites are
converted to use these new functions.

Change-Id: I78788f41955073e1e48126103ef2aec13d64812b
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: Wang Chao <chao.ornl@gmail.com>
Reviewed-on: http://review.whamcloud.com/17459
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Ryan Haasken <haasken@cray.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
libcfs/include/libcfs/util/Makefile.am
libcfs/include/libcfs/util/param.h [new file with mode: 0644]
libcfs/libcfs/autoMakefile.am
libcfs/libcfs/util/Makefile.am
libcfs/libcfs/util/param.c [new file with mode: 0644]
lnet/utils/Makefile.am
lnet/utils/debug.c
lnet/utils/routerstat.c