]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scsi_dh_rdac: always retry MODE SELECT on command lock violation
authorHannes Reinecke <hare@suse.de>
Fri, 22 Jan 2016 14:42:41 +0000 (15:42 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 5 Feb 2016 03:26:06 +0000 (22:26 -0500)
commitd2d06d4fe0f2cc2df9b17fefec96e6e1a1271d91
tree08d98ac1423590fcd5fca64591ff2664c2244708
parent98441221708a092eb6d3d05142cf842a95aba152
scsi_dh_rdac: always retry MODE SELECT on command lock violation

If MODE SELECT returns with sense '05/91/36' (command lock violation)
it should always be retried without counting the number of retries.
During an HBA upgrade or similar circumstances one might see a flood
of MODE SELECT command from various HBAs, which will easily trigger
the sense code and exceed the retry count.

Cc: <stable@vger.kernel.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_rdac.c