From: jiangyiwen <jiangyiwen@huawei.com>
To: dm-devel@redhat.com
Cc: wangyibin@huawei.com, Mike Snitzer <snitzer@redhat.com>
Subject: dm-mpath: Handling SCSI-3 PR RELEASE in multi-controller environment
Date: Wed, 21 Sep 2016 17:14:38 +0800 [thread overview]
Message-ID: <57E24F7E.4030103@huawei.com> (raw)
Hi guys,
I'm sorry if someone else has already asked the same question before, but
here's what we are facing with generic multipath.
We were evaluating SCSI-3 PR and hit the following issue:
Our IPSAN has two controllers (C1/C2). Our host is connected to both
controllers. So we have 2 I_T nexus. The same key is registered on each I_T
nexus. When we issue SCSI-3 PR RESERE through generic multipath, the
reservation will be placed on one of the controllers (say, C1). Now if we
issue SCSI-3 PR RELEASE, generic multipath will select _only_ one of its
paths based on user defined path selection policy. The problem is that, if
the selected path leads to controller C2, which does not hold the
reservation, the reservation won't be released - and what's more, since the
reservation is done by the same host, the RELEASE command returns
successfully. So this gives us the illusion that the reservation is released
but in fact it is still there.
I know that there's a user space tool mpathpersist that can handle this
problem by issuing release command on all available paths, but here I am
talking about doing same thing in kernel space. So my question is, is there
anyone who is working on supporting SCSI-3 PR in a multiple controller
environment?
Please advise. Thanks in advance!
Best regards,
Yiwen
next reply other threads:[~2016-09-21 9:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-21 9:14 jiangyiwen [this message]
2016-09-21 15:04 ` dm-mpath: Handling SCSI-3 PR RELEASE in multi-controller environment Mike Snitzer
2016-09-21 17:14 ` Christoph Hellwig
2016-09-22 8:14 ` jiangyiwen
2016-09-26 16:03 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2016-10-09 13:12 wangyibin
2016-10-09 15:16 ` Christoph Hellwig
2016-10-13 9:19 ` Yibin Wang
2016-10-13 11:16 ` Yibin Wang
2016-10-14 13:48 ` Christoph Hellwig
2016-10-14 14:51 ` Christoph Hellwig
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=57E24F7E.4030103@huawei.com \
--to=jiangyiwen@huawei.com \
--cc=dm-devel@redhat.com \
--cc=snitzer@redhat.com \
--cc=wangyibin@huawei.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 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.