Spdk/test/unit/lib/scsi/scsi_bdev.c
Daniel Verkamp 97f145c8b8 scsi: convert unmap command to bdev blocks API
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>
2017-12-29 13:43:29 -05:00
..
.gitignore test: move SCSI library unit tests to test/unit 2017-06-20 13:46:07 -04:00
Makefile test: move SCSI library unit tests to test/unit 2017-06-20 13:46:07 -04:00
scsi_bdev_ut.c scsi: convert unmap command to bdev blocks API 2017-12-29 13:43:29 -05:00