NFS: use scope from exchange_id to skip reclaim
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@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
committed by
Trond Myklebust
parent
7e574f0d39
commit
78fe0f41d9
@@ -1643,7 +1643,14 @@ static void nfs4_state_manager(struct nfs_client *clp)
|
||||
goto out_error;
|
||||
}
|
||||
clear_bit(NFS4CLNT_CHECK_LEASE, &clp->cl_state);
|
||||
set_bit(NFS4CLNT_RECLAIM_REBOOT, &clp->cl_state);
|
||||
|
||||
if (test_and_clear_bit(NFS4CLNT_SERVER_SCOPE_MISMATCH,
|
||||
&clp->cl_state))
|
||||
nfs4_state_start_reclaim_nograce(clp);
|
||||
else
|
||||
set_bit(NFS4CLNT_RECLAIM_REBOOT,
|
||||
&clp->cl_state);
|
||||
|
||||
pnfs_destroy_all_layouts(clp);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user