]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: make sure the delalloc workers actually flush compressed writes
authorJosef Bacik <jbacik@fusionio.com>
Mon, 28 Oct 2013 19:03:41 +0000 (15:03 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:08:22 +0000 (22:08 -0500)
commitf6418358c1e0b7adb4e0def40e56f7052ffb33aa
tree4adebd01673babcff82aa9c99ced49d9b0a709ca
parent314b5fdd9d694b4dd26616a3cc83e3f66f30633d
Btrfs: make sure the delalloc workers actually flush compressed writes

When using delalloc workers in a non-waiting way (like for enospc handling) we
can end up not actually waiting for the dirty pages to be started if we have
compression.  We need to add an extra filemap flush to make sure any async
extents that have started are actually moved along before returning.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/inode.c