]> git.baikalelectronics.ru Git - kernel.git/commit
dm cache policy smq: make the cleaner policy write-back more aggressively
authorJoe Thornber <ejt@redhat.com>
Fri, 31 Mar 2017 14:46:54 +0000 (10:46 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 31 Mar 2017 15:41:05 +0000 (11:41 -0400)
commitcc7e394024770d4bfd8463fab1a9e2e262a7d7c1
tree2b2f2007229a2ec5bb26cb4edd0dd81216f43959
parent449b668ce0b9069fcaafa6344c7f10fa2ba9632e
dm cache policy smq: make the cleaner policy write-back more aggressively

By ignoring the sentinels the cleaner policy is able to write-back dirty
cache data much faster.  There is no reason to respect the sentinels,
which denote that a block was changed recently, when using the cleaner
policy given that the cleaner is tasked with writing back all dirty
data.

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