This has seen some light testing. Changes since version 1: o Inclusion of additional nfs4_find_state_owners_locked() clean up o Follow Bruce's suggestion to set ->destroy in common setup function o Use time_in_range() instead of time_before() to check for expiry o Discard state owners immediately in certain cases --- Chuck Lever (2): NFS: Cache state owners after files are closed NFS: Clean up nfs4_find_state_owners_locked() fs/nfs/client.c | 8 ++++ fs/nfs/nfs4_fs.h | 3 + fs/nfs/nfs4state.c | 102 ++++++++++++++++++++++++++++++++++++--------- include/linux/nfs_fs_sb.h | 1 4 files changed, 94 insertions(+), 20 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