diff options
author | David Howells <dhowells@redhat.com> | 2023-11-08 16:01:11 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2024-01-01 19:37:27 +0300 |
commit | 445f9b6952869586990ec3140dcd87c86d795d2e (patch) | |
tree | ae2a5365ed9a1b9d0831c0a81fa4bd877a003b97 /fs/afs/cell.c | |
parent | ca0e79a46097d54e4af46c67c852479d97af35bb (diff) | |
download | linux-445f9b6952869586990ec3140dcd87c86d795d2e.tar.xz |
afs: Defer volume record destruction to a workqueue
Defer volume record destruction to a workqueue so that afs_put_volume()
isn't going to run the destruction process in the callback workqueue whilst
the server is holding up other clients whilst waiting for us to reply to a
CB.CallBack notification RPC.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Diffstat (limited to 'fs/afs/cell.c')
-rw-r--r-- | fs/afs/cell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/cell.c b/fs/afs/cell.c index 7c0dce8eecad..55ee194e31ff 100644 --- a/fs/afs/cell.c +++ b/fs/afs/cell.c @@ -818,7 +818,7 @@ done: final_destruction: /* The root volume is pinning the cell */ - afs_put_volume(cell->net, cell->root_volume, afs_volume_trace_put_cell_root); + afs_put_volume(cell->root_volume, afs_volume_trace_put_cell_root); cell->root_volume = NULL; afs_put_cell(cell, afs_cell_trace_put_destroy); } |