Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: Change the hole range to a more accurate value.
Commit 3ac0d7b fixed the btrfs expanding write problem but the hole punched is sometimes too large for some iovec, which has unmapped data ranges. This patch will change to hole range to a more accurate value using the counts checked by the write check routines. Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
- Loading branch information