async COPY fixes for NFSD
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest8 patches 9 repliesIn review
- v1 RFC9 patches 9 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | NFSD: Add a tracepoint to record canceled async COPY operationsfs/ fs/ | +11 | 0 replies | |
| 2/8 | NFSD: Fix nfsd4_shutdown_copy()fs/ | +3 | 2 replies | |
| 3/8 | NFSD: Free async copy information in nfsd4_cb_offload_release()fs/ fs/ | +13 | 0 replies | |
| 4/8 | NFSD: Handle an NFS4ERR_DELAY response to CB_OFFLOADfs/ fs/ | +9 | 2 replies | |
| 5/8 | NFSD: Block DESTROY_CLIENTID only when there are ongoing async COPY operationsfs/ fs/ fs/ | +32 | 0 replies | |
| 6/8 | NFSD: Add a laundromat reaper for async copy statefs/ fs/ fs/ +1 more | +37 | 0 replies | |
| 7/8 | NFSD: Add nfsd4_copy time-to-livefs/ fs/ fs/ | +21 | 0 replies | |
| 8/8 | NFSD: Send CB_OFFLOAD on graceful shutdownfs/ | +5 | 4 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jeff Layton |
|---|---|
| Series | R-b |
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/8] async COPY fixes for NFSD
From: Chuck Lever <[email protected]>
Extend the life of async COPY state IDs so that clients get actionable OFFLOAD_STATUS results after COPY operations complete. This lifetime extension comports with RFC 7862, although does not bring NFSD fully into compliance.
There are a number of other small fixes to improve observability, behavior during temporary resource shortages, and behavior during client shutdown.
Async COPY remains disabled in NFSD until the Linux client has grown support for OFFLOAD_STATUS. Patches for that are available in the "fix-async-copy" branch of:
https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git
Changes since previous versions:
- Loads of testing, improvements, and re-organization
Chuck Lever (8):
NFSD: Add a tracepoint to record canceled async COPY operations
NFSD: Fix nfsd4_shutdown_copy()
NFSD: Free async copy information in nfsd4_cb_offload_release()
NFSD: Handle an NFS4ERR_DELAY response to CB_OFFLOAD
NFSD: Block DESTROY_CLIENTID only when there are ongoing async COPY
operations
NFSD: Add a laundromat reaper for async copy state
NFSD: Add nfsd4_copy time-to-live
NFSD: Send CB_OFFLOAD on graceful shutdown
fs/nfsd/nfs4proc.c | 101 ++++++++++++++++++++++++++++++++++++++++---- fs/nfsd/nfs4state.c | 3 +- fs/nfsd/state.h | 17 ++++++++ fs/nfsd/trace.h | 11 ++++- fs/nfsd/xdr4.h | 6 +++ 5 files changed, 128 insertions(+), 10 deletions(-)
Signature · 1 line
2.47.0