]> git.baikalelectronics.ru Git - kernel.git/commit
dm cache policy smq: only demote entries in bottom half of the clean multiqueue
authorJoe Thornber <ejt@redhat.com>
Thu, 11 May 2017 09:07:34 +0000 (05:07 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 15 May 2017 01:54:32 +0000 (21:54 -0400)
commit42bcd960bc7a58fedb985cacc43686bf225f73c4
tree4c77d6484c743c7cbd8b0138e336cb229b7194bf
parent441c4345ada9957a776e2790c9d528d729993530
dm cache policy smq: only demote entries in bottom half of the clean multiqueue

Heavy IO load may mean there are very few clean blocks in the cache, and
we risk demoting entries that get hit a lot.

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