[PATCH 0/4] Refactor data structures to support NFSv4 migration (2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux