Skip to content

server41tests: add some tests for copy offload

Jeff Layton linux-nfs 1 version New

Get series with b4
b4 am [email protected] change-id 20260709-copy-df33bb31e88c

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13server41tests: add helpers and basic synchronous COPY testnfs4.1/server41tests/st_copy.py+89 -10 replies
2/13server41tests: test COPY with non-zero offsetsCLAUDE.md nfs4.1/0001-server41tests-add-a-test-for-rename-within-a-dir-wit.patch nfs4.1/server41tests/st_copy.py+180 -00 replies
3/13server41tests: test async COPY with OFFLOAD_STATUS pollingnfs4.1/server41tests/st_copy.py+33 -00 replies
4/13server41tests: test OFFLOAD_STATUS persists after async copy completesnfs4.1/server41tests/st_copy.py+47 -00 replies
5/13server41tests: test OFFLOAD_CANCEL on async copynfs4.1/server41tests/st_copy.py+28 -00 replies
6/13server41tests: test COPY with bad source stateidnfs4.1/server41tests/st_copy.py+19 -00 replies
7/13server41tests: test COPY with bad destination stateidnfs4.1/server41tests/st_copy.py+15 -00 replies
8/13server41tests: test OFFLOAD_STATUS with fabricated stateidnfs4.1/server41tests/st_copy.py+13 -00 replies
9/13server41tests: test COPY within same filenfs4.1/server41tests/st_copy.py+23 -00 replies
10/13nfs4.1: fix COPY_NOTIFY args union arm name in XDRnfs4.1/xdrdef/nfs4.x+1 -10 replies
11/13server41tests: test COPY_NOTIFYnfs4.1/server41tests/st_copy.py+114 -10 replies
12/13server41tests: support a second server for inter-server copynfs4.1/server41tests/environment.py nfs4.1/testserver.py+98 -430 replies
13/13server41tests: test inter-server COPYnfs4.1/server41tests/st_copy.py+80 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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]>