Spdk/test
Pawel Wodkowski 22637292ac blobstore: silence false error message if device is too small
It is not an error if bdev is smaller than cluster size so convert this
error to infolog. This fixes false error message dring examine process.

To return proper error message when creating blobstore using RPC the
_spdk_bs_alloc was adjusted to return errocode that is propagated up and
converted to "No space left on device".

Fixes #316

Change-Id: Ic9803720a55125fcfa34263346f2d9e1aae03a53
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/420054
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-07-25 17:36:24 +00:00
..
app app: add missing spdk_app_fini call 2018-07-02 03:28:11 +00:00
bdev json/rpc: Tests for nbd subsystem 2018-07-20 20:43:43 +00:00
blobfs build: add sock dependency for all NVMe lib users 2018-06-22 17:09:57 +00:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common log: add backtrace option 2018-07-25 15:48:25 +00:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env ut/memory: do not redefine dpdk typedefs 2018-07-24 17:20:56 +00:00
event thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt lvol: destroy_lvol_bdev implementation 2018-07-25 17:06:45 +00:00
json_config json/rpc: Tests for nbd subsystem 2018-07-20 20:43:43 +00:00
lvol test/lvol: Add lvol bdev decouple parent tests. 2018-07-25 17:06:45 +00:00
nvme log: add backtrace option 2018-07-25 15:48:25 +00:00
nvmf lvol: destroy_lvol_bdev implementation 2018-07-25 17:06:45 +00:00
pmem test/json: Add pmem bdev test 2018-07-05 19:09:56 +00:00
spdkcli test/spdkcli: Add test for SPDK CLI 2018-07-25 17:35:56 +00:00
unit blobstore: silence false error message if device is too small 2018-07-25 17:36:24 +00:00
vhost test/vhost: Do not use nvmf.conf and fix vhost live migration 2018-07-20 20:44:34 +00:00
Makefile test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00