Spdk/lib/bdev/lvol
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
..
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00
vbdev_lvol_rpc.c bdev/lvol: fix total_blocks and free_blocks names 2017-10-17 13:59:34 -04:00
vbdev_lvol.c lvol: add spdk_lvs_opts_init() 2017-10-19 13:23:58 -04:00
vbdev_lvol.h lvol: allow to configure cluster size of lvol store 2017-10-02 13:45:12 -04:00