]> git.baikalelectronics.ru Git - kernel.git/commit
dm cache policy smq: don't do any writebacks unless IDLE
authorJoe Thornber <ejt@redhat.com>
Thu, 11 May 2017 13:09:04 +0000 (09:09 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 15 May 2017 01:54:33 +0000 (21:54 -0400)
commit9104fa86d103d96431117ffdc089edcd0560ce3c
tree3409b151cf068286da7f0bd4d2a9b15b44139737
parent2767602d3267d413e8d5ec17ff7befafbeabe83c
dm cache policy smq: don't do any writebacks unless IDLE

If there are no clean blocks to be demoted the writeback will be
triggered at that point.  Preemptively writing back can hurt high IO
load scenarios.

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