]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitec3ca4e57e00d52ff724b0ae49f4489667a9c311
treeaca67b7855c6b2613aec681d1cfbacdd5247569d
parent9f0f8e12c48e4bb89192a0de876c77dc1fbfaa75
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