Btrfs: add helper btrfs_fdatawrite_range
authorFilipe Manana <fdmanana@suse.com>
Fri, 10 Oct 2014 08:43:11 +0000 (09:43 +0100)
committerChris Mason <clm@fb.com>
Fri, 21 Nov 2014 01:14:28 +0000 (17:14 -0800)
commit728404dacfddb5364d7256d821a2ea482159cbe7
treeadb45931cbe6104ad888f4cc2d43aa0951f8b8d0
parent075bdbdbe9f21d68950ba5b187f80a4a23105365
Btrfs: add helper btrfs_fdatawrite_range

To avoid duplicating this double filemap_fdatawrite_range() call for
inodes with async extents (compressed writes) so often.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ordered-data.c