linux/fs/nfs/blocklayout
Stanislav Kinsbursky 9e2e74dba6 NFS: blocklayout pipe creation per network namespace context introduced
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_device_pipe" pipe (this one was
removed).
Note, than pointer to network blocklayout pipe is stored in per-net "nfs_net"
structure, because allocating of one more per-net structure for blocklayout
module looks redundant.
This patch also changes dev_remove() function prototype (and all it's callers,
where it' requied) by adding network namespace pointer parameter, which is used
to discover proper blocklayout pipe for rpc_queue_upcall() call.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2012-01-31 18:20:27 -05:00
..
blocklayout.c NFS: blocklayout pipe creation per network namespace context introduced 2012-01-31 18:20:27 -05:00
blocklayout.h NFS: blocklayout pipe creation per network namespace context introduced 2012-01-31 18:20:27 -05:00
blocklayoutdev.c NFS: blocklayout pipe creation per network namespace context introduced 2012-01-31 18:20:27 -05:00
blocklayoutdm.c NFS: blocklayout pipe creation per network namespace context introduced 2012-01-31 18:20:27 -05:00
extents.c pnfsblock: alloc short extent before submit bio 2012-01-12 16:52:10 -05:00
Makefile pnfsblock: remove device operations 2011-07-31 12:18:16 -04:00