Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs, block: copy_file_range for def_blk_ops for direct block device
For direct block device opened with O_DIRECT, use blkdev_copy_offload to issue device copy offload, or use splice_copy_file_range in case device copy offload capability is absent or the device files are not open with O_DIRECT. Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Anuj Gupta <[email protected]> Signed-off-by: Nitesh Shetty <[email protected]>
- Loading branch information