[PATCH v15 07/12] nvme: add copy offload support
Hannes Reinecke
hare at suse.de
Thu Sep 7 23:09:40 PDT 2023
On 9/6/23 18:38, Nitesh Shetty wrote:
> Current design only supports single source range.
> We receive a request with REQ_OP_COPY_SRC.
> Parse this request which consists of src(1st) and dst(2nd) bios.
> Form a copy command (TP 4065)
>
> trace event support for nvme_copy_cmd.
> Set the device copy limits to queue limits.
>
> Signed-off-by: Kanchan Joshi <joshi.k at samsung.com>
> Signed-off-by: Nitesh Shetty <nj.shetty at samsung.com>
> Signed-off-by: Javier González <javier.gonz at samsung.com>
> Signed-off-by: Anuj Gupta <anuj20.g at samsung.com>
> ---
> drivers/nvme/host/constants.c | 1 +
> drivers/nvme/host/core.c | 79 +++++++++++++++++++++++++++++++++++
> drivers/nvme/host/trace.c | 19 +++++++++
> include/linux/blkdev.h | 1 +
> include/linux/nvme.h | 43 +++++++++++++++++--
> 5 files changed, 140 insertions(+), 3 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman
More information about the Linux-nvme
mailing list