scsi_dh_alua: use flag for RTPG extended header
authorHannes Reinecke <hare@suse.de>
Tue, 1 Dec 2015 09:16:51 +0000 (10:16 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Dec 2015 21:36:44 +0000 (16:36 -0500)
commit6c4fc04491754834d5b5be189ee8f49a1d92b433
tree0a8104995bfb0f3e866ba6791a837956db6ce6b5
parent095077ad37043574ce7a3978e92c89f535a6612c
scsi_dh_alua: use flag for RTPG extended header

We should be using a flag when RTPG extended header is not
supported, that saves us sending RTPG twice for older arrays.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_alua.c