diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-07-29 21:34:39 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-31 14:20:28 -0400 |
commit | 3c1c995cc2e49f6f7504586ad07c5d80c6aa3301 (patch) | |
tree | 213d7c9e1f18da99562a746711035d290436f91d /scripts/mkuboot.sh | |
parent | a819ecc1bbb0c795184c80afeec0e7a6ef508ef5 (diff) | |
download | op-kernel-dev-3c1c995cc2e49f6f7504586ad07c5d80c6aa3301.zip op-kernel-dev-3c1c995cc2e49f6f7504586ad07c5d80c6aa3301.tar.gz |
nfsd: optimize destroy_lockowner cl_lock thrashing
Reduce the cl_lock trashing in destroy_lockowner. Unhash all of the
lockstateids on the lockowner's list. Put the reference under the lock
and see if it was the last one. If so, then add it to a private list
to be destroyed after we drop the lock.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'scripts/mkuboot.sh')
0 files changed, 0 insertions, 0 deletions