diff options
author | Chuck Lever <[email protected]> | 2024-04-01 16:05:39 -0400 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2024-05-06 09:07:16 -0400 |
commit | 38f080f3cd19fbd87eb7f6c4f6c236c1c9df6fba (patch) | |
tree | cf5456b44e28ebb914582184cc81492d700e6293 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 56c35f43eef013579c76c007ba1f386d8c2cac14 (diff) |
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 <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions