]> git.ipfire.org Git - thirdparty/linux.git/commit
nvme-pci: fix missed admin queue sq doorbell write
authorKeith Busch <kbusch@kernel.org>
Tue, 21 Apr 2026 16:14:02 +0000 (09:14 -0700)
committerKeith Busch <kbusch@kernel.org>
Wed, 22 Apr 2026 17:07:30 +0000 (10:07 -0700)
commit1cc4cdae2a3b7730d462d69e30f213fd2efe7807
treeb9bd30e634aeb33df78a69aa50dec8994070554f
parent5d10069e1a1691a0d8642e1fa65f4c1869210299
nvme-pci: fix missed admin queue sq doorbell write

We can batch admin commands submitted through io_uring_cmd passthrough,
which means bd->last may be false and skips the doorbell write to
aggregate multiple commands per write. If a subsequent command can't be
dispatched for whatever reason, we have to provide the blk-mq ops'
commit_rqs callback in order to ensure we properly update the doorbell.

Fixes: 58e5bdeb9c2b ("nvme: enable uring-passthrough for admin commands")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/pci.c