linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Refactor data structures to support NFSv4 migration
@ 2010-12-23 21:54 Chuck Lever
  2010-12-23 21:54 ` [PATCH 1/4] NFS: Allow walking nfs_client.cl_superblocks list outside client.c Chuck Lever
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Chuck Lever @ 2010-12-23 21:54 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs

Trond-

Here are four patches that move fields related to NFSv4 state from the
nfs_client struct to the nfs_server struct, in order to facilitate the
eventual implementation of NFSv4 migration.

This series should address all recent review comments.  It passes my
simple tests here:  Full cthon suite passes over NFSv4 against an
OpenSolaris 2009.6 NFS server, and a full -j3 kernel build on NFSv4
completes without hangs or lockdep splats on a two-way client.  The
kernel build usually generates some delegation activity with this
Solaris server.

---

Chuck Lever (4):
      NFS: Move cl_delegations to the nfs_server struct
      NFS: Introduce nfs_detach_delegations()
      NFS: Move cl_state_owners and related fields to the nfs_server struct
      NFS: Allow walking nfs_client.cl_superblocks list outside client.c


 fs/nfs/client.c           |   48 +++---
 fs/nfs/delegation.c       |  362 ++++++++++++++++++++++++++++++++-------------
 fs/nfs/delegation.h       |    1 
 fs/nfs/nfs4_fs.h          |    2 
 fs/nfs/nfs4renewd.c       |   11 +
 fs/nfs/nfs4state.c        |  239 +++++++++++++++++++++---------
 include/linux/nfs_fs_sb.h |   11 +
 7 files changed, 474 insertions(+), 200 deletions(-)

-- 
Chuck Lever

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/4] Refactor data structures to support NFSv4 migration (2)
@ 2010-12-24  1:32 Chuck Lever
  2010-12-24  1:32 ` [PATCH 3/4] NFS: Introduce nfs_detach_delegations() Chuck Lever
  0 siblings, 1 reply; 11+ messages in thread
From: Chuck Lever @ 2010-12-24  1:32 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs

Trond-

Here are four patches that move fields related to NFSv4 state from the
nfs_client struct to the nfs_server struct.  This change facilitates
the eventual implementation of NFSv4 migration.

This series passes simple tests:  Full Cthon suite passes over NFSv4
against an OpenSolaris 2009.6 NFS server, and a full "allmodconfig"
-j3 kernel build completes on NFSv4 without hangs or lockdep splats
on a two-way client.

Since the first series:

 .  Make the new server->delegations unconditionally compiled in
 .  In fs/nfs/nfs4state.c, where possible, take cl_lock after invoking
    rcu_read_lock() instead of before invoking it

---

Chuck Lever (4):
      NFS: Move cl_delegations to the nfs_server struct
      NFS: Introduce nfs_detach_delegations()
      NFS: Move cl_state_owners and related fields to the nfs_server struct
      NFS: Allow walking nfs_client.cl_superblocks list outside client.c


 fs/nfs/client.c           |   46 +++---
 fs/nfs/delegation.c       |  362 ++++++++++++++++++++++++++++++++-------------
 fs/nfs/delegation.h       |    1 
 fs/nfs/nfs4_fs.h          |    2 
 fs/nfs/nfs4renewd.c       |   11 +
 fs/nfs/nfs4state.c        |  251 ++++++++++++++++++++++---------
 include/linux/nfs_fs_sb.h |   11 +
 7 files changed, 481 insertions(+), 203 deletions(-)

-- 
Chuck Lever

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-12-24  1:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-23 21:54 [PATCH 0/4] Refactor data structures to support NFSv4 migration Chuck Lever
2010-12-23 21:54 ` [PATCH 1/4] NFS: Allow walking nfs_client.cl_superblocks list outside client.c Chuck Lever
2010-12-23 21:54 ` [PATCH 2/4] NFS: Move cl_state_owners and related fields to the nfs_server struct Chuck Lever
2010-12-23 22:04   ` Trond Myklebust
2010-12-23 22:49     ` Chuck Lever
2010-12-23 23:27       ` Trond Myklebust
2010-12-23 21:54 ` [PATCH 3/4] NFS: Introduce nfs_detach_delegations() Chuck Lever
2010-12-23 21:54 ` [PATCH 4/4] NFS: Move cl_delegations to the nfs_server struct Chuck Lever
2010-12-23 22:09   ` Trond Myklebust
     [not found]     ` <1293142182.9718.3.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2010-12-23 22:14       ` Chuck Lever
2010-12-24  1:32 [PATCH 0/4] Refactor data structures to support NFSv4 migration (2) Chuck Lever
2010-12-24  1:32 ` [PATCH 3/4] NFS: Introduce nfs_detach_delegations() Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).