All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@kernel.org>
To: Calum Mackay <calum.mackay@oracle.com>
Cc: Chuck Lever <cel@kernel.org>, NeilBrown <neil@brown.name>,
	 Olga Kornievskaia <okorniev@redhat.com>,
	Dai Ngo <Dai.Ngo@oracle.com>,  Tom Talpey <tom@talpey.com>,
	linux-nfs@vger.kernel.org,  Jeff Layton <jlayton@kernel.org>
Subject: [PATCH pynfs 00/13] server41tests: add some tests for copy offload
Date: Thu, 09 Jul 2026 15:02:28 -0400	[thread overview]
Message-ID: <20260709-copy-v1-0-849bf581d7cb@kernel.org> (raw)

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.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
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,
-- 
Jeff Layton <jlayton@kernel.org>


             reply	other threads:[~2026-07-09 19:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-09 19:02 Jeff Layton [this message]
2026-07-09 19:02 ` [PATCH pynfs 01/13] server41tests: add helpers and basic synchronous COPY test Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 02/13] server41tests: test COPY with non-zero offsets Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 03/13] server41tests: test async COPY with OFFLOAD_STATUS polling Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 04/13] server41tests: test OFFLOAD_STATUS persists after async copy completes Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 05/13] server41tests: test OFFLOAD_CANCEL on async copy Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 06/13] server41tests: test COPY with bad source stateid Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 07/13] server41tests: test COPY with bad destination stateid Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 08/13] server41tests: test OFFLOAD_STATUS with fabricated stateid Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 09/13] server41tests: test COPY within same file Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 10/13] nfs4.1: fix COPY_NOTIFY args union arm name in XDR Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 11/13] server41tests: test COPY_NOTIFY Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 12/13] server41tests: support a second server for inter-server copy Jeff Layton
2026-07-09 19:02 ` [PATCH pynfs 13/13] server41tests: test inter-server COPY Jeff Layton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260709-copy-v1-0-849bf581d7cb@kernel.org \
    --to=jlayton@kernel.org \
    --cc=Dai.Ngo@oracle.com \
    --cc=calum.mackay@oracle.com \
    --cc=cel@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neil@brown.name \
    --cc=okorniev@redhat.com \
    --cc=tom@talpey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.