From 89f571f527d91e8b8a323ef95320c1fb82d747e4 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 19 Aug 2013 15:51:14 +1000 Subject: [PATCH] We should be using que_low to decrease scan sleep time in bflsc. --- driver-bflsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver-bflsc.c b/driver-bflsc.c index 476742fe..dac33f7b 100644 --- a/driver-bflsc.c +++ b/driver-bflsc.c @@ -1761,7 +1761,7 @@ static int64_t bflsc_scanwork(struct thr_info *thr) /* Increase slowly but decrease quickly */ if (min_queued > sc_info->que_full_enough && old_sleep_time < BFLSC_MAX_SLEEP) new_sleep_time = old_sleep_time * 21 / 20; - else if (min_queued < sc_info->que_watermark) + else if (min_queued < sc_info->que_low) new_sleep_time = old_sleep_time * 2 / 3; /* Do not sleep more than BFLSC_MAX_SLEEP so we can always