* [PATCH] block,bfq: Disable writeback throttling
@ 2017-09-08 9:50 Luca Miccio
0 siblings, 0 replies; 3+ 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 [flat|nested] 3+ messages in thread
* Re: [PATCH] block,bfq: Disable writeback throttling
@ 2017-09-14 7:14 oleksandr
2017-09-19 7:03 ` Paolo Valente
0 siblings, 1 reply; 3+ 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] 3+ messages in thread
* Re: [PATCH] block,bfq: Disable writeback throttling
2017-09-14 7:14 oleksandr
@ 2017-09-19 7:03 ` Paolo Valente
0 siblings, 0 replies; 3+ messages in thread
From: Paolo Valente @ 2017-09-19 7:03 UTC (permalink / raw)
To: oleksandr; +Cc: Jens Axboe, linux-block, Linux Kernel Mailing List, Luca Miccio
> Il giorno 14 set 2017, alle ore 09:14, oleksandr@natalenko.name ha scritto:
>
> 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(-)
Hi Jens,
did you have time to look into this?
Thanks,
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-19 7:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-08 9:50 [PATCH] block,bfq: Disable writeback throttling Luca Miccio
2017-09-14 7:14 oleksandr
2017-09-19 7:03 ` Paolo Valente
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®