]> git.baikalelectronics.ru Git - kernel.git/commit
dm cache: be much more aggressive about promoting writes to discarded blocks
authorJoe Thornber <ejt@redhat.com>
Thu, 24 Oct 2013 18:10:28 +0000 (14:10 -0400)
committerMike Snitzer <snitzer@redhat.com>
Sat, 9 Nov 2013 23:20:25 +0000 (18:20 -0500)
commitf39b177dd3cb8941eef36f5dce15a6cd6eb0e349
treeadafaec4532de7ebbecf8b413ba380a7d2aa9bc7
parentc75aa961b2d9e867d80f9e4eedf0ab16a186cc2c
dm cache: be much more aggressive about promoting writes to discarded blocks

Previously these promotions only got priority if there were unused cache
blocks.  Now we give them priority if there are any clean blocks in the
cache.

The fio_soak_test in the device-mapper-test-suite now gives uniform
performance across subvolumes (~16 seconds).

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-policy-mq.c