spdk_dma_malloc() is not required here, as the buffer is neither DMA-able nor shared between processes. The buffer is used to store the scsi response as it's prepared. At the end it's always memcopied to possibly multiple DMA-able buffers in the scatter-gatter list provided by the upper layer. Change-Id: I92fcede67dc24c532b13399f6364b071b2aeeb56 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451555 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
dev.c | ||
lun.c | ||
Makefile | ||
port.c | ||
scsi_bdev.c | ||
scsi_internal.h | ||
scsi_rpc.c | ||
scsi.c | ||
task.c |