summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2015-03-13 20:12:23 +0100
committerChris Mason <clm@fb.com>2015-03-13 21:46:59 +0100
commit6a41dd0922e3c63e677c2d8f7906ce6a3e097af1 (patch)
tree80d324d61437f08db1e4c67d3255c6eb96965792 /fs/btrfs/transaction.c
parentBtrfs: fix merge delalloc logic (diff)
downloadlinux-6a41dd0922e3c63e677c2d8f7906ce6a3e097af1.tar.xz
linux-6a41dd0922e3c63e677c2d8f7906ce6a3e097af1.zip
Btrfs: account for the correct number of extents for delalloc reservations
Direct IO can easily pass in an buffer that is greater than BTRFS_MAX_EXTENT_SIZE, so take this into account when reserving extents in the delalloc reservation code. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
0 files changed, 0 insertions, 0 deletions