From: Mike Christie <michael.christie@oracle.com>
To: Konstantin Shelekhin <k.shelekhin@yadro.com>
Cc: target-devel@vger.kernel.org, linux@yadro.com,
Maurizio Lombardi <mlombard@redhat.com>
Subject: Re: iSCSI Abort Task and WRITE PENDING
Date: Mon, 18 Oct 2021 12:08:26 -0500 [thread overview]
Message-ID: <e4754a5e-9c40-993d-d21e-e566f0cb244d@oracle.com> (raw)
In-Reply-To: <2318e7d3-84c1-e5b0-62ce-dd25a21d3476@oracle.com>
On 10/18/21 11:29 AM, Mike Christie wrote:
> On 10/18/21 6:56 AM, Konstantin Shelekhin wrote:
>> On Thu, Oct 14, 2021 at 10:18:13PM -0500, michael.christie@oracle.com wrote:
>>>> If I understand this aproach correctly, it fixes the deadlock, but the
>>>> connection reinstatement will still happen, because WRITE_10 won't be
>>>> aborted and the connection will go down after the timeout.>
>>>> IMO it's not ideal either, since now iSCSI will have a 50% chance to
>>>> have the connection (meaning SCSI session) killed on arbitrary ABOR
>>> I wouldn't call this an arbitrary abort. It's indicating a problem.
>>> When do you see this? Why do we need to fix it per cmd? Are you hitting
>>> the big command short timeout issue? Driver/fw bug?
>> It was triggered by ESXi. During some heavy IOPS intervals the backend
>> device cannot handle the load and some IOs get stuck for more than 30
>> seconds. I suspect that ABORT TASKSs are issued by the virtual machines.
>> So a series of ABORT TASK will come, and the unlucky one will hit the
>> issue.
> I didn't get this. If only the backend is backed up then we should
> still be transmitting the data out/R2Ts quickly and we shouldn't be
> hitting the issue where we got stuck waiting on them.
>
Oh wait, I just remembered the bug you might be hitting. If you
are using iblock for example, then when the iscsi target calls
into LIO core to submit the cmd we can end up calling into the block
layer and blocking on a full queue (hitting the nr_requests limit).
The iscsi layer is then not able to do its normal R2T/DataOut handling
because one of the iscsi threads is stuck.
I'll send a patch to fix this issue.
We should still fix your TMF hang issue.
next prev parent reply other threads:[~2021-10-18 17:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-13 13:21 iSCSI Abort Task and WRITE PENDING Konstantin Shelekhin
2021-10-13 14:22 ` Hannes Reinecke
2021-10-13 14:53 ` Konstantin Shelekhin
2021-10-13 14:56 ` Konstantin Shelekhin
2021-10-14 7:09 ` Hannes Reinecke
2021-10-14 7:52 ` Konstantin Shelekhin
2021-10-13 17:51 ` Mike Christie
2021-10-13 18:05 ` Mike Christie
2021-10-13 18:11 ` Konstantin Shelekhin
2021-10-13 18:08 ` Konstantin Shelekhin
2021-10-13 18:24 ` Mike Christie
2021-10-13 18:30 ` Mike Christie
2021-10-13 18:58 ` Konstantin Shelekhin
2021-10-13 19:01 ` Konstantin Shelekhin
2021-10-13 20:21 ` Mike Christie
2021-10-14 23:12 ` Konstantin Shelekhin
2021-10-15 3:18 ` michael.christie
2021-10-18 11:56 ` Konstantin Shelekhin
2021-10-18 16:29 ` Mike Christie
2021-10-18 17:08 ` Mike Christie [this message]
2021-10-26 10:59 ` Konstantin Shelekhin
2021-10-18 17:32 ` Konstantin Shelekhin
2021-10-18 20:20 ` Mike Christie
2021-10-18 20:34 ` Mike Christie
2021-10-18 21:50 ` Konstantin Shelekhin
2021-10-18 21:48 ` Konstantin Shelekhin
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=e4754a5e-9c40-993d-d21e-e566f0cb244d@oracle.com \
--to=michael.christie@oracle.com \
--cc=k.shelekhin@yadro.com \
--cc=linux@yadro.com \
--cc=mlombard@redhat.com \
--cc=target-devel@vger.kernel.org \
/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