diff options
author | Joe Thornber <[email protected]> | 2017-05-03 12:01:27 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2017-05-04 10:27:47 -0400 |
commit | ce1d64e84dbea98d41deaf5db0fe91fd729ad2cd (patch) | |
tree | 7d56b14e5ae0e3eccdbf8c6bb1d197072250ce6b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 7b66f13207e60e7c550af730986e77e38a0c69a3 (diff) |
dm cache policy smq: allow demotions to happen even during continuous IO
dm-cache's smq policy tries hard to do it's work during the idle periods
when there is no IO. But if there are no idle periods (eg, a long fio
run) we still need to allow some demotions and promotions to occur.
To achieve this, pass @idle=true to queue_promotion()'s
free_target_met() call so that free_target_met() doesn't short-circuit
the possibility of demotion simply because it isn't an idle period.
Fixes: b29d4986d0 ("dm cache: significant rework to leverage dm-bio-prison-v2")
Reported-by: John Harrigan <[email protected]>
Signed-off-by: Joe Thornber <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions