summaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorMark Lord <kernel@teksavvy.com>2010-09-24 09:51:13 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-09-24 15:52:09 +0200
commit4b1977698ceb4c4caa800d475127139da49966f9 (patch)
tree9302bafc15dfb6d3923febaa982feb2cb12063cb /block/blk-settings.c
parent749ef9f8423054e326f3a246327ed2db4b6d395f (diff)
downloadop-kernel-dev-4b1977698ceb4c4caa800d475127139da49966f9.zip
op-kernel-dev-4b1977698ceb4c4caa800d475127139da49966f9.tar.gz
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 <mlord@pobox.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud