Skip to content

SUNPRC: cleanup PipeFS for network-namespace-aware users

Stanislav Kinsbursky linux-nfs lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyIn review
  2. v16 patches 3 repliesSuperseded

Changes in v2 from the cover letter

1) rebased on tag "v3.2-rc7"
2) some cleanup and minor changes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6SUNRPC: replace inode lock with pipe lock for RPC PipeFS operationsinclude/linux/sunrpc/rpc_pipe_fs.h net/sunrpc/auth_gss/auth_gss.c net/sunrpc/rpc_pipe.c+48 -480 replies
2/6SUNRPC: split SUNPRC PipeFS pipe data and inode creationinclude/linux/sunrpc/rpc_pipe_fs.h net/sunrpc/auth_gss/auth_gss.c net/sunrpc/rpc_pipe.c+142 -1220 replies
3/6SUNRPC: cleanup PipeFS redundant RPC inode usagenet/sunrpc/rpc_pipe.c+46 -470 replies
4/6SUNPRC: cleanup RPC PipeFS pipes upcall interfacefs/nfs/blocklayout/blocklayoutdev.c fs/nfs/blocklayout/blocklayoutdm.c fs/nfs/idmap.c +3 more+7 -90 replies
5/6SUNRPC: cleanup GSS pipes usagenet/sunrpc/auth_gss/auth_gss.c+38 -380 replies
6/6SUNRPC: split SUNPRC PipeFS dentry and private pipe data creationfs/nfs/blocklayout/blocklayout.c fs/nfs/blocklayout/blocklayout.h fs/nfs/blocklayout/blocklayoutdev.c +5 more+107 -580 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] SUNPRC: cleanup PipeFS for network-namespace-aware users

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-rc7

v2:
1) rebased on tag "v3.2-rc7"
2) some cleanup and minor changes

This is cleanup precursor patch set. It's required for easier further implementation of network-namespace-aware SUNRPC PipeFS pipes creators. Generally, this patch set split SUNRPC PipeFS logic into two parts: working with pipes (new rpc_pipe structure with link to PipeFS dentry) and creating/destroying PipeFS dentries (old rpc_inode structure with link to rpc_pipe).
With this patch-set kernel PipeFS pipes users initially creates rpc_pipe data and then creates Pipefs dentries. Later these dentries will be created in notifier callbacks on PipeFS mount event from user-space and in network namespace operations for such modules like nfs and blocklayout.

The following series consists of:

---

Stanislav Kinsbursky (6):
SUNRPC: replace inode lock with pipe lock for RPC PipeFS operations
SUNRPC: split SUNPRC PipeFS pipe data and inode creation
SUNRPC: cleanup PipeFS redundant RPC inode usage
SUNPRC: cleanup RPC PipeFS pipes upcall interface
SUNRPC: cleanup GSS pipes usage
SUNRPC: split SUNPRC PipeFS dentry and private pipe data creation

 fs/nfs/blocklayout/blocklayout.c    |   16 ++
 fs/nfs/blocklayout/blocklayout.h    |    2 
 fs/nfs/blocklayout/blocklayoutdev.c |    2 
 fs/nfs/blocklayout/blocklayoutdm.c  |    2 
 fs/nfs/idmap.c                      |   28 +++-
 include/linux/sunrpc/rpc_pipe_fs.h  |   20 ++-
 net/sunrpc/auth_gss/auth_gss.c      |  130 ++++++++++--------
 net/sunrpc/rpc_pipe.c               |  258 +++++++++++++++++++----------------
 8 files changed, 262 insertions(+), 196 deletions(-)
Signature · 1 line
Signature