server41tests: add some tests for copy offload
Get series with b4
b4 am [email protected] change-id 20260709-copy-df33bb31e88cVersions newest first
- v1 Latest13 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | server41tests: add helpers and basic synchronous COPY testnfs4.1/ | +89 | 0 replies | |
| 2/13 | server41tests: test COPY with non-zero offsetsCLAUDE.md nfs4.1/ nfs4.1/ | +180 | 0 replies | |
| 3/13 | server41tests: test async COPY with OFFLOAD_STATUS pollingnfs4.1/ | +33 | 0 replies | |
| 4/13 | server41tests: test OFFLOAD_STATUS persists after async copy completesnfs4.1/ | +47 | 0 replies | |
| 5/13 | server41tests: test OFFLOAD_CANCEL on async copynfs4.1/ | +28 | 0 replies | |
| 6/13 | server41tests: test COPY with bad source stateidnfs4.1/ | +19 | 0 replies | |
| 7/13 | server41tests: test COPY with bad destination stateidnfs4.1/ | +15 | 0 replies | |
| 8/13 | server41tests: test OFFLOAD_STATUS with fabricated stateidnfs4.1/ | +13 | 0 replies | |
| 9/13 | server41tests: test COPY within same filenfs4.1/ | +23 | 0 replies | |
| 10/13 | nfs4.1: fix COPY_NOTIFY args union arm name in XDRnfs4.1/ | +1 | 0 replies | |
| 11/13 | server41tests: test COPY_NOTIFYnfs4.1/ | +114 | 0 replies | |
| 12/13 | server41tests: support a second server for inter-server copynfs4.1/ nfs4.1/ | +98 | 0 replies | |
| 13/13 | server41tests: test inter-server COPYnfs4.1/ | +80 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH pynfs 00/13] server41tests: add some tests for copy offload
This patchset adds a number of tests for copy offload. Most of them are normal single-server testcases, but the last one adds a test of an actual server-to-server copy from one server to another. This requires a new command-line option for specifying the source server. When omitted, the test is skipped.
This is based on top of my dir delegation pynfs tests, but I don't think they touch much of the same code.
---
Jeff Layton (13):
server41tests: add helpers and basic synchronous COPY test
server41tests: test COPY with non-zero offsets
server41tests: test async COPY with OFFLOAD_STATUS polling
server41tests: test OFFLOAD_STATUS persists after async copy completes
server41tests: test OFFLOAD_CANCEL on async copy
server41tests: test COPY with bad source stateid
server41tests: test COPY with bad destination stateid
server41tests: test OFFLOAD_STATUS with fabricated stateid
server41tests: test COPY within same file
nfs4.1: fix COPY_NOTIFY args union arm name in XDR
server41tests: test COPY_NOTIFY
server41tests: support a second server for inter-server copy
server41tests: test inter-server COPY
CLAUDE.md | 100 +++++ ...ts-add-a-test-for-rename-within-a-dir-wit.patch | 55 +++ nfs4.1/server41tests/environment.py | 127 ++++-- nfs4.1/server41tests/st_copy.py | 488 ++++++++++++++++++++- nfs4.1/testserver.py | 14 + nfs4.1/xdrdef/nfs4.x | 2 +- 6 files changed, 740 insertions(+), 46 deletions(-)
---
base-commit: 95d7055e00ab861fb16f750d244dacc57a30ca19
change-id: 20260709-copy-df33bb31e88c
Best regards,
Signature · 1 line
Jeff Layton <[email protected]>