Command timeouts with NVMe TCP kernel driver

Keith Busch kbusch at kernel.org
Mon Aug 30 19:44:35 PDT 2021


On Mon, Aug 30, 2021 at 07:37:12PM -0700, Keith Busch wrote:
> One thing that looks problematic is if 'bd.last' is true but
> nvme_tcp_queue_rq() fails early after enqueuing previous commands in the
> sequence. That could cause the io_work to never kick. 

Eh, your observed problem should not be the above: the block layer will
call .commit_rqs() anytime an error occurs during .queue_rq(), which
should kick io_work. So yeah, I'll look for other possibilities.



More information about the Linux-nvme mailing list