]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Avoid thundering herd issues with nfs_release_seqid
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 20 Jan 2012 23:47:05 +0000 (18:47 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:21 +0000 (19:28 -0500)
commit30ee3cd8d12a451893b918f6846e714f15d2737a
treefc415ca673c8b4ced88941e0a11fb933da793c66
parente399c3c8ad6af308629ab86aee5084031922f63d
NFSv4: Avoid thundering herd issues with nfs_release_seqid

Store a pointer to the rpc_task in struct nfs_seqid so that we can wake up
only that request that is able to grab the lock after we've released it.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4state.c