Skip to content

Lustre: final procfs bits removal.

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20staging/lustre/lov: Move target sysfs symlink removal to object freeingdrivers/staging/lustre/lustre/lov/lov_obd.c+4 -30 replies
2/20staging/lustre: make ldebugfs_remove recursivedrivers/staging/lustre/lustre/obdclass/lprocfs_status.c+1 -10 replies
3/20staging/lustre/ldlm: In ldlm_pools_fini make sure there was init first.drivers/staging/lustre/lustre/ldlm/ldlm_pool.c+4 -20 replies
4/20staging/lustre/obdclass: fix class_procfs_init error return valuedrivers/staging/lustre/lustre/obdclass/linux/linux-module.c+1 -10 replies
5/20staging/lustre: remove alloc_fail_rate sysctldrivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c+0 -380 replies
6/20staging/lustre: Remove now obsolete memory tracking sysctlsdrivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c+0 -1240 replies
7/20staging/lustre: Remove unneeded ldlm_timeout controldrivers/staging/lustre/lustre/include/obd_support.h drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c drivers/staging/lustre/lustre/obdclass/class_obd.c +2 more+1 -320 replies
8/20staging/lustre/obdclass: move sysctl timeout to sysfsdrivers/staging/lustre/lustre/include/obd_class.h drivers/staging/lustre/lustre/obdclass/class_obd.c drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c +1 more+71 -170 replies
9/20staging/lustre/obdclass: move max_dirty_mb from sysctl to sysfsdrivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c drivers/staging/lustre/sysfs-fs-lustre+43 -430 replies
10/20staging/lustre/obdclass: move debug controls to sysfsdrivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c drivers/staging/lustre/sysfs-fs-lustre+33 -210 replies
11/20staging/lustre/obdclass: Move AT controls from sysctl to sysfsdrivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c drivers/staging/lustre/sysfs-fs-lustre+63 -350 replies
12/20staging/lustre: Get rid of remaining /proc/sys/lustre plumbingdrivers/staging/lustre/lustre/include/obd_class.h drivers/staging/lustre/lustre/obdclass/class_obd.c drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c+0 -320 replies
13/20staging/lustre/libcfs: move /proc/sys/lnet to debugfsdrivers/staging/lustre/lustre/libcfs/module.c+56 -300 replies
14/20staging/lustre/libcfs: Remove redundant lnet debugfs variablesdrivers/staging/lustre/lustre/libcfs/module.c+0 -220 replies
15/20staging/lustre/libcfs: get rid of debugfs/lnet/console_backoffdrivers/staging/lustre/lustre/libcfs/debug.c drivers/staging/lustre/lustre/libcfs/module.c+54 -363 replies
16/20staging/lustre/libcfs: Remove redundant enums and sysctl moduleparamsdrivers/staging/lustre/include/linux/libcfs/libcfs_private.h drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c +6 more+9 -1120 replies
17/20staging/lustre/libcfs: Remove unneeded lnet watchdog_ratelimit sysctldrivers/staging/lustre/include/linux/libcfs/libcfs_debug.h drivers/staging/lustre/lustre/libcfs/debug.c drivers/staging/lustre/lustre/libcfs/module.c+0 -160 replies
18/20staging/lustre/libcfs: get rid of debugfs/lnet/debug_mbdrivers/staging/lustre/lustre/libcfs/debug.c drivers/staging/lustre/lustre/libcfs/module.c drivers/staging/lustre/lustre/libcfs/tracefile.c +1 more+37 -459 replies
19/20staging/lustre/libcfs: get rid of debugfs/lnet/console_{min,max}_delay_centisecsdrivers/staging/lustre/lustre/libcfs/debug.c drivers/staging/lustre/lustre/libcfs/module.c+68 -830 replies
20/20staging/lustre/libcfs: remove unused portal_enter_debugger variabledrivers/staging/lustre/lustre/libcfs/debug.c+0 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/20] Lustre: final procfs bits removal.

From: Oleg Drokin <[email protected]>

This patch series removes the sysctls (also under /proc) from Lustre. /proc/sys/lnet is moved to debugfs and
/proc/sys/lustre content is moved to /sys/fs/lustre

Additionally we now have the tools that understand the new layout, and so first few patches fix problems introduced by earlier code moving to sysfs.

With this accepted there would be no more proc files exported by Lustre.

Please consider.

Dmitry Eremin (4):
staging/lustre/libcfs: Remove redundant enums and sysctl moduleparams staging/lustre/libcfs: Remove unneeded lnet watchdog_ratelimit sysctl staging/lustre/libcfs: get rid of
debugfs/lnet/console_{min,max}_delay_centisecs
staging/lustre/libcfs: remove unused portal_enter_debugger variable

Oleg Drokin (16):
staging/lustre/lov: Move target sysfs symlink removal to object
freeing
staging/lustre: make ldebugfs_remove recursive staging/lustre/ldlm: In ldlm_pools_fini make sure there was init
first.
staging/lustre/obdclass: fix class_procfs_init error return value staging/lustre: remove alloc_fail_rate sysctl staging/lustre: Remove now obsolete memory tracking sysctls staging/lustre: Remove unneeded ldlm_timeout control staging/lustre/obdclass: move sysctl timeout to sysfs staging/lustre/obdclass: move max_dirty_mb from sysctl to sysfs staging/lustre/obdclass: move debug controls to sysfs staging/lustre/obdclass: Move AT controls from sysctl to sysfs staging/lustre: Get rid of remaining /proc/sys/lustre plumbing staging/lustre/libcfs: move /proc/sys/lnet to debugfs staging/lustre/libcfs: Remove redundant lnet debugfs variables staging/lustre/libcfs: get rid of debugfs/lnet/console_backoff staging/lustre/libcfs: get rid of debugfs/lnet/debug_mb

 .../lustre/include/linux/libcfs/libcfs_debug.h     |   1 -
 .../lustre/include/linux/libcfs/libcfs_private.h   |  28 +-
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c    |  12 -
 .../staging/lustre/lnet/klnds/socklnd/socklnd.c    |   5 -
 .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c |   3 +-
 drivers/staging/lustre/lnet/lnet/router_proc.c     |  11 -
 drivers/staging/lustre/lustre/include/obd_class.h  |   3 +-
 .../staging/lustre/lustre/include/obd_support.h    |  16 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c    |   9 -
 drivers/staging/lustre/lustre/ldlm/ldlm_pool.c     |   6 +-
 drivers/staging/lustre/lustre/libcfs/debug.c       | 146 +++++++-
 drivers/staging/lustre/lustre/libcfs/module.c      | 334 +++++-------------
 drivers/staging/lustre/lustre/libcfs/tracefile.c   |  12 -
 drivers/staging/lustre/lustre/libcfs/tracefile.h   |   1 -
 drivers/staging/lustre/lustre/lov/lov_obd.c        |   7 +-
 drivers/staging/lustre/lustre/obdclass/class_obd.c |  17 +-
 .../lustre/lustre/obdclass/linux/linux-module.c    |   2 +-
 .../lustre/lustre/obdclass/linux/linux-sysctl.c    | 374 +++++----------------
 .../lustre/lustre/obdclass/lprocfs_status.c        |   2 +-
 .../staging/lustre/lustre/obdclass/obd_config.c    |   7 +-
 drivers/staging/lustre/sysfs-fs-lustre             | 103 ++++++
 21 files changed, 424 insertions(+), 675 deletions(-)
Signature · 1 line
2.1.0