From: Hannes Reinecke Date: Fri, 22 Jan 2016 14:42:41 +0000 (+0100) Subject: scsi_dh_rdac: always retry MODE SELECT on command lock violation X-Git-Tag: v3.2.78~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=075ee9fb5e1ebfa5defc64746dfcbba28cf0ed5f;p=pandora-kernel.git 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 Reviewed-by: Johannes Thumshirn Signed-off-by: Martin K. Petersen Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed