Query about RQF_DONTPREP usage in nvme driver
jianchao.wang
jianchao.w.wang at oracle.com
Wed Feb 28 01:05:44 PST 2018
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
More information about the Linux-nvme
mailing list