From: Sagi Grimberg <sagi@grimberg.me>
To: Keith Busch <kbusch@kernel.org>, Samuel Jones <sjones@kalrayinc.com>
Cc: linux-nvme <linux-nvme@lists.infradead.org>
Subject: Re: Command timeouts with NVMe TCP kernel driver
Date: Wed, 1 Sep 2021 15:56:54 +0300 [thread overview]
Message-ID: <82deb992-e42e-a0c1-4e55-0f8108c11dcd@grimberg.me> (raw)
In-Reply-To: <20210831024435.GA4884@dhcp-10-100-145-180.wdc.com>
>> 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
next prev parent reply other threads:[~2021-09-01 12:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-30 13:30 Command timeouts with NVMe TCP kernel driver Samuel Jones
2021-08-31 2:37 ` Keith Busch
2021-08-31 2:44 ` Keith Busch
2021-09-01 12:56 ` Sagi Grimberg [this message]
2021-08-31 22:46 ` Samuel Jones
2021-09-01 13:21 ` Sagi Grimberg
2021-09-07 9:05 ` Samuel Jones
2021-09-07 16:42 ` Keith Busch
2021-09-07 20:46 ` Keith Busch
2021-09-08 10:29 ` Samuel Jones
2021-09-08 20:55 ` Sagi Grimberg
2021-09-08 21:50 ` Keith Busch
2021-09-09 6:36 ` Sagi Grimberg
2021-09-09 8:01 ` Sagi Grimberg
2021-09-09 8:09 ` Samuel Jones
2021-09-09 8:54 ` Sagi Grimberg
2021-09-13 7:44 ` Samuel Jones
2021-09-13 9:15 ` Sagi Grimberg
2021-09-13 14:10 ` Keith Busch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82deb992-e42e-a0c1-4e55-0f8108c11dcd@grimberg.me \
--to=sagi@grimberg.me \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sjones@kalrayinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox