Re: Command timeouts with NVMe TCP kernel driver
From: Sagi Grimberg <sagi@grimberg.me>
Date: 2021-09-01 12:57:23
From: Sagi Grimberg <sagi@grimberg.me>
Date: 2021-09-01 12:57:23
quoted
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.
Also, any temporary failure (EAGAIN) should trigger write_space that will also schedule io_work. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme