scsi_eh_* needs to be ran even during suspend

Pavel Machek (pavel@ucw.cz)
Sun, 19 Jan 2003 13:14:20 +0100


...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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/