bcache: New writeback PD controller
authorKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 21:58:34 +0000 (13:58 -0800)
committerKent Overstreet <kmo@daterainc.com>
Mon, 16 Dec 2013 22:22:59 +0000 (14:22 -0800)
commit16749c23c00c686ed168471963e3ddb0f3fcd855
treec64fc28761ab499bbcdcf1f626576d1781c87ba9
parent6d3d1a9c542b19dff1c7d7c8354d0869e4655287
bcache: New writeback PD controller

The old writeback PD controller could get into states where it had throttled all
the way down and take way too long to recover - it was too complicated to really
understand what it was doing.

This rewrites a good chunk of it to hopefully be simpler and make more sense,
and it also pays more attention to units which should make the behaviour a bit
easier to understand.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/bcache.h
drivers/md/bcache/sysfs.c
drivers/md/bcache/util.c
drivers/md/bcache/writeback.c