From: David Disseldorp <ddiss@suse.de>
To: target-devel@vger.kernel.org
Subject: Re: [RFC PATCH] target: add emulate_pr backstore attr to toggle PR support
Date: Thu, 21 Jun 2018 15:03:01 +0000 [thread overview]
Message-ID: <20180621170301.143488b0@suse.de> (raw)
In-Reply-To: <20180601000532.11058-1-ddiss@suse.de>
Hi Mike,
On Mon, 4 Jun 2018 12:13:22 -0500, Mike Christie wrote:
> On 06/03/2018 07:57 AM, David Disseldorp wrote:
...
> > I considered more granular toggles, but decided against it due to the
> > added configuration/implementation complexity. Happy to revisit this if
> > others would prefer it though.
>
> I might not understand your original "enforce" part of the patch
> description, because it seems like you must do this.
I've changed "enforce" to "ensure".
> I think ATS only is the default for the newer versions of ESX when the
> device reports it supports ATS, and it seems like running windows
> clustering in VMs on ESX is common. So, you will have that combo of ATS
> only with PRs a lot.
I don't think a combination of SCSI2 and persistent reservations is
common, as VMware recommends Raw Device Mapping (via a separate LUN) for
most Windows Failover Cluster use use cases[1]. See:
https://docs.vmware.com/en/VMware-vSphere/6.5/vsphere-esxi-vcenter-server-651-setup-mscs.pdf
IMO a single toggle to disable both RESERVE / RELEASE and Persistent
Reservation handling for a given backstore is still the simplest and
most user friendly option here.
> When you wrote "enforce" earlier I thought you meant the patch is
> supposed to make sure that ATS only is really on and if ESX messes up
> (or maybe the user messed up the settings) and it sends a
> RESERVE/RELEASE then it is failed. I do not see how that is possible
> with your patch with something like windows clustering VMs.
>
> If the patch was more for protecting against the case where the backend
> does not support reservations, and ATS only was used to make sure they
> are never used due to that, and we assume backends always implement
> older reservations if they implement newer PRs then I think the patch is
> fine.
>
> So I do not really care :) I think it depends on what you were trying to
> support.
Some older versions of ESX/VMFS can fall back to using SCSI2
reservations instead of ATS[2]. Disabling LIO SCSI2+PR support restricts
this fallback behaviour. That's what I was trying to get across in the
commit message :)
New version to follow...
Cheers, David
1) Windows Failover Cluster on VMware
https://docs.vmware.com/en/VMware-vSphere/6.5/vsphere-esxi-vcenter-server-651-setup-mscs.pdf
2) vSphere 5 SCSI reservations vs ATS locking
https://pubs.vmware.com/vsphere-50/topic/com.vmware.vsphere.storage.doc_50/GUID-DE30AAE3-72ED-43BF-95B3-A2B885A713DB.html
next prev parent reply other threads:[~2018-06-21 15:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-01 0:05 [RFC PATCH] target: add emulate_pr backstore attr to toggle PR support David Disseldorp
2018-06-01 13:20 ` Bryant G. Ly
2018-06-01 16:22 ` Mike Christie
2018-06-03 12:57 ` David Disseldorp
2018-06-04 17:13 ` Mike Christie
2018-06-21 15:03 ` David Disseldorp [this message]
2018-06-21 15:26 ` David Disseldorp
2018-06-21 20:04 ` Mike Christie
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=20180621170301.143488b0@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).