Loading
ut/bdev/raid: Factor out operation to create request for destroy_raid_bdev RPC
Create a helper function create_destroy_req() and move duplication of bdev name and initialization of related global variables into the function. Some operations are re-ordered accordingly. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I60f01103faec3ec7ec6c317470b043f84187a4c1 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/464479 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>