public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Requested changes for the SCSI error handler
@ 2004-06-01 18:50 Alan Stern
  2004-06-01 19:58 ` James Bottomley
  0 siblings, 1 reply; 12+ messages in thread
From: Alan Stern @ 2004-06-01 18:50 UTC (permalink / raw)
  To: Mike Anderson; +Cc: SCSI development list

Here are two things I'd like to see changed in the error handler, if 
possible.

	The recovery xxx_RESET_SETTLE_TIME delays in scsi_sleep() can not 
	be interrupted, even if the state changes to SDEV_CANCEL or 
	SHOST_CANCEL.  It would be nice if the delay could be cut short
	so that scsi_remove_host() doesn't have to wait.  Lengthy pauses
	during disconnect processing are bad for the USB hub driver.

	In scsi_eh_ready_devs(), it would be good if some of the resets
	could be skipped sometimes.  For example, if the low-level
	driver has just done its own bus-device reset (and called
	scsi_report_device_reset) then there's no point in doing 
	scsi_eh_bus_device_reset().  The same is true for bus resets.
	It just adds additional timeout delays to an already-lengthy
	recovery process.

Do these things seem feasible?

Alan Stern


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-06-08 22:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-01 18:50 Requested changes for the SCSI error handler Alan Stern
2004-06-01 19:58 ` James Bottomley
2004-06-01 20:29   ` Alan Stern
2004-06-01 20:46     ` James Bottomley
2004-06-04 20:59       ` Alan Stern
2004-06-04 23:23         ` Mike Anderson
2004-06-05 22:41           ` Alan Stern
2004-06-08 16:26           ` James Bottomley
2004-06-08 17:19             ` Mike Anderson
2004-06-08 18:31             ` Alan Stern
2004-06-08 18:39               ` Mike Anderson
2004-06-08 22:00               ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox