Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Btrfs: account for the correct number of extents for delalloc reserva…
…tions 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>
- Loading branch information