Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Julia Lawall
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

[PATCH] staging: rtl8188eu: Remove redundant CONFIG_88EU_AP_MODE tests

2015-05-21 Thread Jakub Sitnicki
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

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Joe Perches
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

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Joe Perches
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

Re: [PATCH 4/4] Staging: lustre: sparse lock warning fix

2015-05-21 Thread Nikitas Angelinas
(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

[PATCH 2/3] staging:lustre: remove kernel defines in userland headers

2015-05-21 Thread James Simmons
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

[PATCH 1/3] staging:lustre: remove tcpip abstraction from libcfs

2015-05-21 Thread James Simmons
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

[PATCH 3/3] staging:lustre: cleanup libcfs lock handling

2015-05-21 Thread James Simmons
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

[PATCH 0/3] First set of Intel branch merger for libcfs/lnet

2015-05-21 Thread James Simmons
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

Re: [PATCH 6/6] staging: vme_user: provide DMA functionality

2015-05-21 Thread Dmitry Kalinkin
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

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Julia Lawall
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

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Joe Perches
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)

[PATCH 40/58] stagng/lustre/obdclass: Remove unused function lprocfs_rd_num_exports

2015-05-21 Thread green
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

[PATCH] staging: fbtft: Add support for Himax HX8357D controller

2015-05-21 Thread Heiner Kallweit
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

[PATCH 07/13] staging: lustre: lnet: selftest: code cleanup - variable spacing, indentation

2015-05-21 Thread Mike Shuey
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

[PATCH v4 06/13] staging: lustre: lnet: socklnd: code cleanup - align spacing

2015-05-21 Thread Mike Shuey
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

[PATCH 06/13] staging: lustre: lnet: socklnd: code cleanup - align spacing

2015-05-21 Thread Mike Shuey
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

[PATCH 01/13] staging: lustre: lnet: lnet: code cleanups - variable declarations

2015-05-21 Thread Mike Shuey
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

[PATCH 05/13] staging: lustre: lnet: o2iblnd: code cleanup - align whitespace

2015-05-21 Thread Mike Shuey
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 ++-- ..

[PATCH v4 07/13] staging: lustre: lnet: selftest: code cleanup - variable spacing, indentation

2015-05-21 Thread Mike Shuey
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

