]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd4: add a separate (lockowner, inode) lookup
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 7 Nov 2011 22:40:10 +0000 (17:40 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 16 Nov 2011 00:26:08 +0000 (19:26 -0500)
commit009673b439cf74d70a486fca0177e274febd81a7
tree24c5e96d30a498abc4122e7dc10d98eb338c6a91
parent353de31b86850309b205a3d4cc1294052471b14d
nfsd4: add a separate (lockowner, inode) lookup

Address the possible performance regression mentioned in "nfsd4: hash
lockowners to simplify RELEASE_LOCKOWNER" by providing a separate
(lockowner, inode) hash.

Really, I doubt this matters much, but I think it's likely we'll change
these data structures here and I'd rather that the need for (owner,
inode) lookups be well-documented.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h