* scsi_eh_* needs to be ran even during suspend
@ 2003-01-19 12:14 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2003-01-19 12:14 UTC (permalink / raw)
To: torvalds, kernel list, Rusty trivial patch monkey Russell
...because suspend does not prevent hard disk from reporting
error. Here's a patch, please apply.
Pavel
--- clean/drivers/scsi/scsi_error.c 2003-01-17 23:12:23.000000000 +0100
+++ linux-swsusp/drivers/scsi/scsi_error.c 2003-01-19 12:28:00.000000000 +0100
@@ -1594,6 +1595,7 @@
*/
sprintf(current->comm, "scsi_eh_%d", shost->host_no);
+ current->flags |= PF_IOTHREAD;
shost->eh_wait = &sem;
shost->ehandler = current;
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-19 12:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-19 12:14 scsi_eh_* needs to be ran even during suspend Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®