mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-01 22:48:06 +00:00
btrfs-progs: tests: use --force for --init-csum-tree in 003-multi-check-unmounted
003-multi-check-unmounted was taking a long time, this is because it was doing the 10 second countdown for each iteration of --init-csum-tree. Fix this by using --force to bypass the countdown. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
65dde617b1
commit
c91d5bf144
@ -14,7 +14,7 @@ check_image() {
|
||||
|
||||
image=$1
|
||||
run_mayfail $TOP/btrfs check -s 1 "$image"
|
||||
run_mayfail $TOP/btrfs check --init-csum-tree "$image"
|
||||
run_mayfail $TOP/btrfs check --force --init-csum-tree "$image"
|
||||
run_mayfail $TOP/btrfs check --repair --force --init-extent-tree "$image"
|
||||
run_mayfail $TOP/btrfs check --repair --force --check-data-csum "$image"
|
||||
run_mayfail $TOP/btrfs check --subvol-extents "$image"
|
||||
|
Loading…
Reference in New Issue
Block a user