]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
fstests: always use fail-at-unmount semantics for XFS
authorDave Chinner <dchinner@redhat.com>
Wed, 27 Nov 2024 00:04:14 +0000 (11:04 +1100)
committerZorro Lang <zlang@kernel.org>
Sun, 8 Dec 2024 14:18:43 +0000 (22:18 +0800)
commit1a49022fab9b4d5b57fcc041afbf7e4189948121
tree9190966be3aae9e1f8368d90ddef94354dd89ad1
parentc5ea106604d50958f6e67d69d0e1bfb4da41d353
fstests: always use fail-at-unmount semantics for XFS

Rather than require every test that tests unmount in failure
conditions have to set up fail-at-unmount semantics for the
underlying filesystem, use these semantics for all test and scratch
device mounts.

This currently only affects XFS filesystems, and helps prevent
unexpected unmount hangs in EIO tests because metadata writes are
configured to try forever by default.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Zorro lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc