From: Oleg Drokin
Greg, I wonder if you can take at least a brief look and tell me if this
is the direction you were envisioning wrt this particular cleanup.
It's not all-inclusive, but I have a long flight tomorrow so
if the direction is right, I can convert more of this stuff.
This does not t
From: Oleg Drokin
Add generic helpers to allow displaying oof lustre-specific values
in /sys/fs/lustre
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 26 ++
.../lustre/lustre/obdclass/lprocfs_status.c| 24
2
From: Oleg Drokin
Move just first few files from /proc/fs/lustre/llite/*/
to /sys/fs/lustre/llite/*/:
blocksizefilesfree fstype kbytesfree max_read_ahead_mb
client_type filestotal kbytesavail kbytestotal uuid
More to follow.
Signed-off-by: Oleg Drokin
---
.../staging/lustre/
From: Oleg Drokin
except devices, for now.
Signed-off-by: Oleg Drokin
---
.../lustre/lustre/obdclass/linux/linux-module.c| 116 +
1 file changed, 72 insertions(+), 44 deletions(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
b/drivers/stagi
From: Oleg Drokin
Create libcfs_kvzalloc and libcfs_kvzalloc_cpt are
are designed to replace OBD_ALLOC_LARGE and OBD_CPT_ALLOC_LARGE.
Not a drop-in replacement as they also take gfp flags armument
for more flexibility.
Signed-off-by: Oleg Drokin
---
This is how I envision the OBD_ALLOC_LARGE r
From: Oleg Drokin
Create libcfs_kvzalloc and libcfs_kvzalloc_cpt that
are designed to replace OBD_ALLOC_LARGE and OBD_CPT_ALLOC_LARGE.
Not a drop-in replacement as they also take gfp flags armument
for more flexibility.
Signed-off-by: Oleg Drokin
---
Greg, I have addressed your comments wrt t
From: Oleg Drokin
Add generic helpers to allow displaying oof lustre-specific values
in /sys/fs/lustre
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 21 +++
.../lustre/lustre/obdclass/lprocfs_status.c| 24 ++
2 f
From: Oleg Drokin
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 rema
From: Oleg Drokin
Move blocksize file from /proc/fs/lustre/llite/*/ to
/sys/fs/lustre/llite/*/blocksize
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 14 +++---
drivers/staging/lustre/sysfs-fs-lustre| 6 ++
2 files changed, 13 inser
From: Oleg Drokin
Add necessary infrastructure, add support for mountpoint
registration in /proc/fs/lustre/llite
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/llite/llite_internal.h | 4
drivers/staging/lustre/lustre/llite/llite_lib.c| 7 --
drivers/staging/lustre/l
From: Oleg Drokin
Move kbytestotal, kbytesavail and kbytesfree files from
/proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 42 +++
drivers/staging/lustre/sysfs-fs-lustre| 20 +++
From: Oleg Drokin
Since Lustre 2.5, cookiesize is unused on the clients since
MDS now does final object unlink by itself, so drop these
max_cookiesize and default_cookiesize files.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 34 ---
1
From: Oleg Drokin
Move max_read_ahead_mb file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 33 ---
drivers/staging/lustre/sysfs-fs-lustre| 7 +
2 files changed, 25
From: Oleg Drokin
Move fstype file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 13 ++---
drivers/staging/lustre/sysfs-fs-lustre| 6 ++
2 files changed, 12 insertions(+), 7 de
From: Oleg Drokin
except devices, for now.
Signed-off-by: Oleg Drokin
Signed-off-by: Dmitry Eremin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 2 +-
.../lustre/lustre/obdclass/linux/linux-module.c| 106 -
.../lustre/lustre/obdclass/lprocfs_status.c
From: Oleg Drokin
Move max_read_ahead_per_file_mb file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 33 +++
drivers/staging/lustre/sysfs-fs-lustre| 6 +
2 files ch
From: Oleg Drokin
Move filestotal and filesfree files from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 28 +++
drivers/staging/lustre/sysfs-fs-lustre| 12 ++
2 file
From: Oleg Drokin
Move uuid file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 13 ++---
drivers/staging/lustre/sysfs-fs-lustre| 6 ++
2 files changed, 12 insertions(+), 7 dele
From: Oleg Drokin
Move lazystatfs file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 28 +++
drivers/staging/lustre/sysfs-fs-lustre| 8 +++
2 files changed, 22 inse
From: Oleg Drokin
ll_max_rw_chunk seems to be unused ever since we implemented CLIO in 2.0,
so remove it and all supporting infrastructure.
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/llite/llite_internal.h | 5 -
drivers/staging/lustre/lustre/llite/llite_lib.c| 1 -
d
From: Oleg Drokin
Move max_easize and default_easize files from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 26 +++
drivers/staging/lustre/sysfs-fs-lustre| 14
From: Oleg Drokin
Move stats_track_pid, stats_track_ppid and stats_track_gid files
from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 90 +++
drivers/staging/lustre/sysfs-fs-lustre
From: Oleg Drokin
Move statahead_max and statahead_agl files from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 60 +++
drivers/staging/lustre/sysfs-fs-lustre| 16 ++
2 f
From: Dmitry Eremin
It is no longer used anywhere.
Signed-off-by: Dmitry Eremin
---
drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 1 -
drivers/staging/lustre/lustre/libcfs/debug.c | 3 ---
drivers/staging/lustre/lustre/libcfs/module.c | 12 --
From: Oleg Drokin
Move client_type file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 19 +++
drivers/staging/lustre/sysfs-fs-lustre| 8
2 files changed, 15 insert
From: Oleg Drokin
Move xattr_cache file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 30 +++
drivers/staging/lustre/sysfs-fs-lustre| 7 ++
2 files changed, 21 inse
From: Dmitry Eremin
/proc/sys/lnet/lnet_memused
Remove memory tracking for LNet.
Remove redundant enums definition.
Signed-off-by: Dmitry Eremin
---
.../lustre/include/linux/libcfs/libcfs_private.h | 28 +--
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 12 ---
.../sta
From: Oleg Drokin
module parameter libcfs_console_backoff accessible through
/sys/module/libcfs/parameters/libcfs_console_backoff would do the same thing,
just add a special "uintpos" parameter type to disallow 0 values too.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/libcfs/d
From: Oleg Drokin
It was used to control allocation failure rate, but there is
in-kernel way of doing that that's more versatile too.
This is going to remove just the sysctl, the underlying variable
will be removed once all OBD_ALLOC* macros removal patchseries land.
Signed-off-by: Oleg Drokin
From: Oleg Drokin
/proc/sys/lnet/console_ratelimit, debug_path and panic_on_lbug
are module parameters with no special magic accessible via
/sys/module/libcfs/parameters/libcfs_console_ratelimit,
/sys/module/libcfs/parameters/libcfs_debug_file_path and
/sys/module/libcfs/parameters/libcfs_panic_o
From: Oleg Drokin
Move checksum_pages file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 28 +++
drivers/staging/lustre/sysfs-fs-lustre| 7 ++
2 files changed, 21 i
From: Oleg Drokin
Move max_read_ahead_whole_mb file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 31 +++
drivers/staging/lustre/sysfs-fs-lustre| 7 +
2 files chang
From: Oleg Drokin
This set fixes a couple of style issues, and a couple of bugs.
Please consider
Oleg Drokin (4):
staging/lustre: Only set INTERRUPTIBLE state before calling schedule
staging/lustre/ptlrpc: Fix wrong indenting in plain_authorize()
staging/lustre/ptlrpc: Fix potential NULL
From: Oleg Drokin
In __l_wait_event the condition could be a complicated function that does
allocations and other potentialy blocking activities, so it sohuld
not be called in a task state other than RUNNABLE
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/lustre_lib.h | 1
From: Oleg Drokin
smatch has highlighted wrong indenting that results from
commit 7fc1f831d83f ("staging/lustre/llite: extended attribute cache")
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/xattr.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --
From: Oleg Drokin
In lov_unpackmd() there's this strange bit of code where we first try
to look inside of lmm striping pattern for it's type, and then
we check if the pattern is NULL which cannot be right.
Move the check under if (lmm) branch so that it's safe.
Found by Coverity version 6.6.1
S
From: Oleg Drokin
smatch highlighted a wrongly indented bit of code that almost
hides the extra assignment.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/ptlrpc/sec_plain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/ptlrpc/s
From: Oleg Drokin
Add generic helpers to allow displaying oof lustre-specific values
in /sys/fs/lustre
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 21 +++
.../lustre/lustre/obdclass/lprocfs_status.c| 24 ++
2 f
From: Oleg Drokin
This somewhat long patch series removes all procfs usage in Lustre
client.
sysfs-fs-lustre file at the root of the lustre tree is added listing
the files content added to sysfs for files that were moved to sysfs.
Some other content taht did not fit sysfs or that I do not believe
From: Oleg Drokin
Move blocksize file from /proc/fs/lustre/llite/*/ to
/sys/fs/lustre/llite/*/blocksize
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 15 ---
drivers/staging/lustre/sysfs-fs-lustre| 6 ++
2 files changed, 14 inse
From: Oleg Drokin
except devices, for now.
Signed-off-by: Oleg Drokin
Signed-off-by: Dmitry Eremin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 2 +
.../lustre/lustre/obdclass/linux/linux-module.c| 111 -
drivers/staging/lustre/sysfs-fs-lustre
From: Oleg Drokin
Move filestotal and filesfree files from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 30 ---
drivers/staging/lustre/sysfs-fs-lustre| 12 +
2 files
From: Oleg Drokin
Add necessary infrastructure, add support for mountpoint
registration in /proc/fs/lustre/llite
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/llite/llite_internal.h | 4
drivers/staging/lustre/lustre/llite/llite_lib.c| 7 --
drivers/staging/lustre/l
From: Oleg Drokin
Move kbytestotal, kbytesavail and kbytesfree files from
/proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 45 ---
drivers/staging/lustre/sysfs-fs-lustre| 20 +++
From: Oleg Drokin
Move client_type file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 20
drivers/staging/lustre/sysfs-fs-lustre| 8
2 files changed, 16 inser
From: Oleg Drokin
Move max_read_ahead_per_file_mb file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 35 ---
drivers/staging/lustre/sysfs-fs-lustre| 6
2 files cha
From: Oleg Drokin
Move stats_track_pid, stats_track_ppid and stats_track_gid files
from /proc/fs/lustre/llite/* to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 99 ---
drivers/staging/lustre/sysfs-fs-lustre
From: Oleg Drokin
Move fstype file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 14 +++---
drivers/staging/lustre/sysfs-fs-lustre| 6 ++
2 files changed, 13 insertions(+), 7 d
From: Oleg Drokin
Move checksum_pages file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/llite_lib.c | 2 +-
drivers/staging/lustre/lustre/llite/lproc_llite.c | 30 ---
drivers/staging/lustre/sy
From: Oleg Drokin
obdecho client seems to be only registering useless proc values that
are of no use to anybody.
Remove them.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/obdecho/Makefile | 2 +-
.../staging/lustre/lustre/obdecho/echo_client.c| 8
drivers/staging
From: Oleg Drokin
Move max_read_ahead_mb file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 35 +--
drivers/staging/lustre/sysfs-fs-lustre| 7 +
2 files changed, 27
From: Oleg Drokin
Every obd type registers it, but it's not really needed by anybody.
Remove all the supporting infrastructure too.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/lprocfs_status.h | 2 --
drivers/staging/lustre/lustre/include/obd_class.h | 3 +--
From: Oleg Drokin
Move lazystatfs file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 31 +--
drivers/staging/lustre/sysfs-fs-lustre| 8 ++
2 files changed, 25 inser
From: Oleg Drokin
Move xattr_cache file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 33 ---
drivers/staging/lustre/sysfs-fs-lustre| 7 +
2 files changed, 24 inser
From: Oleg Drokin
Signed-off-by: Dmitry Eremin
---
drivers/staging/lustre/lustre/include/lprocfs_status.h | 12 ++--
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 16 +---
2 files changed, 11 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/lustre/lu
From: Oleg Drokin
Move max_easize and default_easize files from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 30 ---
drivers/staging/lustre/sysfs-fs-lustre| 14 +++
From: Oleg Drokin
Move statahead_max and statahead_agl files from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 66 ---
drivers/staging/lustre/sysfs-fs-lustre| 16 ++
2 f
From: Oleg Drokin
old proc code had /proc/sys/fs/lustre/llite/.../lov and lmv
dirs that contained name of the dir in lustre/lov and lustre/lmv
to better be able to find correct obd device there, but
I imagien a better solution would be to just create a symlink with
the same name. The name is then
From: Dmitry Eremin
Since we are removing lustre sysctls, this enum is no longer needed.
Signed-off-by: Dmitry Eremin
---
.../lustre/lustre/obdclass/linux/linux-sysctl.c| 24 --
1 file changed, 24 deletions(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/linux/l
From: Oleg Drokin
This moves max_rpcs_in_flight and max_pages_per_rpc to
/proc/fs/lustre/mdc/.../
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/mdc/lproc_mdc.c | 68 +--
drivers/staging/lustre/sysfs-fs-lustre| 16 +++
2 files changed, 60 inser
From: Oleg Drokin
Since Lustre 2.5, cookiesize is unused on the clients since
MDS now does final object unlink by itself, so drop these
max_cookiesize and default_cookiesize files.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 34 ---
1
From: Dmitry Eremin
change type of
* obd->obd_proc_entry
* obd->obd_svc_procroot
* lov->lov_pool_proc_entry
* obd_type->typ_procroot
* pool_desc->pool_proc_entry
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 4 ++
drivers/sta
From: Dmitry Eremin
Signed-off-by: Dmitry Eremin
---
drivers/staging/lustre/lustre/include/lprocfs_status.h | 3 ---
.../lustre/lustre/obdclass/linux/linux-module.c| 18 --
2 files changed, 21 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/lprocfs_stat
From: Oleg Drokin
This moves uuid display and also underlying fs statistics.
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 7 --
drivers/staging/lustre/lustre/lmv/lproc_lmv.c | 3 -
drivers/staging/lustre/lustre/lov/lproc_lov.c | 15
drive
From: Oleg Drokin
Move uuid file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 14 +++---
drivers/staging/lustre/sysfs-fs-lustre| 6 ++
2 files changed, 13 insertions(+), 7 del
From: Oleg Drokin
/proc/fs/lustre/ldlm/cancel_unused_locks_before_replay is
moved to /sys/fs/lustre/ldlm/cancel_unused_locks_before_replay
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c| 29 +-
drivers/staging/lustre/lustre/ldlm/ldlm_reso
From: Dmitry Eremin
Signed-off-by: Dmitry Eremin
---
drivers/staging/lustre/lustre/fld/fld_internal.h | 5 +-
drivers/staging/lustre/lustre/fld/fld_request.c| 66 --
drivers/staging/lustre/lustre/fld/lproc_fld.c | 42 +++---
drivers/staging/lustre/lustre/
From: Oleg Drokin
Add necessary infrastructure, register /sys/fs/lustre/ldlm,
/sys/fs/lustre/ldlm/namespaces and /sys/fs/lustre/ldlm/services
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/lustre_dlm.h | 6 +++
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c| 43
From: Oleg Drokin
Move ldlm display of lock_count from procfs to sysfs
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 29 --
drivers/staging/lustre/sysfs-fs-lustre | 6 +
2 files changed, 22 insertions(+), 13 deletions(-
From: Oleg Drokin
Move ldlm display of lru_size from procfs to sysfs
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 31 ++
drivers/staging/lustre/sysfs-fs-lustre | 9 +++
2 files changed, 23 insertions(+), 17 deletions(-
From: Oleg Drokin
Move ldlm display of early_lock_cancel from procfs to sysfs
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 28 --
drivers/staging/lustre/sysfs-fs-lustre | 13 ++
2 files changed, 29 insertions(+), 12
From: Oleg Drokin
Move max_read_ahead_whole_mb file from /proc/fs/lustre/llite/*
to /sys/fs/lustre/llite/*/
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/llite/lproc_llite.c | 34 ---
drivers/staging/lustre/sysfs-fs-lustre| 7 +
2 files chang
From: Oleg Drokin
Move ldlm display of lock_unused_count from procfs to sysfs
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 14 --
drivers/staging/lustre/sysfs-fs-lustre | 7 +++
2 files changed, 19 insertions(+), 2 deletions(-
From: Oleg Drokin
This nid_stats tracking only makes sense on the server side,
on the client there are no other clients to keep track of anyway.
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/dt_object.h | 1 -
.../staging/lustre/lustre/inc
From: Oleg Drokin
Move ldlm display of resource_count from procfs to sysfs
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 12 +++-
drivers/staging/lustre/sysfs-fs-lustre | 7 +++
2 files changed, 14 insertions(+), 5 deletions(-)
di
From: Oleg Drokin
Move ldlm display of lru_max_age from procfs to sysfs
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 30 --
drivers/staging/lustre/sysfs-fs-lustre | 7 +
2 files changed, 35 insertions(+), 2 deletions(-
From: Oleg Drokin
Suitable contents of /proc/fs/lustre/ldlm/namespaces/.../pools/
is moved to /sys/fs/lustre/ldlm/namespaces/.../pools/:
cancel_rate grant_plan grant_speed lock_volume_factor
server_lock_volume granted grant_rate limit recalc_period
Signed-off-by: Oleg Drokin
---
drivers/stagin
From: Oleg Drokin
ll_max_rw_chunk seems to be unused ever since we implemented CLIO in 2.0,
so remove it and all supporting infrastructure.
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/llite/llite_internal.h | 5 -
drivers/staging/lustre/lustre/llite/llite_lib.c| 1 -
d
From: Dmitry Eremin
Move all files except stats. It will be moved later after change
type of obddev->obd_proc_entry member.
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/lustre_dlm.h | 17 +--
drivers/staging/lustre/lustre/include/lustre_ne
From: Oleg Drokin
This is just plumbing for migrating remaining procfs to
debugfs support
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 25 -
.../lustre/lustre/obdclass/linux/linux-module.c| 32 ++-
.../lustre/lu
From: Oleg Drokin
Added necessary plumbing for ptlrpc sysfs integration for registered
services, sysfs directory registration.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/lustre_net.h | 5 +++
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c| 3 +-
.../staging/lus
From: Oleg Drokin
This code only makes sense on the server, also while we are at it
drop registration of server-side procfs values and
as all client side values were already moved to sysfs - also
drop now unused procfs helpers.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/inclu
From: Dmitry Eremin
We might want eventuall split it into a bunch of
single-value sysfs entries, I imagine, but there is no urgent need now.
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/lustre_sec.h | 8 ---
drivers/staging/lustre/lust
From: Oleg Drokin
Move ptlrpc service high_priority_ratio entry from procfs to sysfs.
Currently in use only by ldlm callback service only in
/sys/fs/lustre/ldlm/services/ldlm_cbd/
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c| 33 +++---
dri
From: Oleg Drokin
Add necessary plumbing to register obd types and instances
under /sys/fs/lustre
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 4 ++-
drivers/staging/lustre/lustre/include/obd.h| 4 +++
drivers/staging/lustre/lustre/lmv/lmv_obd.c
From: Oleg Drokin
the devices file prints out status information about all
obd devices in the system in human readable form.
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 7 +--
1 file changed, 1 insertion(+), 6 d
From: Oleg Drokin
Move ptlrpc service threads_min, threads_max and threads_running
entries from procfs to sysfs.
Currently in use only by ldlm callback service only in
/sys/fs/lustre/ldlm/services/ldlm_cbd/
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c| 80
From: Oleg Drokin
This adds registration of /sys/fs/lustre/ldlm/namespaces/.../pool
dir.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/lustre_dlm.h | 4 ++
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c | 45 +-
2 files changed, 47 insertions(+),
From: Oleg Drokin
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/obd.h | 2 +-
drivers/staging/lustre/lustre/lmv/lmv_obd.c | 60 -
drivers/staging/lustre/lustre/lmv/lproc_lmv.c | 92 ++-
drivers/staging/lustre/sysfs-fs-lustre
From: Oleg Drokin
All single-value controls are moved from /proc/fs/lustre/osc/.../
to /sys/fs/lustre/osc/.../
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/osc/lproc_osc.c | 371 +++---
drivers/staging/lustre/sysfs-fs-lustre| 107 +++-
2 files ch
From: Oleg Drokin
This code only made sense on servers.
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/include/lprocfs_status.h | 2 -
drivers/staging/lustre/lustre/include/obd.h| 1 -
.../lustre/lustre/obdclass/lprocfs_status.c| 183
From: Oleg Drokin
This moves all remaining procfs handling in llite layer to debugfs.
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/llite/llite_internal.h | 27 +++-
drivers/staging/lustre/lustre/llite/llite_lib.c| 13 +++---
drivers/stagi
From: Dmitry Eremin
Signed-off-by: Dmitry Eremin
---
drivers/staging/lustre/lustre/fid/fid_internal.h | 6 +--
drivers/staging/lustre/lustre/fid/fid_request.c| 63 +-
drivers/staging/lustre/lustre/fid/lproc_fid.c | 49 +
drivers/staging/lustre/lus
From: Oleg Drokin
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/obd.h | 2 ++
drivers/staging/lustre/lustre/lov/lov_obd.c | 44 ++-
drivers/staging/lustre/lustre/lov/lproc_lov.c | 39 +++-
drivers/staging/lustre/sysfs-fs-lu
From: Dmitry Eremin
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
.../lustre/include/linux/libcfs/linux/libcfs.h | 1 -
drivers/staging/lustre/lustre/fid/Makefile | 3 +-
drivers/staging/lustre/lustre/fld/Makefile | 3 +-
drivers/staging/lustre/lustre/in
From: Oleg Drokin
This function is unused in client code.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/lprocfs_status.h | 1 -
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 10 --
2 files changed, 11 deletions(-)
diff --git a/drivers/staging/lustr
From: Oleg Drokin
lustre_dlm_flags.h was autogenerated with a wrong script that
mistakenly stated it is GPLv3 when in fact it should be GPLv2.
Also since we are no longer autogenerating this header, drop
all such mentionings.
Reported by: George G. Davis
Signed-off-by: Oleg Drokin
Intel-bug-
From: Dmitry Eremin
Signed-off-by: Dmitry Eremin
---
drivers/staging/lustre/lustre/include/lprocfs_status.h | 3 ---
.../lustre/lustre/obdclass/linux/linux-module.c| 18 --
2 files changed, 21 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/lprocfs_stat
From: Oleg Drokin
Due to a patch naming error this remainder of patches did not merge.
Fixed the commit message to resolve this.
lustresysctl code still stays in place and would be removed in a
separate patch series.
Additionally resolved a merge conflict with some other patch
that touched lproc
From: Oleg Drokin
This moves all remaining procfs handling in llite layer to debugfs.
Signed-off-by: Dmitry Eremin
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/llite/llite_internal.h | 27 +++-
drivers/staging/lustre/lustre/llite/llite_lib.c| 13 +++---
drivers/stagi
1 - 100 of 797 matches
Mail list logo