[PATCH v2 0/2] blk/nvme: fix NULL deref in rq_qos_done_bio() on multipath failover
Jens Axboe
axboe at kernel.dk
Tue Mar 10 06:11:31 PDT 2026
On Wed, 25 Feb 2026 19:12:41 -0800, Chaitanya Kulkarni wrote:
> When a bio is processed on a path's request queue with rq_qos enabled,
> it gets BIO_QOS_THROTTLED or BIO_QOS_MERGED flags set. During NVMe
> multipath failover, nvme_failover_req() redirects the bio's bi_bdev to
> the multipath head's disk via bio_set_dev(), but the BIO_QOS flags are
> left intact.
>
> This series moves bio queue transition code into blk_steal_bios()
> and adds a patch to clears BIO_QOS_THROTTLED and BIO_QOS_MERGED flags
> in blk_steal_bios().
>
> [...]
Applied, thanks!
[1/2] block: move bio queue-transition flag fixups into blk_steal_bios()
commit: b2c45ced591e6cf947560d2d290a51855926b774
[2/2] block: clear BIO_QOS flags in blk_steal_bios()
commit: daa6c79858e9ca75c548452bf71db8a9e61bde42
Best regards,
--
Jens Axboe
More information about the Linux-nvme
mailing list