Spdk/test/unit/lib/bdev
Tomasz Zawadzki 9f6f73d420 lvol: allow to configure cluster size of lvol store
New optional parameter -c or --cluster_sz in construct_lvol_store() RPC,
as well as in vbdev_lvol and lvol lib API.

This parameter allows to configure cluster size of blobstore that lvol store
is build upon.

When this parameter is not specified, default of 1GiB is used.

spdk_lvs_opts struct was created to facilitate any future options when
creating lvol store.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Ibfe8765ede3e78ff19c36f46043e4cec2e5c9f97
Reviewed-on: https://review.gerrithub.io/379356
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com>
2017-10-02 13:45:12 -04:00
..
bdev.c bdev: use spdk_vbdev_unregister when unregistering partitions 2017-10-01 21:57:00 -04:00
gpt test/bdev/gpt: link spdk_util for CRC32 function 2017-08-15 15:24:29 -04:00
mt bdev: add ENOMEM handling 2017-10-01 21:57:00 -04:00
scsi_nvme.c test: move SCSI/NVMe translation test to test/unit 2017-06-20 13:46:07 -04:00
vbdev_lvol.c lvol: allow to configure cluster size of lvol store 2017-10-02 13:45:12 -04:00
Makefile test/bdev: add simulated multi-thread unit tests 2017-09-22 15:38:44 -04:00