Spdk/lib
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
..
bdev bdev/split: pass correct bdev to base_bdev functions 2017-02-03 15:15:07 -07:00
conf conf: move structures out of public API header 2016-11-16 10:33:16 -07:00
copy ioat: print PCI addresses in hex for consistency 2017-02-14 10:27:47 -07:00
cunit eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
env_dpdk env: Move DPDK intialization into the env library. 2017-02-15 17:16:37 -07:00
event env: Move DPDK intialization into the env library. 2017-02-15 17:16:37 -07:00
ioat util: move common helper functions to util.h 2017-02-10 09:38:52 -07:00
iscsi Rename instance_id to shm_id and make it default to pid 2017-02-15 17:16:37 -07:00
json json: make sure parse always sets *end 2017-02-15 16:31:07 -07:00
jsonrpc jsonrpc_server: allow user to specify socket type 2016-12-15 08:06:33 -07:00
log log: define prioritynames[] (#102) 2017-01-23 16:07:29 -07:00
net net/interface: check socket() return value 2017-02-14 10:27:12 -07:00
nvme nvme: fix extended LBA block size calculations 2017-02-10 10:24:26 -07:00
nvmf nvmf: factor out common AER Get/Set Features code 2017-02-14 16:56:29 -07:00
rpc rpc: Decouple RPC config from instance ID 2017-02-14 14:47:25 -07:00
scsi scsi: spdk_scsi_lun_construct should return only new objects 2017-02-16 11:03:59 +01:00
trace trace: use snprintf() to ensure g_shm_name is terminated 2017-02-14 13:03:11 -07:00
util string: make spdk_parse_ip_addr() params non-const 2017-02-14 10:28:29 -07:00
Makefile env: rename default implementation to env_dpdk 2016-11-14 08:48:20 -07:00