diff options
Diffstat (limited to 'drivers/md/dm-cache-policy-smq.c')
-rw-r--r-- | drivers/md/dm-cache-policy-smq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-cache-policy-smq.c b/drivers/md/dm-cache-policy-smq.c index a177559f2049..5aa8f43856c5 100644 --- a/drivers/md/dm-cache-policy-smq.c +++ b/drivers/md/dm-cache-policy-smq.c | |||
@@ -1192,7 +1192,7 @@ static void queue_demotion(struct smq_policy *mq) | |||
1192 | 1192 | ||
1193 | e = q_peek(&mq->clean, mq->clean.nr_levels / 2, true); | 1193 | e = q_peek(&mq->clean, mq->clean.nr_levels / 2, true); |
1194 | if (!e) { | 1194 | if (!e) { |
1195 | if (!clean_target_met(mq, false)) | 1195 | if (!clean_target_met(mq, true)) |
1196 | queue_writeback(mq); | 1196 | queue_writeback(mq); |
1197 | return; | 1197 | return; |
1198 | } | 1198 | } |