Re: [PATCH v4] target: add emulate_pr backstore attr to toggle PR support

2018-11-07 Thread David Disseldorp
On Tue, 6 Nov 2018 19:54:17 -0600, Mike Christie wrote: > > - return snprintf(page, PAGE_SIZE, "%d\n", > > - flags & TRANSPORT_FLAG_PASSTHROUGH_PGR ? 0 : 1); > > + if (!da->da_dev->dev_attrib.emulate_pr || > > + (flags & TRANSPORT_FLAG_PASSTHROUGH_PGR)) > > +

Re: [PATCH v4] target: add emulate_pr backstore attr to toggle PR support

2018-11-06 Thread Mike Christie
On 10/30/2018 09:26 AM, David Disseldorp wrote: > The new emulate_pr backstore attribute allows for Persistent Reservation > and SCSI2 RESERVE/RELEASE support to be completely disabled. This can be > useful for scenarios such as: > - Ensuring ATS (Compare & Write) usage on recent VMware ESXi initia

[PATCH v4] target: add emulate_pr backstore attr to toggle PR support

2018-10-30 Thread David Disseldorp
The new emulate_pr backstore attribute allows for Persistent Reservation and SCSI2 RESERVE/RELEASE support to be completely disabled. This can be useful for scenarios such as: - Ensuring ATS (Compare & Write) usage on recent VMware ESXi initiators. - Allowing clustered (e.g. tcm-user) backends to b