Loading
ut/bdev/raid: Factor out operation to create request for get_raid_bdevs RPC
Create a helper function create_get_raids_req() and move duplication of category 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: I03e12e8d77872634a65a94b4cd4092554e376b13 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/464480 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>