Whamcloud - gitweb
LU-3319 procfs: provide framework for seq_file handling 35/7135/25
authorJames Simmons <uja.ornl@gmail.com>
Fri, 15 Nov 2013 13:16:01 +0000 (08:16 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 2 Dec 2013 12:36:57 +0000 (12:36 +0000)
commit3270bfc2370884933628f95122da00d430db6072
tree9c8d2f87e9df526acde148ce2b9a721d1082bd8c
parentbd37398ae1b8dbbdd5bf8b700d061b5fc33fd8ed
LU-3319 procfs: provide framework for seq_file handling

In linux 3.10 kernels and above the proc file system interface
changed. To handle this change we need to move from the current
method of using proc_read and proc_write function pointers to
using the seq_file. This patch provides the base to enable moving
all the lustre proc handling gradually over to this new method
of proc data handling.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I06d941398bf248bffab851f9f25bea6bbe438a30
Reviewed-on: http://review.whamcloud.com/7135
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
37 files changed:
libcfs/include/libcfs/darwin/darwin-prim.h
libcfs/include/libcfs/linux/linux-prim.h
libcfs/include/libcfs/params_tree.h
libcfs/include/libcfs/user-prim.h
libcfs/include/libcfs/winnt/winnt-prim.h
libcfs/libcfs/autoMakefile.am
libcfs/libcfs/posix/posix-proc.c [new file with mode: 0644]
lustre/autoconf/lustre-core.m4
lustre/include/lprocfs_status.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/llite/lproc_llite.c
lustre/lmv/lmv_obd.c
lustre/lod/lod_dev.c
lustre/lov/lov_obd.c
lustre/mdc/mdc_request.c
lustre/mdd/mdd_device.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_mds.c
lustre/mgc/libmgc.c
lustre/mgc/mgc_request.c
lustre/mgs/mgs_handler.c
lustre/obdclass/genops.c
lustre/obdclass/llog_test.c
lustre/obdclass/lprocfs_status.c
lustre/obdclass/obd_config.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_dev.c
lustre/osc/lproc_osc.c
lustre/osc/osc_request.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-zfs/osd_handler.c
lustre/osp/osp_dev.c
lustre/ost/ost_handler.c
lustre/ptlrpc/nrs_crr.c
lustre/ptlrpc/nrs_orr.c
lustre/quota/qmt_dev.c