Btrfs: collect only the necessary ordered extents on ranged fsync
authorFilipe Manana <fdmanana@suse.com>
Thu, 13 Nov 2014 17:00:35 +0000 (17:00 +0000)
committerChris Mason <clm@fb.com>
Fri, 21 Nov 2014 19:59:56 +0000 (11:59 -0800)
Instead of collecting all ordered extents from the inode's ordered tree
and then wait for all of them to complete, just collect the ones that
overlap the fsync range.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>

No differences found