linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add read-only logdev/rtdev mount-remount tests
@ 2025-04-25  9:03 Hans Holmberg
  2025-04-25  9:03 ` [PATCH 1/2] xfs: add mount test for read only rt devices Hans Holmberg
  2025-04-25  9:03 ` [PATCH 2/2] xfs: add mount test for read only log devices Hans Holmberg
  0 siblings, 2 replies; 19+ messages in thread
From: Hans Holmberg @ 2025-04-25  9:03 UTC (permalink / raw)
  To: fstests@vger.kernel.org
  Cc: zlang@kernel.org, linux-xfs@vger.kernel.org, Carlos Maiolino,
	djwong@kernel.org, david@fromorbit.com, hch, Hans Holmberg

These two tests checks different mount scenarios when logdev/rtdevs
are marked up up as read-only.

Currently these fail (mount fails if rtdevs/logdevs are ro), but
I've submitted a patch to adress this:

https://marc.info/?l=linux-xfs&m=174557094404857&w=2

Hans Holmberg (2):
  xfs: add mount test for read only rt devices
  xfs: add mount test for read only log devices

 tests/xfs/837     | 55 +++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/837.out | 10 +++++++++
 tests/xfs/838     | 55 +++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/838.out | 10 +++++++++
 4 files changed, 130 insertions(+)
 create mode 100755 tests/xfs/837
 create mode 100644 tests/xfs/837.out
 create mode 100755 tests/xfs/838
 create mode 100644 tests/xfs/838.out

-- 
2.34.1

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [PATCH 0/2] Add xfs test coverage for ro external dev mounts
@ 2025-06-09 11:03 Hans Holmberg
  2025-06-09 11:03 ` [PATCH 1/2] xfs: add mount test for read only rt devices Hans Holmberg
  0 siblings, 1 reply; 19+ messages in thread
From: Hans Holmberg @ 2025-06-09 11:03 UTC (permalink / raw)
  To: Zorro Lang
  Cc: hch, tytso@mit.edu, djwong@kernel.org, fstests@vger.kernel.org,
	linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org,
	Hans Holmberg

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-06-10  3:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25  9:03 [PATCH 0/2] add read-only logdev/rtdev mount-remount tests Hans Holmberg
2025-04-25  9:03 ` [PATCH 1/2] xfs: add mount test for read only rt devices Hans Holmberg
2025-04-25 15:03   ` Darrick J. Wong
2025-04-29 12:03     ` Hans Holmberg
2025-04-29 14:52       ` Darrick J. Wong
2025-04-30 12:56         ` hch
2025-04-30 14:49           ` Darrick J. Wong
2025-05-07  8:57             ` Hans Holmberg
2025-05-07 10:23               ` Hans Holmberg
2025-04-25  9:03 ` [PATCH 2/2] xfs: add mount test for read only log devices Hans Holmberg
2025-04-25 15:05   ` Darrick J. Wong
2025-04-28 12:16     ` Hans Holmberg
2025-04-28 15:58       ` Darrick J. Wong
2025-04-30  8:26         ` Hans Holmberg
2025-04-30 14:52           ` Darrick J. Wong
2025-05-02 11:40             ` Hans Holmberg
  -- strict thread matches above, loose matches on Subject: below --
2025-06-09 11:03 [PATCH 0/2] Add xfs test coverage for ro external dev mounts Hans Holmberg
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

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).