Re: [PATCH v2 0/6] virtio-scsi patches for 3.16 + midlayer fix

From: Paolo Bonzini
Date: Wed Jun 04 2014 - 07:33:23 EST


Il 04/06/2014 13:21, Bart Van Assche ha scritto:

Thanks for the quick respin. However, since you are mentioning that in
v2 all occurrences of "scmd->result |= DID_TIME_OUT << 16" have been
addressed, this made me wonder whether you had noticed the following
code in scsi_decide_disposition() ?

switch (host_byte(scmd->result)) {
[ ... ]
case DID_ABORT:
if (scmd->eh_eflags & SCSI_EH_ABORT_SCHEDULED) {
scmd->result |= DID_TIME_OUT << 16;
return SUCCESS;
}

Nope, I miscounted how many occurrences were left. v3 on the way.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/