[SCSI] scsi_dh_alua: retry alua rtpg extended header for illegal request response
authorRob Evers <revers@redhat.com>
Fri, 18 May 2012 18:08:55 +0000 (14:08 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:33 +0000 (08:58 +0100)
commit8e67ce6072a0ab7fcefbbd2913fa4eaf3fdd8d68
tree6dec5de54afc11f0a1cc91b3f00ba114bc792da3
parent3588c5a21aef8c8dcc3b30d72c62971e97af1322
[SCSI] scsi_dh_alua: retry alua rtpg extended header for illegal request response

Some storage arrays are known to return 'illegal request'
when an rtpg extended header request is made.  T10 says the
array should ignore the bit, and return the non-extended
rtpg as the array doesn't support the request.  Working
around this by retrying the rtpg request without the extended
header bit set when the extended rtpg request results in
illegal request.

Signed-off-by: Rob Evers <revers@redhat.com>
Reviewed-by: Babu Moger <babu.moger@netapp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/device_handler/scsi_dh_alua.c