Spdk/module/bdev
Artur Paszkiewicz 0194aa5bd2 bdev/lvol: eliminate grow examine code duplication
These functions:
 _vbdev_lvs_grow_examine_finish
 _vbdev_lvs_grow_examine_cb
 _vbdev_lvs_grow_examine

are almost exact copies of:
 _vbdev_lvs_examine_finish
 _vbdev_lvs_examine_cb
 vbdev_lvs_examine

Remove the duplicated grow functions. Factor out the common entry point
into _vbdev_lvs_examine() which accepts a callback to perform the
required action (spdk_lvs_load or spdk_lvs_grow).

Change-Id: I9805f29e22812051608873207401e3786dab7103
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16942
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2023-02-24 21:01:11 +00:00
..
aio so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
compress module/bdev: Use error_response() rather than bool_response(false) for JSON RPCs 2023-01-31 21:40:09 +00:00
crypto bdev/crypto: Use iobuf large_bufsize to set opt IO boundary 2023-02-03 08:54:34 +00:00
daos bdev/daos: Use bdev_unregister_by_name() to delete a daos bdev 2023-01-31 21:40:09 +00:00
delay bdev: remove spdk_bdev_ext_io_opts from spdk_bdev_io 2023-02-16 10:09:35 +00:00
error so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
ftl module/bdev: Use error_response() rather than bool_response(false) for JSON RPCs 2023-01-31 21:40:09 +00:00
gpt bdev_gpt: add new SPDK partition type for off-by-one fix 2023-01-24 17:19:35 +00:00
iscsi so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
lvol bdev/lvol: eliminate grow examine code duplication 2023-02-24 21:01:11 +00:00
malloc malloc_bdev: Add physical block size optional argument 2023-02-22 12:59:10 +00:00
null null_bdev: Add physical block size optional argument 2023-02-22 12:59:10 +00:00
nvme bdev: remove spdk_bdev_ext_io_opts from spdk_bdev_io 2023-02-16 10:09:35 +00:00
ocf deprecation: remove Open CAS Framework 2023-01-26 15:16:19 +00:00
passthru bdev: remove spdk_bdev_ext_io_opts from spdk_bdev_io 2023-02-16 10:09:35 +00:00
pmem deprecation: Remove support for PMDK 2023-01-26 15:16:19 +00:00
raid module/raid: check strip size against device block size 2023-02-17 10:15:18 +00:00
rbd bdev/rbd: fix double-free when failing to initialize cluster 2023-02-21 08:33:52 +00:00
split so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
uring so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
virtio so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
xnvme bdev/xnvme: Use bdev_unregister_by_name() to delete a xnvme bdev 2023-01-31 21:40:09 +00:00
zone_block module/bdev: Use error_response() rather than bool_response(false) for JSON RPCs 2023-01-31 21:40:09 +00:00
Makefile configure: rename --with-reduce --with-vbdev-compress 2022-12-08 12:55:27 +00:00