From: Oleg Drokin <green@xxxxxxxxxxxxxx> This is beginning of work in the area. It takes a bit longer than anticipated, so I don't want for you (Greg) to have an impression we disppeared again on this issue. Patches move all sensible parameters from /proc/fs/lustre and /proc/fs/lustre/llite to /sys/fs/lustre. Teh remaining files would be moved to debugfs separately. Additionally a bunch of /proc/sys/lnet/ controls is removed either as no longer needed or because they are accessible as libcfs module parameters so probably no point in having several ways of accessing them. Conversion of other subsystems and more sysctl rearranging will follow somewhat soon, onc ewe actually get them to work properly. Dmitry Eremin (2): staging/lustre/libcfs: Remove redundant enums and sysctl moduleparams staging/lustre/libcfs: Remove unneeded lnet watchdog_ratelimit sysctl Oleg Drokin (23): staging/lustre: Generic helpers for sysfs staging/lustre: Move /proc/fs/lustre root level files to sysfs staging/lustre/llite: Preparation to move /proc/fs/lustre/llite to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/blocksize to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/kbytes* to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/files* to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/client_type to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/fstype to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/uuid to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/max_read_ahead_mb to sysfs staging/lustre/llite: move llite/max_read_ahead_per_file_mb to sysfs taging/lustre/llite: move llite/max_read_ahead_whole_mb to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/checksum_pages to sysfs staging/lustre/llite: remove unused ll_max_rw_chunk staging/lustre/llite: move /proc/fs/lustre/llite/stats_track* to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/statahead_{max,agl} to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/lazystatfs to sysfs staging/lustre/llite: move /proc/fs/lustre/llite/*_easize to sysfs staging/lustre/llite: remove llite/*_cookiesize proc files staging/lustre/llite: move /proc/fs/lustre/llite/xattr_cache to sysfs staging/lustre/libcfs: Remove redundant sysctl moduleparams staging/lustre/libcfs: get rid of /proc/sys/lnet/console_backoff staging/lustre: remove alloc_fail_rate sysctl .../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 - .../staging/lustre/lustre/include/lprocfs_status.h | 21 + .../staging/lustre/lustre/include/obd_support.h | 12 +- drivers/staging/lustre/lustre/libcfs/debug.c | 37 +- drivers/staging/lustre/lustre/libcfs/module.c | 110 ---- .../staging/lustre/lustre/llite/llite_internal.h | 9 +- drivers/staging/lustre/lustre/llite/llite_lib.c | 8 +- drivers/staging/lustre/lustre/llite/lproc_llite.c | 572 ++++++++++----------- drivers/staging/lustre/lustre/llite/super25.c | 11 +- drivers/staging/lustre/lustre/obdclass/class_obd.c | 6 +- .../lustre/lustre/obdclass/linux/linux-module.c | 106 ++-- .../lustre/lustre/obdclass/linux/linux-sysctl.c | 38 -- .../lustre/lustre/obdclass/lprocfs_status.c | 24 + drivers/staging/lustre/sysfs-fs-lustre | 192 +++++++ 19 files changed, 620 insertions(+), 586 deletions(-) create mode 100644 drivers/staging/lustre/sysfs-fs-lustre -- 2.1.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel