31.12.2011 02:54, Trond Myklebust пишет:
On Mon, 2011-11-28 at 17:34 +0300, Stanislav Kinsbursky wrote:
This patch subscribes NFS clients to RPC pipefs notifications. Idmap notifier
is registering on NFS module load. This notifier callback is responsible for
creation/destruction of PipeFS idmap
03.01.2012 07:49, Eric W. Biederman пишет:
Stanislav Kinsbursky writes:
19.12.2011 20:37, Eric W. Biederman пишет:
Stanislav Kinsbursky writes:
Doing that independently of the rest of the sysctls is pretty horrible
and confusing to users. What I am planning might suit your needs and
if n
31.12.2011 02:55, Trond Myklebust пишет:
On Tue, 2011-11-29 at 13:10 +0300, Stanislav Kinsbursky wrote:
This patch set was created in context of clone of git
branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git.
tag: v3.1
This patch set depends on previous patch sets titled:
1) "SUNRPC:
This patch set was created in context of clone of git
branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git.
v2:
1) Rebased on tag v3.2
2) Added "nfs_idmap_init" and "nfs_idmap_quit" definitions for kernels built
without CONFIG_NFS_V4 option set
This patch set depends on previous patch set
This patch looks late due to GSS AUTH patches sent already. But it fixes a flaw
in RPC PipeFS pipes handling.
I've added this patch in the series, because this series related to pipes. But
it should be a part of previous series named "SUNPRC: cleanup PipeFS for
network-namespace-aware users".
Pipe
This patch replaces static "init_net" with nfs_client->net pointer in RPC
client creation calls.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfs/client.c |2 +-
fs/nfs/internal.h |1 +
fs/nfs/mount_clnt.c |4 ++--
fs/nfs/super.c |1 +
4 files changed, 5 insertions(+),
This patch adds new net variable to nfs_client structure. This variable is set
on NFS client creation and cheched during matching NFS client search.
Initially current->nsproxy->net_ns is used as network namespace owner for new
NFS client to create. This network namespace pointer is set during mount
This patch replaces static "init_net" references with parent transport xprt_net
reference. Thus callback transports will be created in the same network
namespace as respective NFS mount point was created.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfs/callback.c | 10 +-
1 files chang
This patch makes NFS idmap pipes dentries allocated and destroyed in network
namespace context by PipeFS network namespace aware routines.
Network namespace context is obtained from nfs_client structure.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfs/idmap.c | 61 +
v2:
1) Added "nfs_idmap_init" and "nfs_idmap_quit" definitions for kernels built
without CONFIG_NFS_V4 option set.
This patch subscribes NFS clients to RPC pipefs notifications. Idmap notifier
is registering on NFS module load. This notifier callback is responsible for
creation/destruction of Pipe
06.01.2012 00:58, Trond Myklebust пишет:
On Fri, 2011-12-30 at 17:55 -0500, Trond Myklebust wrote:
On Tue, 2011-11-29 at 13:10 +0300, Stanislav Kinsbursky wrote:
This patch set was created in context of clone of git
branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git.
tag: v3.1
This p
This patch makes blocklayout pipe dentry allocated and destroyed in network
namespace context by PipeFS network namespace aware routines.
Network namespace context is obtained from nfs_client structure.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfs/blocklayout/blocklayout.c | 61
This patch implements blocklayout pipe creation and registration per each
existent network namespace.
This was achived by registering NFS per-net operations, responsible for
blocklayout pipe allocation/register and unregister/destruction instead of
initialization and destruction of static "bl_devic
This patch subscribes blocklayout pipes to RPC pipefs notifications. Notifier
is registering on blocklayout module load. This notifier callback is
responsible for creation/destruction of PipeFS blocklayout pipe dentry.
Note that no locking required in notifier callback because PipeFS superblock
poi
This is a cleanup patch. We don't need this reference anymore, because
blocklayout pipes dentries now creates and destroys in per-net operations and
on PipeFS mount/umount notification.
Note that nfs4blocklayout_register_net() now returns 0 instead of -ENOENT in
case of PipeFS superblock absence. T
This patch removes static rpc_mnt variable and its creation and destruction
routines, because they are not used anymore.
Signed-off-by: Stanislav Kinsbursky
---
include/linux/sunrpc/rpc_pipe_fs.h |2 --
net/sunrpc/rpc_pipe.c | 21 -
2 files changed, 0 inse
This patch set was created in context of clone of git
branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git.
tag: v3.2
v2:
1) rebased on tag v3.2
This patch set depends on previous patch sets titled:
1) "SUNRPC: initial part of making pipefs work in net ns"
2) "SUNPRC: cleanup PipeFS for n
Stanislav Kinsbursky writes:
> 03.01.2012 07:49, Eric W. Biederman пишет:
>> Stanislav Kinsbursky writes:
>>
>>> 19.12.2011 20:37, Eric W. Biederman пишет:
Stanislav Kinsbursky writes:
Doing that independently of the rest of the sysctls is pretty horrible
and confusing to u
18 matches
Mail list logo