|
@@ -531,6 +531,9 @@ static inline void nvme_mpath_check_last_path(struct nvme_ns *ns)
|
|
static inline int nvme_mpath_init(struct nvme_ctrl *ctrl,
|
|
static inline int nvme_mpath_init(struct nvme_ctrl *ctrl,
|
|
struct nvme_id_ctrl *id)
|
|
struct nvme_id_ctrl *id)
|
|
{
|
|
{
|
|
|
|
+ if (ctrl->subsys->cmic & (1 << 3))
|
|
|
|
+ dev_warn(ctrl->device,
|
|
|
|
+"Please enable CONFIG_NVME_MULTIPATH for full support of multi-port devices.\n");
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
static inline void nvme_mpath_uninit(struct nvme_ctrl *ctrl)
|
|
static inline void nvme_mpath_uninit(struct nvme_ctrl *ctrl)
|