diff options
| author | David Disseldorp <[email protected]> | 2018-11-07 14:11:07 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-11-21 22:10:36 -0500 |
| commit | b49d6f7885306ee636d5c1af52170f3069ccf5f7 (patch) | |
| tree | 9422920bbe4153c54af39da2e5a0c34c2413677c /include/linux/errqueue.h | |
| parent | 8d0bb86e2cf6c96d88c3de56a2a29329872c454d (diff) | |
scsi: target: add emulate_pr backstore attr to toggle PR support
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 block such requests,
avoiding the multi-node reservation state propagation.
When explicitly disabled, PR and RESERVE/RELEASE requests receive Invalid
Command Operation Code response sense data.
Signed-off-by: David Disseldorp <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions