commit | 6a41dd0922e3c63e677c2d8f7906ce6a3e097af1 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Fri Mar 13 15:12:23 2015 -0400 |
committer | Chris Mason <clm@fb.com> | Fri Mar 13 13:46:59 2015 -0700 |
tree | 80d324d61437f08db1e4c67d3255c6eb96965792 | |
parent | 8461a3de770477a9a7b8eeaebcc4804dbc26ca38 [diff] |
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>