commit | 97dfb20309e0ad4fa22deb5bc5ed85604d5014ef | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Thu May 04 10:04:18 2017 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Thu May 04 10:27:47 2017 -0400 |
tree | 0c8cb574c9688322cb4bf061d648e2e43dde8b79 | |
parent | ce1d64e84dbea98d41deaf5db0fe91fd729ad2cd [diff] |
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: Mike Snitzer <snitzer@redhat.com>