mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-25 15:42:23 +00:00
005d2cc047
[BUG] During my test runs of mkfs-tests, 005-long-device-name-for-ssd failed with the following error messages: ====== RUN CHECK dmsetup remove btrfs-test-with-very-long-name-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQPGc device-mapper: remove ioctl on btrfs-test-with-very-long-name-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQPGc failed: Device or resource busy Command failed. failed: dmsetup remove btrfs-test-with-very-long-name-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQPGc test failed for case 005-long-device-name-for-ssd [CAUSE] There seems to be a race between "btrfs inspect dump-super" and the dmsetup removal. [FIX] Add a "udevadm settle" before removing the dm devices. Also since we're here, use the same "udevadm settle" instead of the manual sleep to wait for the new dm device to show up. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
001-basic-profiles | ||
002-no-force-mixed-on-small-volume | ||
003-mixed-with-wrong-nodesize | ||
004-rootdir-keeps-size | ||
005-long-device-name-for-ssd | ||
006-partitioned-loopdev | ||
007-mix-nodesize-sectorsize | ||
008-sectorsize-nodesize-combination | ||
009-special-files-for-rootdir | ||
010-minimal-size | ||
011-rootdir-create-file | ||
012-rootdir-no-shrink | ||
013-reserved-1M-for-single | ||
014-rootdir-inline-extent | ||
015-fstree-uuid-otime | ||
016-rootdir-bad-symbolic-link | ||
017-small-backing-size-thin-provision-device | ||
018-multidevice-overflow | ||
019-basic-checksums-mkfs | ||
020-basic-checksums-mount | ||
021-rfeatures-quota-rootdir | ||
022-rootdir-size | ||
023-free-space-tree | ||
024-fst-bitmaps | ||
025-zoned-parallel | ||
026-extent-tree-to-bgt |