From: Mark Lord Date: Fri, 24 Sep 2010 13:51:13 +0000 (-0400) Subject: block: Prevent hang_check firing during long I/O X-Git-Tag: v2.6.37-rc1~168^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b1977698ceb4c4caa800d475127139da49966f9;p=pandora-kernel.git block: Prevent hang_check firing during long I/O During long I/O operations, the hang_check timer may fire, trigger stack dumps that unnecessarily alarm the user. Eg. hdparm --security-erase NULL /dev/sdb ## can take *hours* to complete So, if hang_check is armed, we should wake up periodically to prevent it from triggering. This patch uses a wake-up interval equal to half the hang_check timer period, which keeps overhead low enough. Signed-off-by: Mark Lord Signed-off-by: Jens Axboe --- Reading git-diff-tree failed