[PATCH] CONFIG_BLOCK: blk_congestion_wait() fix
authorAndrew Morton <akpm@osdl.org>
Thu, 31 Aug 2006 10:56:06 +0000 (12:56 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:52:33 +0000 (20:52 +0200)
commitbcfd8d36151e531e1c6c731f1fbf792509a1c494
tree6c8dec2cffc8310ecc09207aef9c2027a1c89003
parent5e6d12b2c8be2cac099df6dcb8b26884f24d2621
[PATCH] CONFIG_BLOCK: blk_congestion_wait() fix

Don't just do nothing: it'll cause busywaits all over writeback and page
reclaim.

For now, take a fixed-length nap.  Will improve when NFS starts waking up
throttled processes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h