Spdk/include/spdk_internal
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
..
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
bdev.h bdev: Wait for io device to unregister in bdev_part 2018-04-17 11:47:09 -04:00
copy_engine.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
event.h event: allow subsystem to write configuration in async way 2018-03-27 02:57:28 -04:00
log.h log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvolstore.h lvol: Creating 2 lvols simultaneously with same name 2018-04-17 14:03:22 -04:00
mock.h mock: mark wrappers "used" so LTO will keep them 2018-01-25 14:21:02 -05:00
sock.h net/sock: separate sock.c from posix related functions 2018-03-14 13:08:09 -04:00
utf.h utf.h: remove #include "spdk/json.h" 2018-01-31 14:37:16 -05:00
virtio.h virtio: remove g_virtio_driver 2018-03-27 00:58:14 -04:00