lkml.org 
[lkml]   [2003]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectscsi_eh_* needs to be ran even during suspend

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

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.040 / U:1.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site