numam-spdk/lib/scsi
Tomasz Zawadzki c210a81fd9 scsi: spdk_scsi_lun_construct should return only new objects
This patch makes spdk_scsi_lun_construct behave as documented.
spdk_scsi_lun_construct will return only newly created LUN.
If LUN with that name already exists, NULL will be returned.

Unit test relevant to this behaviour is now changed to show
this functionality is now working.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I002903d6f96555c638aba3fa99cc2c2504ced603
2017-02-16 11:03:59 +01:00
..
dev.c scsi: handle return status of spdk_scsi_lun_claim(lun) 2017-02-16 11:03:48 +01:00
lun_db.c scsi: import SCSI/blockdev translation layer 2016-08-01 10:35:01 -07:00
lun.c scsi: spdk_scsi_lun_construct should return only new objects 2017-02-16 11:03:59 +01:00
Makefile scsi: translate nvme error to scsi error (#54) 2016-10-28 13:06:45 -07:00
port.c scsi: import SCSI/blockdev translation layer 2016-08-01 10:35:01 -07:00
scsi_bdev.c scsi: fix the scsi read write direction issue. 2017-01-23 16:12:27 -07:00
scsi_internal.h unit_test: check for adding same lun twice to scsi device 2017-02-16 10:11:20 +01:00
scsi_nvme.c scsi: translate nvme error to scsi error (#54) 2016-10-28 13:06:45 -07:00
scsi_rpc.c scsi: import SCSI/blockdev translation layer 2016-08-01 10:35:01 -07:00
scsi.c event.h: split non-public API into spdk_internal 2017-01-05 11:57:18 -07:00
task.c scsi: only generate sense data for Check Condition 2017-01-19 09:39:26 -07:00