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@xxxxxxx/ https://lore.kernel.org/fstests/20250502113415.14882-1-hans.holmberg@xxxxxxx/ 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