diff options
author | 2014-07-29 21:34:39 -0400 | |
---|---|---|
committer | 2014-07-31 14:20:28 -0400 | |
commit | 3c1c995cc2e49f6f7504586ad07c5d80c6aa3301 (patch) | |
tree | 213d7c9e1f18da99562a746711035d290436f91d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nfsd: add locking to stateowner release (diff) | |
download | linux-dev-3c1c995cc2e49f6f7504586ad07c5d80c6aa3301.tar.xz linux-dev-3c1c995cc2e49f6f7504586ad07c5d80c6aa3301.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions