aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorHidetoshi Seto <[email protected]>2014-02-05 07:34:38 +0000
committerJosef Bacik <[email protected]>2014-03-10 19:15:53 +0000
commitf88ba6a2a44ee98e8d59654463dc157bb6d13c43 (patch)
treeacaa54b48346b05a918041ddfd500417123b2cc5 /fs/btrfs/async-thread.c
parentBtrfs: unlock extent and pages on error in cow_file_range (diff)
downloadkernel-f88ba6a2a44ee98e8d59654463dc157bb6d13c43.tar.gz
kernel-f88ba6a2a44ee98e8d59654463dc157bb6d13c43.zip
Btrfs: skip submitting barrier for missing device
I got an error on v3.13: BTRFS error (device sdf1) in write_all_supers:3378: errno=-5 IO failure (errors while submitting device barriers.) how to reproduce: > mkfs.btrfs -f -d raid1 /dev/sdf1 /dev/sdf2 > wipefs -a /dev/sdf2 > mount -o degraded /dev/sdf1 /mnt > btrfs balance start -f -sconvert=single -mconvert=single -dconvert=single /mnt The reason of the error is that barrier_all_devices() failed to submit barrier to the missing device. However it is clear that we cannot do anything on missing device, and also it is not necessary to care chunks on the missing device. This patch stops sending/waiting barrier if device is missing. Signed-off-by: Hidetoshi Seto <[email protected]> Cc: <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions