summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-policy-smq.c
diff options
context:
space:
mode:
authorJoe Thornber2017-05-11 15:07:16 +0200
committerMike Snitzer2017-05-15 03:54:33 +0200
commit49b7f768900f4084a65c3689d955b2fceac39e53 (patch)
treecfd9685c74734879c00ab2861498e64de35bcd5e /drivers/md/dm-cache-policy-smq.c
parentdm cache: track all IO to the cache rather than just the origin device's IO (diff)
downloadkernel-qcow2-linux-49b7f768900f4084a65c3689d955b2fceac39e53.tar.gz
kernel-qcow2-linux-49b7f768900f4084a65c3689d955b2fceac39e53.tar.xz
kernel-qcow2-linux-49b7f768900f4084a65c3689d955b2fceac39e53.zip
dm cache: simplify the IDLE vs BUSY state calculation
Drop the MODERATE state since it wasn't buying us much. Also, in check_migrations(), prepare for the next commit ("dm cache policy smq: don't do any writebacks unless IDLE") by deferring to the policy to make the final decision on whether writebacks can be serviced. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-smq.c')
0 files changed, 0 insertions, 0 deletions