diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-06-20 20:31:27 +0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-07-02 19:50:43 +0400 |
commit | 925a6efb8ff0c2bdbec107ed9890e62650c83306 (patch) | |
tree | cadcb04cee025be381ea986a864c9a15597980ff /fs/btrfs/extent_io.h | |
parent | b150a4f10d8786a204db1ae3dccada17f950cf54 (diff) | |
download | linux-925a6efb8ff0c2bdbec107ed9890e62650c83306.tar.xz |
Btrfs: stop using try_to_writeback_inodes_sb_nr to flush delalloc
try_to_writeback_inodes_sb_nr returns 1 if writeback is already underway, which
is completely fraking useless for us as we need to make sure pages are actually
written before we go and check if there are ordered extents. So replace this
with an open coding of try_to_writeback_inodes_sb_nr minus the writeback
underway check so that we are sure to actually have flushed some dirty pages out
and will have ordered extents to use. With this patch xfstests generic/273 now
passes. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
0 files changed, 0 insertions, 0 deletions