writeback: disable periodic old data writeback for !dirty_writeback_centisecs
authorJens Axboe <jens.axboe@oracle.com>
Mon, 17 May 2010 10:51:03 +0000 (12:51 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 17 May 2010 10:51:03 +0000 (12:51 +0200)
commit69b62d01ec44fe0d505d89917392347732135a4d
treeda40561f3d87ee1073e92ca925ed3ed36708a1d7
parent2395e463fefd4aa8b784787e926e9b84e216d14f
writeback: disable periodic old data writeback for !dirty_writeback_centisecs

Prior to 2.6.32, setting /proc/sys/vm/dirty_writeback_centisecs disabled
periodic dirty writeback from kupdate. This got broken and now causes
excessive sys CPU usage if set to zero, as we'll keep beating on
schedule().

Cc: stable@kernel.org
Reported-by: Justin Maggard <jmaggard10@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fs-writeback.c