Use spdk_bdev_unmap_blocks() in place of spdk_bdev_unmap(), since the SCSI UNMAP descriptor already natively operates in blocks rather than bytes. Change-Id: I16a0c38d203cf5f60484229e7872783b11d8de6e Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/393202 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
dev.c | ||
lun_db.c | ||
lun.c | ||
Makefile | ||
port.c | ||
scsi_bdev.c | ||
scsi_internal.h | ||
scsi_rpc.c | ||
scsi.c | ||
task.c |