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)
commit4601df20fb3bf2b87e248abc622b8a7e4c3059fb
treefc415ca673c8b4ced88941e0a11fb933da793c66
parent82b0a4c3c171b180629696e8d1d5f52516f711e6
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