Re: [PATCH] block: Prevent hang_check firing during long I/O

From: Jens Axboe
Date: Fri Sep 24 2010 - 09:53:13 EST


On 2010-09-24 15:51, Mark Lord wrote:
> 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.

Applied, thanks.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/