From: David Disseldorp <ddiss@suse.de>
To: target-devel@vger.kernel.org
Subject: Re: SPC-3 persistent reservations race condition
Date: Sun, 25 Nov 2018 23:10:00 +0000 [thread overview]
Message-ID: <20181126001000.35e947d6@suse.de> (raw)
In-Reply-To: <3ee76029-a49c-e5ce-39c8-62af5f4ce711@zoner.cz>
Hi Martin,
On Thu, 22 Nov 2018 19:47:19 +0100, Martin Svec wrote:
...
> Please download the trace from https://www.maatts.eu/lio-pr.pcap. It's a merge of captures of two
> target SAN interfaces (10.22.1.208, 10.22.2.208). The deadlock occured in 18:57:17 CET. I guess it
> was caused by packets 5979 and 5980:
>
> 5979 62.915577 10.22.102.66 10.22.1.208 iSCSI 126 SCSI: Persistent Reserve Out
> LUN: 0x01 SCSI: Data Out LUN: 0x01 (Persistent Reserve Out Request Data)
> 5980 62.915722 10.22.102.52 10.22.2.208 iSCSI 126 SCSI: Persistent Reserve Out
> LUN: 0x01 SCSI: Data Out LUN: 0x01 (Persistent Reserve Out Request Data)
I've attempted to trigger this via a new libiscsi test published at:
https://github.com/ddiss/libiscsi/
branch: test_mpio_async_prout_preempt
I haven't had any luck so far against mainline kernel, but am interested
to hear whether you're able to trigger the deadlock against your target.
It can be run via:
# make
./test-tool/iscsi-test-cu -V --dataloss --test=SCSI.MultipathIO.ProutPreemptAsync \
iscsi://$TARGET_IP/$IQN/$LUN \
iscsi://$TARGET_IP/$IQN/$LUN
You can use different or matching portal IPs for the two iSCSI target
URIs above.
Cheers, David
next prev parent reply other threads:[~2018-11-25 23:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-13 15:17 SPC-3 persistent reservations race condition Martin Svec
2018-11-20 18:31 ` David Disseldorp
2018-11-21 13:16 ` Martin Svec
2018-11-21 13:33 ` David Disseldorp
2018-11-22 18:47 ` Martin Svec
2018-11-25 23:10 ` David Disseldorp [this message]
2018-11-29 13:40 ` Martin Svec
2018-11-29 13:57 ` David Disseldorp
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=20181126001000.35e947d6@suse.de \
--to=ddiss@suse.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.