Message ID | 4A30431C.3030809@cs.wisc.edu (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | christophe varoqui |
Headers | show |
>> >> ::: error log on a 2.6.9 (rhel 4.7) kernel ::: >> > > For RH 4.9 I did the attached patch. So this error is not fastfailed > (upstream does not fastfail this type of error when using dm-multipath > now). So now the scsi layer will retry its normal 5 times, then fail. > Thank you for the information. This is very good news. Can you also advise about the rhel 5 minimum kernel version ? >> >> ::: error log on a 2.6.29.x kernel for a reservation conflict ::: >> > I was just about to post new blkerr patches. For this we just wan > multipath to fail this IO right away right? So have scsi return some > fatal error then dm-multipath will see it and not retry that IO? > Yes, that would do. Thanks you very much for your prompt response and your work on this. Regards, cvaroqui -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel
On 06/10/2009 11:58 PM, christophe.varoqui@free.fr wrote: >>> ::: error log on a 2.6.9 (rhel 4.7) kernel ::: >>> >> For RH 4.9 I did the attached patch. So this error is not fastfailed >> (upstream does not fastfail this type of error when using dm-multipath >> now). So now the scsi layer will retry its normal 5 times, then fail. >> > Thank you for the information. This is very good news. > Can you also advise about the rhel 5 minimum kernel version ? It should be fixed in rhel 5.3 and the change was merged in upstream 2.6.28 kernel. -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 7309f12..d5a3390 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -1390,7 +1390,7 @@ int scsi_decide_disposition(struct scsi_cmnd *scmd) case CHECK_CONDITION: rtn = scsi_check_sense(scmd); if (rtn == NEEDS_RETRY) - goto maybe_retry; + goto check_retry_count; /* if rtn == FAILED, we have no sense information; * returning FAILED will wake the error handler thread * to collect the sense and redo the decide