lustre: fixes for sysfs handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 of 38 patches 0 repliesNew
7 of 38 patches are in this archive. The cover letter announces 38.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/38 | lustre: llite: rename ldebugfs_[un]register_mountpoint | +0 | 1 reply | |
| 4/38 | lustre: llite: remove ll_sb | +0 | 2 replies | |
| 6/38 | lustre: llite: rename llite_sb_release | +0 | 0 replies | |
| 7/38 | lustre: llite: register mountpoint before process llog | +0 | 0 replies | |
| 14/38 | lustre: llite: don't handle success case for kbyte* sysfs code | +0 | 0 replies | |
| 27/38 | lustre: obd: resolve config log sysfs issues | +0 | 0 replies | |
| 32/38 | lustre: osc: restore cl_loi_list_lock | +0 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [lustre-devel] [PATCH 00/38] lustre: fixes for sysfs handling
Quoted 7 lines · James Simmons
The port to sysfs upstream was done in haste and without any support in the utilies to even test it. Now the user land tools do work with the sysfs / debugfs port and many problems were exposed. This patch series fixes some of the largest holes which brings back some basic lustre functionality for the users. One special note to users you need to add the following udev rule to allowing tuning to work automatically with testing.
Thanks,
I've applied all of these, after replacing 3 with updates, and discarding one as it added unnecessary locking.
Thanks,
NeilBrown
Quoted 80 lines
SUBSYSTEM=="lustre", ACTION=="change", ENV{PARAM}=="?*", RUN+="/usr/sbin/lctl
set_param'$env{PARAM}=$env{SETTING}'"Andreas Dilger (1):
lustre: llite: add newline to llite.*.offset_statsBruno Faccini (1):
lustre: osc: enhance end to end bulk cksum error reportEmoly Liu (1):
lustre: llite: register mountpoint before process llogJames Simmons (33):
lustre: llite: rename ldebugfs_[un]register_mountpoint
lustre: llite: changell_statfs_internalto use structll_sb_info
lustre: llite: movellite_rootandllite_ksettolproc_llite.c
lustre: llite: removell_sb
lustre: llite: change top kobject for llite into a kset
lustre: llite: renamellite_sb_release
lustre: llite: movelmd_profilehandling
lustre: llite: add proper error handling for
ll_debugfs_register_super()
lustre: llite: use C99 for structlprocfs_llite_obd_vars
lustre: llite: don't handle success case for blocksize sysfs code
lustre: llite: don't handle success case for kbyte* sysfs code
lustre: llite: don't handle success case for file* sysfs code
lustre: llite: user kstrtobool for some sysfs handling
lustre: obd: embedded structlprocfs_varsin obd device
lustre: obdclass: swap obd device attrs anddefault_attrs
lustre: obdclass: embedded attributes in structobd_device
lustre: obdclass: add light weightobd_def_uuid_attrs
lustre: obd: migrate to ksets
lustre: obd: createclass_setup_tunables()function
lustre: obd: createconn_uuidsysfs file
lustre: obd: enhanceprint_lustre_cfg()
lustre: obd: merge both top lustre sysfs attributes
lustre: obd: resolve config log sysfs issues
lustre: obd: move ioctl handling toclass_obd.c
lustre: llite: replacell_process_configwithclass_modify_config
lustre: mgc: update sysfs handling
lustre: osc: fixup kstrto* for sysfs handling
lustre: osc: restorecl_loi_list_lock
lustre: osc: makeunstable_statsa debugfs file
lustre: osc: update sysfs handling
lustre: lmv: update sysfs handling
lustre: lov: update sysfs handling
lustre: mdc: update sysfs handlingSteve Guminski (2):
lustre: llite: createll_stats_pid_write()
lustre: llite: improve sysfs file text inlproc_llite.cdrivers/staging/lustre/lnet/libcfs/debug.c | 1 + .../staging/lustre/lustre/include/lprocfs_status.h | 12 +- .../staging/lustre/lustre/include/lustre_disk.h | 2 + drivers/staging/lustre/lustre/include/obd.h | 17 +- drivers/staging/lustre/lustre/include/obd_class.h | 10 +- drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 2 +- .../staging/lustre/lustre/llite/llite_internal.h | 21 +- drivers/staging/lustre/lustre/llite/llite_lib.c | 137 ++++--- drivers/staging/lustre/lustre/llite/lproc_llite.c | 442 +++++++++++---------- drivers/staging/lustre/lustre/llite/super25.c | 28 +- drivers/staging/lustre/lustre/lmv/lmv_internal.h | 4 +- drivers/staging/lustre/lustre/lmv/lmv_obd.c | 26 +- drivers/staging/lustre/lustre/lmv/lproc_lmv.c | 58 +-- drivers/staging/lustre/lustre/lov/lov_internal.h | 3 +- drivers/staging/lustre/lustre/lov/lov_obd.c | 51 +-- drivers/staging/lustre/lustre/lov/lproc_lov.c | 219 +++++----- drivers/staging/lustre/lustre/mdc/lproc_mdc.c | 94 +++-- drivers/staging/lustre/lustre/mdc/mdc_internal.h | 2 +- drivers/staging/lustre/lustre/mdc/mdc_request.c | 37 +- drivers/staging/lustre/lustre/mgc/lproc_mgc.c | 45 ++- drivers/staging/lustre/lustre/mgc/mgc_internal.h | 2 +- drivers/staging/lustre/lustre/mgc/mgc_request.c | 11 +- drivers/staging/lustre/lustre/obdclass/Makefile | 2 +- drivers/staging/lustre/lustre/obdclass/class_obd.c | 209 +++++++++- drivers/staging/lustre/lustre/obdclass/genops.c | 47 ++- drivers/staging/lustre/lustre/obdclass/llog_swab.c | 12 +- .../lustre/lustre/obdclass/lprocfs_status.c | 111 ++++-- .../staging/lustre/lustre/obdclass/obd_config.c | 213 +++++++---
Quoted 11 lines
.../lustre/obdclass/{module.c => obd_sysfs.c} | 293 +++++--------- drivers/staging/lustre/lustre/obdclass/sysctl.c | 162 -------- drivers/staging/lustre/lustre/osc/lproc_osc.c | 252 ++++++++---- drivers/staging/lustre/lustre/osc/osc_internal.h | 3 +- drivers/staging/lustre/lustre/osc/osc_request.c | 174 +++++--- 33 files changed, 1503 insertions(+), 1199 deletions(-) rename drivers/staging/lustre/lustre/obdclass/{module.c => obd_sysfs.c} (57%) delete mode 100644 drivers/staging/lustre/lustre/obdclass/sysctl.cSignature · 1 line
1.8.3.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20180820/43b25537/attachment.sig>