Skip to contentSkip to conversation

scsi_eh_* needs to be ran even during suspend

PATCH Pavel Machek 1 participant 1 message Jan 19, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

...because suspend does not prevent hard disk from reporting error. Here's a patch, please apply.
Pavel

drivers/scsi/scsi_error.c +1 -0
@@ -1594,6 +1595,7 @@
 	 */
 
 	sprintf(current->comm, "scsi_eh_%d", shost->host_no);
+	current->flags |= PF_IOTHREAD;
 
 	shost->eh_wait = &sem;
 	shost->ehandler = current;
Signature · 2 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?