The main change w.r.t. the first iteration of these patches is that we no longer trust the NFS_DELEGATED_STATE flag to tell us when we need to test and/or discard the delegation. Instead, we just assume that if we have a delegation then it is part of the recovery process. Trond Myklebust (5): NFSv4: Ensure that we remove NFSv4.0 delegations when state has expired NFSv4.1: nfs41_clear_delegation_stateid shouldn't trust NFS_DELEGATED_STATE NFSv4: Fix races between nfs_remove_bad_delegation() and delegation return NFSv4: Ensure that we call FREE_STATEID when NFSv4.x stateids are revoked NFS: Don't try to reclaim delegation open state if recovery failed fs/nfs/delegation.c | 25 ++++++++++++-- fs/nfs/delegation.h | 1 + fs/nfs/filelayout/filelayout.c | 3 -- fs/nfs/nfs4proc.c | 76 +++++++++++++++++++++++------------------- 4 files changed, 65 insertions(+), 40 deletions(-) -- 1.9.3 -- 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