[PATCH] nvme-mpath: fix I/O failure with EAGAIN when failing over I/O
Sagi Grimberg
sagi at grimberg.me
Tue Jun 20 03:00:22 PDT 2023
>> +++ b/drivers/nvme/host/multipath.c
>> @@ -102,6 +102,7 @@ void nvme_failover_req(struct request *req)
>> spin_lock_irqsave(&ns->head->requeue_lock, flags);
>> for (bio = req->bio; bio; bio = bio->bi_next) {
>> bio_set_dev(bio, ns->head->disk->part0);
>> + bio->bi_opf &= ~REQ_NOWAIT;
>
> Please add a comment based on your explanation in the commit log here.
Will do.
More information about the Linux-nvme
mailing list