From: Andrew Morton Date: Wed, 15 Feb 2006 23:17:37 +0000 (-0800) Subject: [PATCH] ide: touch softlockup detector during pio X-Git-Tag: v2.6.16-rc4~51 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=651c29a17f7ea0204dacbc2a5042d57b1c9e2e37;p=linux-2.6-omap-h63xx.git [PATCH] ide: touch softlockup detector during pio We're getting some softlockup false positives during heavy PIO operations. So poke the lockup detector. Cc: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 9834dce4e20..0606bd2f602 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -314,6 +315,8 @@ static void ide_pio_datablock(ide_drive_t *drive, struct request *rq, if (rq->bio) /* fs request */ rq->errors = 0; + touch_softlockup_watchdog(); + switch (drive->hwif->data_phase) { case TASKFILE_MULTI_IN: case TASKFILE_MULTI_OUT: