Re: [RFC PATCH 2/2] nvme: add simple copy support

2020-12-02 Thread Selva Jove
On Tue, Dec 1, 2020 at 8:46 PM Keith Busch wrote: > > On Tue, Dec 01, 2020 at 11:09:49AM +0530, SelvaKumar S wrote: > > +static void nvme_config_copy(struct gendisk *disk, struct nvme_ns *ns, > > +struct nvme_id_ns *id) > > +{ > > + struct nvme_ctrl *ctrl =

Re: [RFC PATCH 2/2] nvme: add simple copy support

2020-12-01 Thread Keith Busch
On Tue, Dec 01, 2020 at 11:09:49AM +0530, SelvaKumar S wrote: > +static void nvme_config_copy(struct gendisk *disk, struct nvme_ns *ns, > +struct nvme_id_ns *id) > +{ > + struct nvme_ctrl *ctrl = ns->ctrl; > + struct request_queue *queue = disk->queue; >

[RFC PATCH 2/2] nvme: add simple copy support

2020-11-30 Thread SelvaKumar S
Add support for TP 4065a ("Simple Copy Command"), v2020.05.04 ("Ratified") The implementation uses the payload passed from the block layer to form simple copy command. Set the device copy limits to queue limits. Signed-off-by: SelvaKumar S Signed-off-by: Kanchan Joshi Signed-off-by: Nitesh She