linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Amir Goldstein <amir73il@gmail.com>
To: Zorro Lang <zlang@redhat.com>
Cc: Aleksa Sarai <cyphar@cyphar.com>,
	Christian Brauner <brauner@kernel.org>, Jan Kara <jack@suse.cz>,
	Chuck Lever <chuck.lever@oracle.com>,
	Jeff Layton <jlayton@kernel.org>,
	fstests@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: [PATCH v2 0/2] Tests for AT_HANDLE_CONNECTABLE
Date: Fri,  9 May 2025 19:00:31 +0200	[thread overview]
Message-ID: <20250509170033.538130-1-amir73il@gmail.com> (raw)

This is a test for new flag AT_HANDLE_CONNECTABLE from v6.13.
See man page update of this flag here [1].

This v2 fixes the failures that you observed with tmpfs and nfs.

Thanks,
Amir.

[1] https://lore.kernel.org/linux-fsdevel/20250330163502.1415011-1-amir73il@gmail.com/

Changes since v1:
- Remove unpredictable test case of open fh after move to new parent
- Add check that open fds are connected

Amir Goldstein (2):
  open_by_handle: add support for testing connectable file handles
  open_by_handle: add a test for connectable file handles

 common/rc             | 16 ++++++++--
 src/open_by_handle.c  | 53 ++++++++++++++++++++++++++------
 tests/generic/777     | 70 +++++++++++++++++++++++++++++++++++++++++++
 tests/generic/777.out |  5 ++++
 4 files changed, 132 insertions(+), 12 deletions(-)
 create mode 100755 tests/generic/777
 create mode 100644 tests/generic/777.out

-- 
2.34.1


             reply	other threads:[~2025-05-09 17:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-09 17:00 Amir Goldstein [this message]
2025-05-09 17:00 ` [PATCH v2 1/2] open_by_handle: add support for testing connectable file handles Amir Goldstein
2025-05-25 10:49   ` Zorro Lang
2025-05-09 17:00 ` [PATCH v2 2/2] open_by_handle: add a test for " Amir Goldstein
2025-05-09 17:06   ` Amir Goldstein
2025-05-23 14:20 ` [PATCH v2 0/2] Tests for AT_HANDLE_CONNECTABLE Amir Goldstein
2025-05-23 14:50   ` Zorro Lang
2025-05-23 17:11     ` Amir Goldstein
2025-05-25  5:36       ` Zorro Lang
2025-05-25  7:40         ` Amir Goldstein

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=20250509170033.538130-1-amir73il@gmail.com \
    --to=amir73il@gmail.com \
    --cc=brauner@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=cyphar@cyphar.com \
    --cc=fstests@vger.kernel.org \
    --cc=jack@suse.cz \
    --cc=jlayton@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=zlang@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).