From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH 0/5] Permit NFS superblock sharing [try #2] Date: Wed, 1 Mar 2006 16:21:13 -0800 Message-ID: <20060301162113.774d1745.akpm@osdl.org> References: <20060301173617.16639.83553.stgit@warthog.cambridge.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: aviro@redhat.com, linux-kernel@vger.kernel.org, nfsv4@linux-nfs.org, steved@redhat.com, torvalds@osdl.org, linux-cachefs@redhat.com, linux-fsdevel@vger.kernel.org Return-path: To: David Howells In-Reply-To: <20060301173617.16639.83553.stgit@warthog.cambridge.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfsv4-bounces@linux-nfs.org Errors-To: nfsv4-bounces@linux-nfs.org List-Id: linux-fsdevel.vger.kernel.org David Howells 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.