scsi_eh_* needs to be ran even during suspend

From: Pavel Machek (pavel@ucw.cz)
Date: Sun Jan 19 2003 - 07:14:20 EST


...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/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:21 EST