From: J. Bruce Fields Date: Mon, 7 Nov 2011 21:58:18 +0000 (-0500) Subject: nfsd4: hash lockowners to simplify RELEASE_LOCKOWNER X-Git-Tag: v3.3-rc1~67^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06f1f864d4ae5804e83785308d41f14a08e4b980;p=pandora-kernel.git nfsd4: hash lockowners to simplify RELEASE_LOCKOWNER Hash lockowners on just the owner string rather than on (owner, inode). This makes the owner-string lookup needed for RELEASE_LOCKOWNER simpler (currently it's doing at a linear search through the entire hash table!). That may come at the expense of making (owner, inode) lookups more expensive if a client reuses the same lockowner across multiple files. We might add a separate lookup for that. Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed