All of lore.kernel.org
 help / color / mirror / Atom feed
* Query about RQF_DONTPREP usage in nvme driver
@ 2018-02-28  9:05 jianchao.wang
  0 siblings, 0 replies; only message in thread
From: jianchao.wang @ 2018-02-28  9:05 UTC (permalink / raw)


Hi Keith

Sorry for bothering you. ;)

In scsi, when requeue the request with RQF_DONTPREP, scsi core will not
do the sglist mapping or some other driver specific data's allocation and initialization.

However, in nvme_pci_complete_rq, it will invoke the nvme_unmap_data unconditionally,
and when the request enters into nvme_queue_rq again, it just reserve some members of
nvme_request and redo the whole command preparation again when RQF_DONTPREP is set.
Even all the other transport have the same actions.

Do we have any specific consideration on this ?

Thanks in advance
Jiancaho 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-28  9:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28  9:05 Query about RQF_DONTPREP usage in nvme driver jianchao.wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.