public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* sleeping in scsi EH
@ 2005-05-27  2:26 Jeff Garzik
  2005-05-27  7:09 ` Christoph Hellwig
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Garzik @ 2005-05-27  2:26 UTC (permalink / raw)
  To: James Bottomley, SCSI Mailing List


What are the rules for sleeping (msleep, etc.) in the normal EH hooks?

         int (* eh_abort_handler)(struct scsi_cmnd *);
         int (* eh_device_reset_handler)(struct scsi_cmnd *);
         int (* eh_bus_reset_handler)(struct scsi_cmnd *);
         int (* eh_host_reset_handler)(struct scsi_cmnd *);

If I could sleep in these functions, then I could eliminate libata's use 
of ->eh_strategy_handler().

	Jeff




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

end of thread, other threads:[~2005-05-27 17:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-27  2:26 sleeping in scsi EH Jeff Garzik
2005-05-27  7:09 ` Christoph Hellwig
2005-05-27  8:37   ` Jeff Garzik
2005-05-27  8:42     ` Christoph Hellwig
2005-05-27 10:45       ` [PATCH] " Jeff Garzik
2005-05-27 10:52         ` Christoph Hellwig
2005-05-27 17:53           ` Jeff Garzik
2005-05-27 14:10         ` Brian King
2005-05-27 14:17           ` Matthew Wilcox
2005-05-27 14:35             ` Brian King
2005-05-27 16:54           ` Jeff Garzik
2005-05-27 17:35             ` Brian King
2005-05-27 15:01         ` Luben Tuikov

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