numam-spdk/test
Tomasz Zawadzki 8b21bab265 ut/blob: test cluster selection using _spdk_bs_allocate_cluster()
Previously blob_insert_cluster_msg UT specified the cluster
which will be used to store LBA. So for blob the cluster [1],
was always stored as cluster 0xF in blobstore.

This patch changes _spdk_bs_claim_cluster() with preselected
cluster in blobstore to _spdk_bs_allocate_cluster() that
will choose first free one in the map.

It will help in further patches that add more logic
on extent table and extent pages in _spdk_bs_allocate_cluster().
Otherwise this patch 'hard coded' values might get more complex
than needed.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I238329b2191e7ebd3f73c1fe85d7e1da0249979e
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/475493
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-11-28 12:38:03 +00:00
..
app app: Add cli options to print SPDK version 2019-11-15 18:25:31 +00:00
bdev test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
blobfs test: Shellcheck - correct rule: Consider using { cmd1; cmd2; } 2019-11-22 13:51:15 +00:00
blobstore test: Shellcheck - correct rule: Consider using { cmd1; cmd2; } 2019-11-22 13:51:15 +00:00
common test: Shellcheck - correct rule: Consider using { cmd1; cmd2; } 2019-11-22 13:51:15 +00:00
compress test/compress: Wait for bdevs to be created 2019-10-09 14:39:26 +00:00
config_converter rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
env test/mem_callbacks: Fix compilation on ARM 2019-10-24 19:21:06 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
fuzz test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
ioat test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
iscsi_tgt test: Shellcheck - apply rule SC2155 2019-11-12 18:14:59 +00:00
json_config test: Shellcheck - correct rule: Expanding an array 2019-11-27 07:08:57 +00:00
lvol rpc: Rename stop_nbd_disk to nbd_stop_disk 2019-09-19 20:56:35 +00:00
make test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
nvme lib/nvme: cuse device avoid using signals 2019-11-22 13:53:38 +00:00
nvmf test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
ocf test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem test: Shellcheck - apply rule SC2155 2019-11-12 18:14:59 +00:00
rpc_client test/rpc_client: remove sem_timedwait calls. 2019-11-21 08:04:22 +00:00
spdkcli test/rbd: Fix some issues in rbd.sh. 2019-10-24 17:12:32 +00:00
unit ut/blob: test cluster selection using _spdk_bs_allocate_cluster() 2019-11-28 12:38:03 +00:00
vhost test: Shellcheck - correct rule: Use find... 2019-11-27 07:08:57 +00:00
vmd test/vmd: return zero after sucessful test run 2019-10-15 16:37:40 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00