diff options
author | Hannes Reinecke <hare@suse.de> | 2016-01-22 15:42:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-25 12:01:16 -0800 |
commit | 32c55052aa3364bd4a0d0c2b5f53ed9b95ae8d05 (patch) | |
tree | 88d52c211abae1d2d8f6a73a3e2cc37ff6950948 /drivers/scsi/scsi_devinfo.c | |
parent | 4c654fc9357b70803c1878ec729ef61a8be0af52 (diff) |
scsi_dh_rdac: always retry MODE SELECT on command lock violation
commit d2d06d4fe0f2cc2df9b17fefec96e6e1a1271d91 upstream.
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.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/scsi_devinfo.c')
0 files changed, 0 insertions, 0 deletions