Spdk/lib
Maciej Szwed 208748b423 lvol: Creating 2 lvols simultaneously with same name
This patch fixes issue where user creates 2 lvols
with the same name simultaneously. New solution
builds list of names of lvols that are currently
being created and when new request comes it compares
name against existing lvols and lvols that are in the
process of creation.

Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Change-Id: I31b59ee13b5b9bae531866925dd409b143f08ad4
Reviewed-on: https://review.gerrithub.io/407408
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-04-17 14:03:22 -04:00
..
bdev bdev/lvol: add dump config mock 2018-04-17 13:30:32 -04:00
blob blob: copy xattr name with memcpy() 2018-04-09 15:35:36 -04:00
blobfs blobfs: sync length if append occurs after cache eviction 2018-04-11 16:03:14 -04:00
conf conf: Remove use of perror() for strdup() failure 2017-12-15 16:13:27 -05:00
copy copy/ioat: reduce log level of informational messages 2018-04-06 18:31:54 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env_dpdk: track PCI devices internally for vtophys 2018-04-02 14:03:05 -04:00
event vhost: add JSON config dump 2018-04-16 19:27:33 -04:00
ioat scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
iscsi iscsi: do static initialization of globals that allow it 2018-04-12 11:26:44 -04:00
json json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc jsonrpc: convert send queue to singly linked tail queue 2018-04-12 00:11:35 -04:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol lvol: Creating 2 lvols simultaneously with same name 2018-04-17 14:03:22 -04:00
nbd lib: Return instead of abort() in nbd 2018-03-13 13:41:50 -04:00
net include/net.h: remove non public functions to private header file 2018-04-11 12:10:14 -04:00
nvme nvme: Remove calls to getpid() when submitting nvme requests 2018-04-16 16:19:44 -04:00
nvmf nvmf: make the qpair disconnnect in the right order. 2018-04-17 01:58:36 -04:00
rocksdb rocksdb: remove nonsensical fallocate #ifdef 2018-03-27 12:41:12 -04:00
rpc rpc: remove the existing socket file when application starts 2018-03-02 16:48:53 -05:00
scsi scsi: validate dev name length 2018-04-10 15:43:03 -04:00
trace app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util io_channel: Fix race between put channel and get channel 2018-04-17 11:47:09 -04:00
vhost vhost: add JSON config dump 2018-04-16 19:27:33 -04:00
virtio virtio: don't silence vhost-user errors 2018-04-03 15:22:49 -04:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00