Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: don't split NOCOW extent_maps in btrfs_extract_ordered_extent
NOCOW writes just overwrite an existing extent map, which thus should not be split in btrfs_extract_ordered_extent. The NOCOW case can't currently happen as btrfs_extract_ordered_extent is only used on zoned devices that do not support NOCOW writes, but this will change soon. Reviewed-by: Josef Bacik <[email protected]> Tested-by: Johannes Thumshirn <[email protected]> Signed-off-by: Boris Burkov <[email protected]> [ hch: split from a larger patch, wrote a commit log ] Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: David Sterba <[email protected]>
- Loading branch information