Skip to content
Commit 97dfb203 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm cache policy smq: cleanup free_target_met() and clean_target_met()



Depending on the passed @idle arg, there may be no need to calculate
'nr_free' or 'nr_clean' respectively in free_target_met() and
clean_target_met().

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent ce1d64e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment