summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_rport.c
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2018-11-07 14:11:07 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-11-22 04:10:36 +0100
commitb49d6f7885306ee636d5c1af52170f3069ccf5f7 (patch)
tree9422920bbe4153c54af39da2e5a0c34c2413677c /drivers/scsi/libfc/fc_rport.c
parentscsi: cxgb4i: fix thermal configuration dependencies (diff)
downloadlinux-b49d6f7885306ee636d5c1af52170f3069ccf5f7.tar.xz
linux-b49d6f7885306ee636d5c1af52170f3069ccf5f7.zip
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 <ddiss@suse.de> Reviewed-by: Mike Christie <mchristi@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libfc/fc_rport.c')
0 files changed, 0 insertions, 0 deletions