]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Ensure we skip delegations that are already being returned
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 26 Feb 2015 19:05:05 +0000 (14:05 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 2 Mar 2015 23:09:15 +0000 (18:09 -0500)
commit8bc6312c9c958474b8f17838d3b9662b75b75d26
treeaca67b7855c6b2613aec681d1cfbacdd5247569d
parenta1b7b54c34a70fb9b0125a6321fe6c8a0013babb
NFSv4: Ensure we skip delegations that are already being returned

In nfs_client_return_marked_delegations() and nfs_delegation_reap_unclaimed()
we want to optimise the loop traversal by skipping delegations that are
already in the process of being returned.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/delegation.c