[Linux-cachefs] Re: [PATCH 0/5] Permit NFS superblock sharing [try #2]

Andrew Morton akpm at osdl.org
Thu Mar 2 00:21:13 UTC 2006


David Howells <dhowells at redhat.com> wrote:
>
> These patches make it possible to share NFS superblocks between related mounts,
> where "related" means on the same server.

The number of rejects gets into the "I'm not confident it'll work after
this" territory.

Here's Trond's current diff:

 fs/lockd/clntlock.c            |  112 +---
 fs/lockd/clntproc.c            |  328 +++++---------
 fs/lockd/host.c                |   12 
 fs/lockd/mon.c                 |   11 
 fs/lockd/svc4proc.c            |  157 ++----
 fs/lockd/svclock.c             |  287 ++++++------
 fs/lockd/svcproc.c             |  151 ++----
 fs/lockd/svcsubs.c             |    2 
 fs/lockd/xdr.c                 |   17 
 fs/lockd/xdr4.c                |   21 
 fs/locks.c                     |  106 ++--
 fs/namespace.c                 |   38 +
 fs/nfs/callback_xdr.c          |   28 -
 fs/nfs/dir.c                   |  104 +++-
 fs/nfs/direct.c                |  949 +++++++++++++++++++++++------------------
 fs/nfs/file.c                  |   43 +
 fs/nfs/idmap.c                 |   47 +-
 fs/nfs/inode.c                 |  201 ++++++--
 fs/nfs/iostat.h                |  163 +++++++
 fs/nfs/mount_clnt.c            |   17 
 fs/nfs/nfs2xdr.c               |    4 
 fs/nfs/nfs3acl.c               |   16 
 fs/nfs/nfs3proc.c              |  246 +++++-----
 fs/nfs/nfs3xdr.c               |    6 
 fs/nfs/nfs4proc.c              |   96 +---
 fs/nfs/nfs4xdr.c               |    2 
 fs/nfs/pagelist.c              |   10 
 fs/nfs/proc.c                  |  156 ++++--
 fs/nfs/read.c                  |  102 +++-
 fs/nfs/unlink.c                |    3 
 fs/nfs/write.c                 |  152 +++++-
 fs/nfsd/nfs4callback.c         |    2 
 fs/nfsd/nfs4state.c            |   13 
 fs/proc/base.c                 |   39 +
 include/linux/fs.h             |    7 
 include/linux/lockd/lockd.h    |   25 -
 include/linux/lockd/xdr.h      |    1 
 include/linux/nfs_fs.h         |   88 ---
 include/linux/nfs_fs_i.h       |    8 
 include/linux/nfs_fs_sb.h      |    6 
 include/linux/nfs_xdr.h        |    5 
 include/linux/sunrpc/clnt.h    |   19 
 include/linux/sunrpc/metrics.h |   77 +++
 include/linux/sunrpc/sched.h   |    9 
 include/linux/sunrpc/xprt.h    |   13 
 net/sunrpc/auth.c              |   16 
 net/sunrpc/auth_gss/auth_gss.c |    2 
 net/sunrpc/clnt.c              |   18 
 net/sunrpc/pmap_clnt.c         |   41 +
 net/sunrpc/rpc_pipe.c          |    9 
 net/sunrpc/sched.c             |    7 
 net/sunrpc/stats.c             |  115 ++++
 net/sunrpc/xprt.c              |   26 -
 net/sunrpc/xprtsock.c          |   49 ++
 54 files changed, 2518 insertions(+), 1664 deletions(-)

Please work against that.




More information about the Linux-cachefs mailing list