Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mark Lord <liml@...>, Eric D. Mudama <edmudama@...>
Cc: James Bottomley <James.Bottomley@...>, <linux-kernel@...>, IDE/ATA development list <linux-ide@...>, linux-scsi <linux-scsi@...>
Date: Wednesday, January 31, 2007 - 5:30 am

Mark Lord wrote:


FWIW -- speaking generally -- I think there are inevitable areas where 
libata error handling combined with SCSI error handling results in 
suboptimal error handling.

Just creating a list of "<this behavior> should be handled <this way>, 
but in reality is handled in <this silly way>" would be very helpful.

Error handling is tough to get right, because the code is exercised so 
infrequently.  Tejun has actually done an above-average job here, by 
making device probe, hotplug and other "exceptions" go through the 
libata EH code, thereby exercising the EH code more than one might 
normally assume.

Some errors in libata probably should not be retried more than once, 
when we have a definitive diagnosis.  Suggestions for improvements are 
welcome.

	Jeff


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Tue Jan 30, 9:41 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Jeff Garzik, (Wed Jan 31, 5:30 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Ric Wheeler, (Wed Jan 31, 10:36 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Douglas Gilbert, (Wed Jan 31, 11:28 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 11:38 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Ric Wheeler, (Tue Jan 30, 11:20 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 11:08 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 1:57 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, James Bottomley, (Wed Jan 31, 2:13 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 2:37 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Ric Wheeler, (Wed Jan 31, 12:35 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Douglas Gilbert, (Wed Jan 31, 1:09 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, James Bottomley, (Wed Jan 31, 12:21 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 11:13 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, James Bottomley, (Wed Jan 31, 11:24 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 11:22 am)