Re: [PATCH 3/6] block: Introduce copy offload library function

2014-06-02 Thread Nicholas A. Bellinger
On Wed, 2014-05-28 at 23:52 -0400, Martin K. Petersen wrote: blkdev_issue_copy() is a library function that filesystems can use to clone block ranges between devices that support copy offloading. Both source and target device must have max_copy_sectors 0 in the queue limits.

[PATCH 3/6] block: Introduce copy offload library function

2014-05-28 Thread Martin K. Petersen
blkdev_issue_copy() is a library function that filesystems can use to clone block ranges between devices that support copy offloading. Both source and target device must have max_copy_sectors 0 in the queue limits. blkdev_issue_copy() will iterate over the blocks in the source range and issue