Spdk/test/unit/lib
Tomasz Kulasek f0aacaf6ae lvol: verify lvol name rework
This commit moves the name verification function out of the
spdk_lvol_create.

Also changes return value from -EINVAL to -EEXIST when name
already exists in lvol store, as more informative. It implies
that spdk_lvol_create also returns -EEXIST error code for
this case.

Change-Id: Ie0f642b316ba8c5cc42657334d35e539be56e830
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Reviewed-on: https://review.gerrithub.io/406745
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-04-06 16:30:24 -04:00
..
bdev blob: make spdk_blob_resize an async operation 2018-04-05 18:43:11 -04:00
blob blobstore: allow creating clones out of read-only snapshots 2018-04-06 16:30:24 -04:00
blobfs test: move test_env.c under test/common/lib 2018-03-29 00:31:24 -04:00
event subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
ioat test: use spdk.unittest.mk for ioat unit tests 2018-02-14 10:40:40 -05:00
iscsi iscsi: Change the type of some negotiation params from uint32_t to bool 2018-03-14 13:41:22 -04:00
json ut/json: add missing UT for int64/uint64 write 2018-02-20 13:05:36 -05:00
jsonrpc jsonrpc: allow send_buf to grow as needed 2018-02-15 11:03:54 -05:00
log test: use spdk.unittest.mk for event and log unit tests 2018-02-14 11:07:05 -05:00
lvol lvol: verify lvol name rework 2018-04-06 16:30:24 -04:00
net net: create NET_MODULE for compiling different net_implementations 2018-03-15 17:54:29 -04:00
nvme nvme: Use active namespace list for enumerating namespaces 2018-04-02 17:17:40 -04:00
nvmf nvmf: verify that serial number is an ASCII string 2018-04-05 15:57:34 -04:00
scsi scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
util test: move ut_multithread.c to common/lib 2018-03-29 00:31:24 -04:00
vhost vhost: reduce log level of informational messages 2018-04-05 12:06:45 -04:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile test: add spdk_sock unit tests 2018-02-12 12:30:39 -05:00