aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMiao Xie <[email protected]>2014-03-06 05:54:55 +0000
committerJosef Bacik <[email protected]>2014-03-10 19:17:22 +0000
commit8b9d83cd6bebe10e9965d2cef8053b02663eaad8 (patch)
tree40603d4f493836043693f81cf658847017998d5f /fs/btrfs/dev-replace.c
parentBtrfs: introduce btrfs_{start, end}_nocow_write() for each subvolume (diff)
downloadkernel-8b9d83cd6bebe10e9965d2cef8053b02663eaad8.tar.gz
kernel-8b9d83cd6bebe10e9965d2cef8053b02663eaad8.zip
Btrfs: fix early enospc due to the race of the two ordered extent wait
btrfs_wait_ordered_roots() moves all the list entries to a new list, and then deals with them one by one. But if the other task invokes this function at that time, it would get a empty list. It makes the enospc error happens more early. Fix it. Signed-off-by: Miao Xie <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions