Lines Matching defs:multipath
240 enum bdev_nvme_multipath_mode multipath;
297 enum bdev_nvme_multipath_mode *multipath = out;
300 *multipath = BDEV_NVME_MP_MODE_FAILOVER;
301 } else if (spdk_json_strequal(val, "multipath") == true) {
302 *multipath = BDEV_NVME_MP_MODE_MULTIPATH;
304 *multipath = BDEV_NVME_MP_MODE_DISABLE;
306 SPDK_NOTICELOG("Invalid parameter value: multipath\n");
332 {"multipath", offsetof(struct rpc_bdev_nvme_attach_controller, multipath), bdev_nvme_decode_multipath, true},
416 ctx->req.multipath = BDEV_NVME_MP_MODE_MULTIPATH;
546 if (ctx->req.multipath == BDEV_NVME_MP_MODE_DISABLE) {
549 "A controller named %s already exists and multipath is disabled",
554 assert(ctx->req.multipath == BDEV_NVME_MP_MODE_FAILOVER ||
555 ctx->req.multipath == BDEV_NVME_MP_MODE_MULTIPATH);
557 /* The user wants to add this as a failover path or add this to create multipath. */
600 if (ctx->req.multipath != BDEV_NVME_MP_MODE_MULTIPATH) {
601 ctx->req.bdev_opts.multipath = false;