summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-target.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-10-24 14:10:28 -0400
committerMike Snitzer <snitzer@redhat.com>2013-11-09 18:20:25 -0500
commitc86c30706caa02ffe303e6b87d53ef6a077d4cca (patch)
treeadafaec4532de7ebbecf8b413ba380a7d2aa9bc7 /drivers/md/dm-cache-target.c
parent01911c19bea63b1a958b9d9024504c2e9079f155 (diff)
downloadlinux-c86c30706caa02ffe303e6b87d53ef6a077d4cca.tar.gz
linux-c86c30706caa02ffe303e6b87d53ef6a077d4cca.tar.bz2
linux-c86c30706caa02ffe303e6b87d53ef6a077d4cca.zip
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>
Diffstat (limited to 'drivers/md/dm-cache-target.c')
0 files changed, 0 insertions, 0 deletions