public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans Holmberg <Hans.Holmberg@wdc.com>
To: Zorro Lang <zlang@kernel.org>
Cc: hch <hch@lst.de>, "tytso@mit.edu" <tytso@mit.edu>,
	"djwong@kernel.org" <djwong@kernel.org>,
	"fstests@vger.kernel.org" <fstests@vger.kernel.org>,
	"linux-xfs@vger.kernel.org" <linux-xfs@vger.kernel.org>,
	"linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>,
	Hans Holmberg <Hans.Holmberg@wdc.com>
Subject: [PATCH 0/2] Add xfs test coverage for ro external dev mounts
Date: Mon, 9 Jun 2025 11:03:53 +0000	[thread overview]
Message-ID: <20250609110307.17455-1-hans.holmberg@wdc.com> (raw)

These two patches adds test coverage for verifying that xfs file
systems with external log and rt devices marked as read only will be
mounted and remounted correctly. 

The first patch adds test coverage for xfs external rt devs.

ext4 already has a test for log devices that can be shared, so the
second patch turns that test generic.

This is an updated resend of these two patches:

https://lore.kernel.org/fstests/20250425090259.10154-2-hans.holmberg@wdc.com/
https://lore.kernel.org/fstests/20250502113415.14882-1-hans.holmberg@wdc.com/

Updates:
 - Added _fixed_by_kernel_commit(s) as suggested by Ted
 - Made sure the the new xfs test is skipped on internal rt file systems

Hans Holmberg (2):
  xfs: add mount test for read only rt devices
  ext4/002: make generic to support xfs

 tests/{ext4/002 => generic/766}         | 11 ++++-
 tests/{ext4/002.out => generic/766.out} |  2 +-
 tests/xfs/837                           | 65 +++++++++++++++++++++++++
 tests/xfs/837.out                       | 10 ++++
 4 files changed, 86 insertions(+), 2 deletions(-)
 rename tests/{ext4/002 => generic/766} (91%)
 rename tests/{ext4/002.out => generic/766.out} (98%)
 create mode 100755 tests/xfs/837
 create mode 100644 tests/xfs/837.out

-- 
2.34.1

             reply	other threads:[~2025-06-09 11:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-09 11:03 Hans Holmberg [this message]
2025-06-09 11:03 ` [PATCH 1/2] xfs: add mount test for read only rt devices Hans Holmberg
2025-06-09 16:18   ` Darrick J. Wong
2025-06-10  3:36   ` hch
2025-06-09 11:03 ` [PATCH 2/2] ext4/002: make generic to support xfs Hans Holmberg
2025-06-09 16:20   ` Darrick J. Wong
2025-06-10  3:37   ` hch

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=20250609110307.17455-1-hans.holmberg@wdc.com \
    --to=hans.holmberg@wdc.com \
    --cc=djwong@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=hch@lst.de \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=tytso@mit.edu \
    --cc=zlang@kernel.org \
    /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