All of lore.kernel.org
 help / color / mirror / Atom feed
* xfstests seems broken on btrfs with multi-dev TEST_DEV
@ 2021-02-24 16:12 Eric Sandeen
  2021-02-24 21:39 ` Eric Sandeen
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Sandeen @ 2021-02-24 16:12 UTC (permalink / raw)
  To: linux-btrfs; +Cc: linux-fsdevel

Last week I was curious to just see how btrfs is faring with RAID5 in
xfstests, so I set it up for a quick run with devices configured as:

TEST_DEV=/dev/sdb1 # <--- this was a 3-disk "-d raid5" filesystem
SCRATCH_DEV_POOL="/dev/sdb2 /dev/sdb3 /dev/sdb4 /dev/sdb5 /dev/sdb6"

and fired off ./check -g auto

Every test after btrfs/124 fails, because that test btrfs/124 does this:

# un-scan the btrfs devices
_btrfs_forget_or_module_reload

and nothing re-scans devices after that, so every attempt to mount TEST_DEV
will fail:

> devid 2 uuid e42cd5b8-2de6-4c85-ae51-74b61172051e is missing"

Other btrfs tests seeme to have the same problem.

If xfstest coverage on multi-device btrfs volumes is desired, it might be
a good idea for someone who understands the btrfs framework in xfstests
to fix this.

Thanks,
-Eric

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

end of thread, other threads:[~2021-02-26  3:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 16:12 xfstests seems broken on btrfs with multi-dev TEST_DEV Eric Sandeen
2021-02-24 21:39 ` Eric Sandeen
2021-02-25  1:16   ` Anand Jain
2021-02-25  1:46     ` Eric Sandeen
2021-02-25  1:56       ` Qu Wenruo
2021-02-25  2:45         ` Eric Sandeen
2021-02-25  3:13           ` Qu Wenruo
2021-02-25  3:15             ` Eric Sandeen
2021-02-25  3:18               ` Qu Wenruo
2021-02-26  3:10                 ` Anand Jain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.