1 Jun 2011 01:05
[PATCH] NFS: use scope from exchange_id to skip reclaim
>From Section 8.4.2.1 of the rfc 5661 - We can determine if a RECLAIM_REBOOT can be skipped if the "eir_server_scope" from the exchange_id proc differs from previous calls. Also, in the future server_scope will be useful for determining whether client trunking is available Signed-off-by: Weston Andros Adamson <dros@...> --- Repost - This never made it into any branch and there haven't been any comments since Benny's last concerns were addressed. Rebased to nfs-for-next. fs/nfs/client.c | 1 + fs/nfs/nfs4_fs.h | 3 +++ fs/nfs/nfs4proc.c | 32 ++++++++++++++++++++++++++++++++ fs/nfs/nfs4state.c | 9 ++++++++- fs/nfs/nfs4xdr.c | 8 +++++++- include/linux/nfs_fs_sb.h | 3 +++ include/linux/nfs_xdr.h | 1 + 7 files changed, 55 insertions(+), 2 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index b3dc2b8..006f8ff 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c <at> <at> -293,6 +293,7 <at> <at> static void nfs_free_client(struct nfs_client *clp) nfs4_deviceid_purge_client(clp); kfree(clp->cl_hostname);(Continue reading)
RSS Feed