On Wed, Feb 22, 2023 at 08:58:28AM +0900, Minwoo Im wrote:
> > +/*
> > + * @bdev_in: source block device
> > + * @pos_in:source offset
> > + * @bdev_out: destination block device
> > + * @pos_out: destination offset
>
> @len is missing here.
>
acked
> > + * @end_io:
> +/*
> + * @bdev_in: source block device
> + * @pos_in: source offset
> + * @bdev_out:destination block device
> + * @pos_out: destination offset
@len is missing here.
> + * @end_io: end_io function to be called on completion of copy operation,
> + * for synchronous operation
Introduce blkdev_issue_copy which takes similar arguments as
copy_file_range and performs copy offload between two bdevs.
Introduce REQ_COPY copy offload operation flag. Create a read-write
bio pair with a token as payload and submitted to the device in order.
Read request populates token with sour