Spdk/test/unit/lib/bdev
Jim Harris f97c8b3142 lvol: add spdk_lvs_opts_init()
Some future patches will require specifying an lvol_store
name when calling spdk_lvs_init().  This means that passing
NULL for spdk_lvs_opts will no longer be an option.  So
add an spdk_lvs_opts_init() (similar to spdk_bs_opts_init)
which will initialize a default value for the cluster size.

While here, prepend an underscore to spdk_setup_lvs_opts, since
this function is not part of the public SPDK API.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I155bcfd0c396017304bb3d58b7511ada71dade17

Reviewed-on: https://review.gerrithub.io/383030
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-10-19 13:23:58 -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
pmem bdev_pmem: unit tests for persistent memory backend 2017-10-18 13:48:22 -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: add spdk_lvs_opts_init() 2017-10-19 13:23:58 -04:00
Makefile bdev_pmem: unit tests for persistent memory backend 2017-10-18 13:48:22 -04:00