writeback: disable periodic old data writeback for !dirty_writeback_centisecs
commitff021ea1d801d155ce2ee1f9c867f1ced59ef4ab
authorJens Axboe <jens.axboe@oracle.com>
Mon, 17 May 2010 10:51:03 +0000 (17 12:51 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:21 +0000 (5 11:22 -0700)
treea918218fe9a41bba0d61ead2fdb8a2f9050063b2
parente0d3a4aeaff41e8cac4fc416fda9978610ff9f91
writeback: disable periodic old data writeback for !dirty_writeback_centisecs

commit 69b62d01ec44fe0d505d89917392347732135a4d upstream.

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().

Reported-by: Justin Maggard <jmaggard10@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/fs-writeback.c