aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2019-04-22 12:34:24 -0400
committerJ. Bruce Fields <[email protected]>2019-04-22 15:38:41 -0400
commitf456458e4d25a8962d0946891617c76cc3ff5fb9 (patch)
treebac517015f1d270e1becc4e53da7a881d205684b /tools/perf/scripts/python/exported-sql-viewer.py
parent6aaafc43a4ecc5bc8a3f6a2811d5eddc996a97f3 (diff)
nfsd: wake blocked file lock waiters before sending callback
When a blocked NFS lock is "awoken" we send a callback to the server and then wake any hosts waiting on it. If a client attempts to get a lock and then drops off the net, we could end up waiting for a long time until we end up waking locks blocked on that request. So, wake any other waiting lock requests before sending the callback. Do this by calling locks_delete_block in a new "prepare" phase for CB_NOTIFY_LOCK callbacks. URL: https://bugzilla.kernel.org/show_bug.cgi?id=203363 Fixes: 16306a61d3b7 ("fs/locks: always delete_block after waiting.") Reported-by: Slawomir Pryczek <[email protected]> Cc: Neil Brown <[email protected]> Cc: [email protected] Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions