diff options
| author | 2014-03-06 13:54:55 +0800 | |
|---|---|---|
| committer | 2014-03-10 15:17:22 -0400 | |
| commit | 8b9d83cd6bebe10e9965d2cef8053b02663eaad8 (patch) | |
| tree | 40603d4f493836043693f81cf658847017998d5f /fs/btrfs/async-thread.h | |
| parent | Btrfs: introduce btrfs_{start, end}_nocow_write() for each subvolume (diff) | |
| download | linux-dev-8b9d83cd6bebe10e9965d2cef8053b02663eaad8.tar.xz linux-dev-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 <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'fs/btrfs/async-thread.h')
0 files changed, 0 insertions, 0 deletions
