This patch moves static SUNRPC clients list and it's lock to sunrpc_net
structure.
Currently this list is used only for debug purposes. But later it will be used
also for selecting clients by networks namespace on PipeFS mount/umount events.
Per-network namespace lists will make this faster and sim
This patch set make SUNRPC sysctl created per network namspace context.
It provides the following functionality:
1) Debug sysctl's ( {rpc,nfs,nlm,nfsd}_debug ) content is modifyable only from
init_net network context.
2) Write to rpc_debug prints active RPC tasks in sysctl's creator networks
contex
These routines are required for making SUNRPC sysctl's per network namespace
context.
Signed-off-by: Stanislav Kinsbursky
---
include/linux/sysctl.h |1 +
kernel/sysctl.c| 11 +++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include/linux/sysctl.h b/incl
This patch provides showing of pending RPC tasks for right namespace in case of
write oparation to "rpc_debug" sysctl.
Signed-off-by: Stanislav Kinsbursky
---
include/linux/sunrpc/sched.h |1
net/sunrpc/netns.h |1
net/sunrpc/sysctl.c | 87
Sysctl root is required for handliong sysctl dentries per network namespace
context. IOW, it's "lookup" method will be used to find per-net sysctl's set in
further patches.
Also this patch modifies sysctl registering helpers to make them use new sysctl
root.
Signed-off-by: Stanislav Kinsbursky
-
This is a cleanup patch. Parent sunrpc table is redundant. Syctl path can be
used instead.
Signed-off-by: Stanislav Kinsbursky
---
include/linux/sunrpc/debug.h|4
net/sunrpc/sysctl.c | 25 ++---
net/sunrpc/xprtrdma/transport.c | 11 +--
n
This patch introduces per-net sysctl header for xs_tunables table and moves
xs_tunables table registration to per-net opreations.
Signed-off-by: Stanislav Kinsbursky
---
include/linux/sunrpc/xprtsock.h |3 ++
net/sunrpc/netns.h |1 +
net/sunrpc/sunrpc_syms.c|7 +
This is a cleanup patch. Static xs_tcp_fin_timeout is not needed anymore.
Signed-off-by: Stanislav Kinsbursky
---
net/sunrpc/xprtsock.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index 49219d2..610a74a 100644
--- a/
This patch introduces per-net sysctl set and it's initialization routines. Also
it modifies sysctl's registering helpers to make them use these sets.
Signed-off-by: Stanislav Kinsbursky
---
include/linux/sunrpc/debug.h|7 ++-
net/sunrpc/netns.h |3 +++
net/sunrpc/su
This patch replaces references to static tunables with per-net ones.
Signed-off-by: Stanislav Kinsbursky
---
net/sunrpc/xprtsock.c | 42 ++
1 files changed, 26 insertions(+), 16 deletions(-)
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
in
This patch introduces independent sets of xs tunables for every network
namespace context. Their value is accessible via per-net sysctls.
Static tunables left as a storage for module params and now used for
initialization of new network namespace tunables set.
Signed-off-by: Stanislav Kinsbursky
Debug flags are global (i.e. fo all namespaces). So probably, it is better to
restrict write access and allow it only to processes with "init_net" network
namespace.
Signed-off-by: Stanislav Kinsbursky
---
net/sunrpc/sysctl.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --
This patch introduces per-net sysctl header for debug table and moves debug
table registration to per-net opreations.
Also, this patch moves SUNRPC sysctl root registration prior to per-net
operations, since now they depends on it.
Signed-off-by: Stanislav Kinsbursky
---
net/sunrpc/netns.h
Hello,
On Wed, Dec 14, 2011 at 11:09:14AM +0400, Glauber Costa wrote:
> That's indeed confusing, and it comes from the fact that we always
> inherit clone_children from the parent - which is sane, IMHO. So
> this flag only has any value in establishing the initial behaviour
> of the top root cgrou
On Mon, 12 Dec 2011 11:47:00 +0400
Glauber Costa wrote:
> Hi,
>
> This series fixes all the few comments raised in the last round,
> and seem to have acquired consensus from the memcg side.
>
> Dave, do you think it is acceptable now from the networking PoV?
> In case positive, would you prefer
From: KAMEZAWA Hiroyuki
Date: Thu, 15 Dec 2011 14:40:19 +0900
> I met this bug at _1st_ run. Please enable _all_ debug options!.
Plus the CONFIG_NET=n and other build failures.
This patch series was seriously rushed, and very poorly handled.
Yet I kept getting so much pressure to review, comme
On 12/15/2011 09:48 AM, David Miller wrote:
From: KAMEZAWA Hiroyuki
Date: Thu, 15 Dec 2011 14:40:19 +0900
I met this bug at _1st_ run. Please enable _all_ debug options!.
Plus the CONFIG_NET=n and other build failures.
This patch series was seriously rushed, and very poorly handled.
Yet I k
On 12/14/2011 10:18 PM, Tejun Heo wrote:
Hello,
On Wed, Dec 14, 2011 at 11:09:14AM +0400, Glauber Costa wrote:
That's indeed confusing, and it comes from the fact that we always
inherit clone_children from the parent - which is sane, IMHO. So
this flag only has any value in establishing the ini
18 matches
Mail list logo