]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Append delegations to the per-client list instead of prepending
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 4 Mar 2015 20:59:05 +0000 (15:59 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 12 Mar 2015 16:13:56 +0000 (12:13 -0400)
commit4ef763cef6112f38a8a8f5cbbf31158e89007977
tree9079ea191274f5aa236938690f3d73b49ffbf4b7
parentb1131e0b8848d66f8b604b84baeb4587f851209e
NFSv4: Append delegations to the per-client list instead of prepending

Do so on the assumption that for most use cases, that list will turn into
a more or less LRU-ordered list, and so the list traversals in
nfs_client_return_marked_delegations() are likely to be shorter before
hitting a candidate to return.

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