diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2024-10-31 16:40:06 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-11-19 04:23:10 +0300 |
commit | b44ffa4c4f57ffe8a0967963538689fed169f1c8 (patch) | |
tree | 8a38775cc5106e61c5c81f8468d336f7518abcdd /rust/helpers/helpers.c | |
parent | 5c41f321470a5400641d3a271014ddd9b9868373 (diff) | |
download | linux-b44ffa4c4f57ffe8a0967963538689fed169f1c8.tar.xz |
NFSD: Block DESTROY_CLIENTID only when there are ongoing async COPY operations
Currently __destroy_client() consults the nfs4_client's async_copies
list to determine whether there are ongoing async COPY operations.
However, NFSD now keeps copy state in that list even when the
async copy has completed, to enable OFFLOAD_STATUS to find the
COPY results for a while after the COPY has completed.
DESTROY_CLIENTID should not be blocked if the client's async_copies
list contains state for only completed copy operations.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions