Message ID | 20240514175322.19073-4-jmeneghi@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | block,nvme: queue-depth and latency I/O schedulers | expand |
diff --git a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c index 1e9338543ded..8702a40a1971 100644 --- a/drivers/nvme/host/multipath.c +++ b/drivers/nvme/host/multipath.c @@ -861,6 +861,7 @@ void nvme_subsys_iopolicy_update(struct nvme_subsystem *subsys, int iopolicy) mutex_lock(&nvme_subsystems_lock); list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) { atomic_set(&ctrl->nr_active, 0); + nvme_mpath_clear_ctrl_paths(ctrl); } mutex_unlock(&nvme_subsystems_lock); }