public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] block,bfq: Disable writeback throttling
@ 2017-09-14  7:14 oleksandr
  2017-09-19  7:03 ` Paolo Valente
  0 siblings, 1 reply; 4+ messages in thread
From: oleksandr @ 2017-09-14  7:14 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Paolo Valente, linux-block, linux-kernel, Luca Miccio

Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>

> Similarly to CFQ, BFQ has its write-throttling heuristics, and it
> is better not to combine them with further write-throttling
> heuristics of a different nature.
> So this commit disables write-back throttling for a device if BFQ
> is used as I/O scheduler for that device.
> 
> Signed-off-by: Luca Miccio <lucmiccio@gmail.com>
> Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
> ---
>  block/bfq-iosched.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH] block,bfq: Disable writeback throttling
@ 2017-09-08  9:50 Luca Miccio
  0 siblings, 0 replies; 4+ messages in thread
From: Luca Miccio @ 2017-09-08  9:50 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Paolo Valente, linux-block, linux-kernel, Luca Miccio

Similarly to CFQ, BFQ has its write-throttling heuristics, and it
is better not to combine them with further write-throttling
heuristics of a different nature.
So this commit disables write-back throttling for a device if BFQ
is used as I/O scheduler for that device.

Signed-off-by: Luca Miccio <lucmiccio@gmail.com>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
---
 block/bfq-iosched.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
index 436b6ca..4feae52 100644
--- a/block/bfq-iosched.c
+++ b/block/bfq-iosched.c
@@ -108,6 +108,7 @@
 #include "blk-mq-tag.h"
 #include "blk-mq-sched.h"
 #include "bfq-iosched.h"
+#include "blk-wbt.h"
 
 #define BFQ_BFQQ_FNS(name)						\
 void bfq_mark_bfqq_##name(struct bfq_queue *bfqq)			\
@@ -4760,7 +4761,7 @@ static int bfq_init_queue(struct request_queue *q, struct elevator_type *e)
 	bfq_init_root_group(bfqd->root_group, bfqd);
 	bfq_init_entity(&bfqd->oom_bfqq.entity, bfqd->root_group);
 
-
+	wbt_disable_default(q);
 	return 0;
 
 out_free:
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-03 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20170913100356.3649-1-lucmiccio@gmail.com>
2017-10-03 16:10 ` [PATCH] block,bfq: Disable writeback throttling lee.tibbert
2017-09-14  7:14 oleksandr
2017-09-19  7:03 ` Paolo Valente
  -- strict thread matches above, loose matches on Subject: below --
2017-09-08  9:50 Luca Miccio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox