aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-05-07 10:19:24 +0300
committerDavid Sterba <dsterba@suse.com>2019-07-01 13:34:59 +0200
commitbd80d94efb83acd67d48f9f3f07483c8306085aa (patch)
tree5776fa204d2772616ca1f0fd083334314fe79a86 /fs/btrfs/volumes.h
parentbtrfs: Use newly introduced btrfs_lock_and_flush_ordered_range (diff)
downloadlinux-dev-bd80d94efb83acd67d48f9f3f07483c8306085aa.tar.xz
linux-dev-bd80d94efb83acd67d48f9f3f07483c8306085aa.zip
btrfs: Always use a cached extent_state in btrfs_lock_and_flush_ordered_range
In case no cached_state argument is passed to btrfs_lock_and_flush_ordered_range use one locally in the function. This optimises the case when an ordered extent is found since the unlock function will be able to unlock that state directly without searching for it again. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions