MFC: rev 1.67
It seems ciss should ignore overrun and underrun on a SCSI INQUIRY command. This fixes some weird booting issues on newer versions of the firmware on the MSA20.
This commit is contained in:
parent
4cfd00e6b6
commit
ef44f1c6f1
@ -1928,8 +1928,11 @@ ciss_report_request(struct ciss_request *cr, int *command_status, int *scsi_stat
|
||||
* Logical/Physical LUNs commands.
|
||||
*/
|
||||
if ((cc->header.host_tag & CISS_HDR_HOST_TAG_ERROR) &&
|
||||
((ce->command_status == CISS_CMD_STATUS_DATA_OVERRUN) ||
|
||||
(ce->command_status == CISS_CMD_STATUS_DATA_UNDERRUN)) &&
|
||||
((cc->cdb.cdb[0] == CISS_OPCODE_REPORT_LOGICAL_LUNS) ||
|
||||
(cc->cdb.cdb[0] == CISS_OPCODE_REPORT_PHYSICAL_LUNS))) {
|
||||
(cc->cdb.cdb[0] == CISS_OPCODE_REPORT_PHYSICAL_LUNS) ||
|
||||
(cc->cdb.cdb[0] == INQUIRY))) {
|
||||
cc->header.host_tag &= ~CISS_HDR_HOST_TAG_ERROR;
|
||||
debug(2, "ignoring irrelevant under/overrun error");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user