[PATCH 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
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

[PATCH 12/13] staging: lustre: lnet: socklnd: checkpatch.pl cleanups

2015-05-21 Thread Mike Shuey
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

[PATCH v4 05/13] staging: lustre: lnet: o2iblnd: code cleanup - align whitespace

2015-05-21 Thread Mike Shuey
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 ++-- ..

[PATCH 13/13] staging: lustre: lnet: selftest: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
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

[PATCH v4 11/13] staging: lnet: o2iblnd: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
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 |

[PATCH v4 12/13] staging: lustre: lnet: socklnd: checkpatch.pl cleanups

2015-05-21 Thread Mike Shuey
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

[PATCH 11/13] staging: lnet: o2iblnd: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
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 |

[PATCH v4 01/13] staging: lustre: lnet: lnet: code cleanups - variable declarations

2015-05-21 Thread Mike Shuey
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

[PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
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

[PATCH v4 13/13] staging: lustre: lnet: selftest: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
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

[PATCH v4 00/13] staging: lustre: lnet: code cleanups

2015-05-21 Thread Mike Shuey
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

[PATCH v4 09/13] staging: lustre: lnet: lnet: remove dead code, fix checkpatch.pl issue

2015-05-21 Thread Mike Shuey
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

[PATCH v4 02/13] staging: lustre: lnet: dead code - remove lnet_fini_locks

2015-05-21 Thread Mike Shuey
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

[PATCH 02/13] staging: lustre: lnet: dead code - remove lnet_fini_locks

2015-05-21 Thread Mike Shuey
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

[PATCH v4 08/13] staging: lustre: lnet: remove LNET_MUTEX_LOCK macro

2015-05-21 Thread Mike Shuey
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

[PATCH 04/13] staging: lustre: lnet: lnet: Module is LNet, not Portals

2015-05-21 Thread Mike Shuey
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

[PATCH 09/13] staging: lustre: lnet: lnet: remove dead code, fix checkpatch.pl issue

2015-05-21 Thread Mike Shuey
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

[PATCH 08/13] staging: lustre: lnet: remove LNET_MUTEX_LOCK macro

2015-05-21 Thread Mike Shuey
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

[PATCH 03/13] staging: lustre: lnet: dead code - remove LNetSetAsync

2015-05-21 Thread Mike Shuey
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

[PATCH v4 04/13] staging: lustre: lnet: lnet: Module is LNet, not Portals

2015-05-21 Thread Mike Shuey
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

[PATCH v4 03/13] staging: lustre: lnet: dead code - remove LNetSetAsync

2015-05-21 Thread Mike Shuey
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

[PATCH 58/58] staging/lustre/obd: final removal of procfs stuff

2015-05-21 Thread green
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

[PATCH 48/58] staging/lustre/lov: Move suitable variables from procfs to sysfs

2015-05-21 Thread green
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

[PATCH 51/58] staging/lustre/fid: move all files from procfs to debugfs

2015-05-21 Thread green
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

[PATCH 45/58] drivers/staging/llite: Move all remaining procfs entries to debugfs

2015-05-21 Thread green
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

[PATCH 56/58] staging/lustre/obd: remove unused lprocfs_exp_setup() and related functions

2015-05-21 Thread green
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

[PATCH 47/58] staging/lustre/osc: move suitable values from procfs to sysfs

2015-05-21 Thread green
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

[PATCH 49/58] staging/lustre/lmv: Move suitable entries from procfs to sysfs

2015-05-21 Thread green
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

[PATCH 30/58] staging/lustre/ldlm: Add infrastructure to move ldlm pool controls to sysfs

2015-05-21 Thread green
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(+),

[PATCH 33/58] staging/lustre: move /proc/fs/lustre/devices to debugfs

2015-05-21 Thread green
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

[PATCH 35/58] staging/lustre/ptlrpc: move procfs threads* files to sysfs

2015-05-21 Thread green
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

[PATCH 42/58] staging/lustre/obdclass: Prepare for procfs to sysfs migration

2015-05-21 Thread green
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

[PATCH 36/58] staging/lustre/ptlrpc: move procfs high_priority_ratio file to sysfs

2015-05-21 Thread green
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

[PATCH 29/58] staging/lustre/ldlm: remove server-side congested locks support

2015-05-21 Thread green
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

[PATCH 38/58] staging/lustre/ptlrpc: move sptlrpc procfs entry to debugfs

2015-05-21 Thread green
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

[PATCH 32/58] staging/lustre: Add debugfs root

2015-05-21 Thread green
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

[PATCH 34/58] staging/lustre/ptlrpc: Add infrastructure for sysfs migration

2015-05-21 Thread green
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

[PATCH 14/58] staging/lustre/llite: remove unused ll_max_rw_chunk

2015-05-21 Thread green
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

[PATCH 37/58] staging/lustre/ldlm: move all remaining files from procfs to debugfs

2015-05-21 Thread green
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

[PATCH 31/58] staging/lustre/ldlm: move procfs ldlm pool stats to sysfs

2015-05-21 Thread green
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

[PATCH 57/58] staging/lustre/obd: Remove nid_stats tracking

2015-05-21 Thread green
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

[PATCH 23/58] staging/lustre/ldlm: move namespaces/resource_count to sysfs

2015-05-21 Thread green
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

[PATCH 28/58] staging/lustre/ldlm: move namespaces/lru_max_age to sysfs

2015-05-21 Thread green
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(-

[PATCH 12/58] staging/lustre/llite: move llite/max_read_ahead_whole_mb to sysfs

2015-05-21 Thread green
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

[PATCH 27/58] staging/lustre/ldlm: move namespaces/lock_unused_count to sysfs

2015-05-21 Thread green
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(-

[PATCH 26/58] staging/lustre/ldlm: move namespaces/early_lock_cancel to sysfs

2015-05-21 Thread green
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

[PATCH 21/58] staging/lustre/ldlm: Preparation to move /proc/fs/lustre/ldlm to sysfs

2015-05-21 Thread green
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

[PATCH 24/58] staging/lustre/ldlm: move namespace/lock_count to sysfs

2015-05-21 Thread green
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(-

[PATCH 25/58] staging/lustre/ldlm: move namespaces/lru_size to sysfs

2015-05-21 Thread green
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(-

[PATCH 54/58] staging/lustre/obd: remove unused proc_lustre_root

2015-05-21 Thread green
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

[PATCH 43/58] staging/lustre/obdclass: Move common obd proc files to sysfs

2015-05-21 Thread green
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

[PATCH 09/58] staging/lustre/llite: move /proc/fs/lustre/llite/uuid to sysfs

2015-05-21 Thread green
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

[PATCH 22/58] staging/lustre/ldlm: move cancel_unused_locks_before_replay to sysfs

2015-05-21 Thread green
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

[PATCH 52/58] staging/lustre/fld: move all files from procfs to debugfs

2015-05-21 Thread green
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/

[PATCH 46/58] staging/lustre/mdc: move mdc-specific procfs files to sysfs

2015-05-21 Thread green
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

[PATCH 19/58] staging/lustre/llite: remove llite/*_cookiesize proc files

2015-05-21 Thread green
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

[PATCH 53/58] staging/lustre/obd: move status files from procfs to debugfs

2015-05-21 Thread green
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

[PATCH 18/58] staging/lustre/llite: move /proc/fs/lustre/llite/*_easize to sysfs

2015-05-21 Thread green
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 +++

[PATCH 16/58] staging/lustre/llite: move /proc/fs/lustre/llite/statahead_{max, agl} to sysfs

2015-05-21 Thread green
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

[PATCH 44/58] staging/lustre/llite: make llite/lov and lmv symlinks

2015-05-21 Thread green
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

[PATCH 50/58] staging/lustre/obdclass: remove unused sysctl enum definition

2015-05-21 Thread green
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

[PATCH 20/58] staging/lustre/llite: move /proc/fs/lustre/llite/xattr_cache to sysfs

2015-05-21 Thread green
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

[PATCH 55/58] staging/lustre/obd: Rename lprocfs_add_symlink to ldebugfs_add_symlink

2015-05-21 Thread green
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

[PATCH 17/58] staging/lustre/llite: move /proc/fs/lustre/llite/lazystatfs to sysfs

2015-05-21 Thread green
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

[PATCH 39/58] staging/lustre: Remove useless num_refs procfs variable

2015-05-21 Thread green
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 +--

[PATCH 10/58] staging/lustre/llite: move /proc/fs/lustre/llite/max_read_ahead_mb to sysfs

2015-05-21 Thread green
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

[PATCH 41/58] staging/lustre/obdecho: Remove procfs registration

2015-05-21 Thread green
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

[PATCH 13/58] staging/lustre/llite: move /proc/fs/lustre/llite/checksum_pages to sysfs

2015-05-21 Thread green
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

[PATCH 15/58] staging/lustre/llite: move /proc/fs/lustre/llite/stats_track* to sysfs

2015-05-21 Thread green
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

[PATCH 08/58] staging/lustre/llite: move /proc/fs/lustre/llite/fstype to sysfs

2015-05-21 Thread green
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

[PATCH 11/58] staging/lustre/llite: move llite/max_read_ahead_per_file_mb to sysfs

2015-05-21 Thread green
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

[PATCH 07/58] staging/lustre/llite: move /proc/fs/lustre/llite/client_type to sysfs

2015-05-21 Thread green
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

[PATCH 05/58] staging/lustre/llite: move /proc/fs/lustre/llite/kbytes* to sysfs

2015-05-21 Thread green
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 +++

[PATCH 03/58] staging/lustre/llite: Preparation to move /proc/fs/lustre/llite to sysfs

2015-05-21 Thread green
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

[PATCH 06/58] staging/lustre/llite: move /proc/fs/lustre/llite/files* to sysfs

2015-05-21 Thread green
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

[PATCH 02/58] staging/lustre: Move /proc/fs/lustre root level files to sysfs

2015-05-21 Thread green
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

[PATCH 00/58] Remove lustre procfs usage

2015-05-21 Thread green
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

[PATCH 04/58] staging/lustre/llite: move /proc/fs/lustre/llite/blocksize to sysfs

2015-05-21 Thread green
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

[PATCH 01/58] staging/lustre: Generic helpers for sysfs

2015-05-21 Thread green
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

Re: Anybody working on rtl8712?

2015-05-21 Thread Christian Lamparter
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   2   >