diff options
author | 2024-04-01 16:05:39 -0400 | |
---|---|---|
committer | 2024-05-06 09:07:16 -0400 | |
commit | 38f080f3cd19fbd87eb7f6c4f6c236c1c9df6fba (patch) | |
tree | cf5456b44e28ebb914582184cc81492d700e6293 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | nfsd: drop st_mutex before calling move_to_close_lru() (diff) | |
download | wireguard-linux-38f080f3cd19fbd87eb7f6c4f6c236c1c9df6fba.tar.xz wireguard-linux-38f080f3cd19fbd87eb7f6c4f6c236c1c9df6fba.zip |
NFSD: Move callback_wq into struct nfs4_client
Commit 883820366747 ("nfsd: update workqueue creation") made the
callback_wq single-threaded, presumably to protect modifications of
cl_cb_client. See documenting comment for nfsd4_process_cb_update().
However, cl_cb_client is per-lease. There's no other reason that all
callback operations need to be dispatched via a single thread. The
single threading here means all client callbacks can be blocked by a
problem with one client.
Change the NFSv4 callback client so it serializes per-lease instead
of serializing all NFSv4 callback operations on the server.
Reported-by: Dai Ngo <dai.ngo@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions