On Thu, 21 May 2015, Michael Shuey wrote:
> That's a task (of many) I've been putting on the back burner until the code
> is cleaner. It's also a HUGE change, since there are debug macros
> everywhere, and they all check a #define'd mask to see if they should fire,
> and the behavior is likely go
Remove #ifdef's enclosed by an #ifdef test for the same macro to improve
readability.
No code changes:
md5, CONFIG_88EU_AP_MODE=y:
b819a33f65133607ebc33b8999ee3a79 r8188eu.o.before
b819a33f65133607ebc33b8999ee3a79 r8188eu.o.after
md5, CONFIG_88EU_AP_MODE=n:
94c84035d59285408b86
On Thu, 2015-05-21 at 17:47 -0400, Michael Shuey wrote:
> Any suggestions on other checkpatch warnings? Most of what remains are
> "don't introduce new typedefs" warnings - should these be removed as well,
> or am I safe to leave these?
I'm personally not a big fan of non-enum typedefs unless
the
On Thu, 2015-05-21 at 18:04 -0400, Michael Shuey wrote:
> That's a task (of many) I've been putting on the back burner until the code
> is cleaner. It's also a HUGE change, since there are debug macros
> everywhere, and they all check a #define'd mask to see if they should fire,
> and the behavior
(Apologies for the double-posting to individual recipients; resending
in plain text to get through vger list filters.)
The current code does not have a bug in this path (until we find one,
of course). nrs_resource_put_safe() releases references to the related
NRS resource hierarchies and policies
From: James Simmons
Currently the lnet headers used for user land applications
contain various kernel definations. This is due to the
fact libcfs contains kernel wrappers for user land which
will be going away. This patch sorted the header data
so all kernel containing structures are moved out of
From: James Simmons
Since libcfs no longer builds for user land we can
move the TCPIP abstraction that exist to the LNET
layer which is the only place that uses it. Also
the migrated code will use native linux kernel
APIs directly instead of with wrappers.
Signed-off-by: James Simmons
Intel-bug
Previously with libcfs being built for user land and kernel
space wrappers were created to transparently handle locking.
Now that user land support has been removed we delete all
those locking wrappers with this patch. Many of those changes
landed upstream but some nice cleanups still remain that a
This is the first set of patches that are current in the Intel branch
which are apart of the effort to cleanup LNet/libcfs.
James Simmons (3):
staging:lustre: remove tcpip abstraction from libcfs
staging:lustre: remove kernel defines in userland headers
staging:lustre: cleanup libcfs lock ha
On Tue, May 19, 2015 at 12:18 PM, Dan Carpenter
wrote:
> On Mon, May 18, 2015 at 09:56:33PM +0300, Dmitry Kalinkin wrote:
>>
>> + for_each_sg(sgt->sgl, sg, sg_count, i) {
>> + struct vme_dma_attr *pci_attr, *vme_attr, *dest, *src;
>> + dma_addr_t hw_address = sg_dma_a
On Thu, 21 May 2015, Joe Perches wrote:
> On Thu, 2015-05-21 at 15:50 -0400, Mike Shuey wrote:
> > Fix many checkpatch.pl warnings.
> []
> > diff --git a/drivers/staging/lustre/lnet/lnet/acceptor.c
> > b/drivers/staging/lustre/lnet/lnet/acceptor.c
> []
> > @@ -99,38 +99,42 @@ lnet_connect_conso
On Thu, 2015-05-21 at 15:50 -0400, Mike Shuey wrote:
> Fix many checkpatch.pl warnings.
[]
> diff --git a/drivers/staging/lustre/lnet/lnet/acceptor.c
> b/drivers/staging/lustre/lnet/lnet/acceptor.c
[]
> @@ -99,38 +99,42 @@ lnet_connect_console_error(int rc, lnet_nid_t peer_nid,
> switch (rc)
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
The Himax HX8357D is used e.g. by the Adafruit PITFT Plus 3.5".
They added HX8357D support to an own fork of fbtft and support Raspbian
only (https://github.com/adafruit/adafruit-rpi-fbtft/).
They don't intend to push it upstream but gave me the ok to do so.
I just applied small changes to the dri
Unify spacing in variable declarations, and align indentation in headers.
General whitespace cleanups.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/selftest/brw_test.c | 60 ++--
drivers/staging/lustre/lnet/selftest/conctl.c| 54 ++--
drivers/staging/lustre/lnet/selftest/co
Unify variable declarations to use a single space. Also include several
miscellaneous whitespace cleanups, particularly in socklnd.h.
Signed-off-by: Mike Shuey
---
.../staging/lustre/lnet/klnds/socklnd/socklnd.c| 468
.../staging/lustre/lnet/klnds/socklnd/socklnd.h| 5
Unify variable declarations to use a single space. Also include several
miscellaneous whitespace cleanups, particularly in socklnd.h.
Signed-off-by: Mike Shuey
---
.../staging/lustre/lnet/klnds/socklnd/socklnd.c| 468
.../staging/lustre/lnet/klnds/socklnd/socklnd.h| 5
Unify variable declarations to use a single space, and any other obvious
spacing flaws.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/acceptor.c| 32 ++--
drivers/staging/lustre/lnet/lnet/api-ni.c | 198 ++--
drivers/staging/lustre/lnet/lnet/config.c
Unify variable declarations to use a single whitespace. Also line up
declarations and comments in o2iblnd.h.
Signed-off-by: Mike Shuey
---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 458 +++---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 680 ++--
..
Unify spacing in variable declarations, and align indentation in headers.
General whitespace cleanups.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/selftest/brw_test.c | 60 ++--
drivers/staging/lustre/lnet/selftest/conctl.c| 54 ++--
drivers/staging/lustre/lnet/selftest/co
Fix many checkpatch.pl warnings.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/acceptor.c| 69 ++-
drivers/staging/lustre/lnet/lnet/api-ni.c | 18 --
drivers/staging/lustre/lnet/lnet/config.c |2 +-
drivers/staging/lustre/lnet/lnet/l
More checkpatch.pl warnings & code cleanup.
Signed-off-by: Mike Shuey
---
.../staging/lustre/lnet/klnds/socklnd/socklnd.c| 94 +++--
.../staging/lustre/lnet/klnds/socklnd/socklnd.h| 20 +-
.../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 419 +++-
.../lustre/lnet
Unify variable declarations to use a single whitespace. Also line up
declarations and comments in o2iblnd.h.
Signed-off-by: Mike Shuey
---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 458 +++---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 680 ++--
..
Cleaning up more checkpatch.pl issues.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/selftest/brw_test.c |3 +-
drivers/staging/lustre/lnet/selftest/conctl.c|4 +-
drivers/staging/lustre/lnet/selftest/conrpc.c| 41
drivers/staging/lustre/lnet/selft
Clean up most checkpatch.pl warnings (primarily line length warnings).
Signed-off-by: Mike Shuey
---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 25 ++-
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 204 +++-
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |
More checkpatch.pl warnings & code cleanup.
Signed-off-by: Mike Shuey
---
.../staging/lustre/lnet/klnds/socklnd/socklnd.c| 94 +++--
.../staging/lustre/lnet/klnds/socklnd/socklnd.h| 20 +-
.../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 419 +++-
.../lustre/lnet
Clean up most checkpatch.pl warnings (primarily line length warnings).
Signed-off-by: Mike Shuey
---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 25 ++-
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 204 +++-
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |
Unify variable declarations to use a single space, and any other obvious
spacing flaws.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/acceptor.c| 32 ++--
drivers/staging/lustre/lnet/lnet/api-ni.c | 198 ++--
drivers/staging/lustre/lnet/lnet/config.c
Fix many checkpatch.pl warnings.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/acceptor.c| 69 ++-
drivers/staging/lustre/lnet/lnet/api-ni.c | 18 --
drivers/staging/lustre/lnet/lnet/config.c |2 +-
drivers/staging/lustre/lnet/lnet/l
Cleaning up more checkpatch.pl issues.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/selftest/brw_test.c |3 +-
drivers/staging/lustre/lnet/selftest/conctl.c|4 +-
drivers/staging/lustre/lnet/selftest/conrpc.c| 41
drivers/staging/lustre/lnet/selft
This patch series cleans up code in staging/lustre/lnet - mostly spacing
and dead function cleanup. Should apply against linux-next 20150518.
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/dr
Some debug code was left in the tree, blocked by a #if 0. Also kicked out
checkpatch.pl warnings. Remove it.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/lib-msg.c | 17 -
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/lustre
lnet_fini_locks() does nothing. Remove.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/api-ni.c |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c
b/drivers/staging/lustre/lnet/lnet/api-ni.c
index 6910f56..1
lnet_fini_locks() does nothing. Remove.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/api-ni.c |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c
b/drivers/staging/lustre/lnet/lnet/api-ni.c
index 6910f56..1
LNET_MUTEX_LOCK and LNET_MUTEX_UNLOCK are verbose wrappers to mutex_lock and
mutex_unlock. Get rid of these.
Signed-off-by: Mike Shuey
---
.../staging/lustre/include/linux/lnet/lib-lnet.h |2 -
drivers/staging/lustre/lnet/lnet/api-ni.c | 26 ++--
drivers/staging
Fix the module version to match upstream development.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/module.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/lustre/lnet/lnet/module.c
b/drivers/staging/lustre/lnet/lnet/module.c
index ff3
Some debug code was left in the tree, blocked by a #if 0. Also kicked out
checkpatch.pl warnings. Remove it.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/lib-msg.c | 17 -
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/lustre
LNET_MUTEX_LOCK and LNET_MUTEX_UNLOCK are verbose wrappers to mutex_lock and
mutex_unlock. Get rid of these.
Signed-off-by: Mike Shuey
---
.../staging/lustre/include/linux/lnet/lib-lnet.h |2 -
drivers/staging/lustre/lnet/lnet/api-ni.c | 26 ++--
drivers/staging
LNetSetAsync() returns 0, and is never called. Doesn't exist in the Intel
tree, either. Remove it.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/include/linux/lnet/api.h |1 -
drivers/staging/lustre/lnet/lnet/lib-move.c | 24 ---
2 files changed, 0 insertio
Fix the module version to match upstream development.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/lnet/lnet/module.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/lustre/lnet/lnet/module.c
b/drivers/staging/lustre/lnet/lnet/module.c
index ff3
LNetSetAsync() returns 0, and is never called. Doesn't exist in the Intel
tree, either. Remove it.
Signed-off-by: Mike Shuey
---
drivers/staging/lustre/include/linux/lnet/api.h |1 -
drivers/staging/lustre/lnet/lnet/lib-move.c | 24 ---
2 files changed, 0 insertio
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
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
---
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
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: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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: 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
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: 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
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 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
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 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
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 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
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 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 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 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
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 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
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
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
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
On Thursday, May 21, 2015 12:57:40 PM Xose Vazquez Perez wrote:
> On 05/07/2015 12:37 AM, Jes Sorensen wrote:
>
> > Christian Lamparter writes:
>
> >> But as I mentioned before: "I would recommend adding just a _friendly_
> >> printk"
>
> > I'm happy adding a printk - what would you like it to
1 - 100 of 146 matches
Mail list logo