summaryrefslogtreecommitdiff
path: root/transaction.c
diff options
context:
space:
mode:
authorMisono, Tomohiro <misono.tomohiro@jp.fujitsu.com>2017-10-03 15:47:26 +0900
committerDavid Sterba <dsterba@suse.com>2017-10-06 13:41:34 +0200
commitfa5b3a7fe246ff5e3291a9fbd200eaf35104254b (patch)
tree1cb45625475b4a75dd7e9b24b1148235d0f360fb /transaction.c
parent0fc8e78088216c76c262b1ea723d7136ec191869 (diff)
btrfs-progs: misc-test: use raid1 for data to enable mount with -o degraded
kernel 4.14 introduces new function for checking if all chunks is ok for mount with -o degraded option. commit 21634a19f646 ("btrfs: Introduce a function to check if all chunks a OK for degraded rw mount") As a result, raid0 profile cannot be mounted with -o degraded on 4.14. This causes failure of the misc-test 011 "delete missing device". Fix this by using raid1 profile for both data and metadata. This also should work for kernel before 4.13. Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'transaction.c')
0 files changed, 0 insertions, 0 deletions