[PATCH] bfq: Remove stale comment
From: Jan Kara <jack@suse.cz>
Date: 2021-01-13 13:06:01
Subsystem:
bfq i/o scheduler, block layer, the rest · Maintainers:
Yu Kuai, Jens Axboe, Linus Torvalds
From: Jan Kara <jack@suse.cz>
Date: 2021-01-13 13:06:01
Subsystem:
bfq i/o scheduler, block layer, the rest · Maintainers:
Yu Kuai, Jens Axboe, Linus Torvalds
Remove comment paragraph that was made stale by a fix of shallow depth
computation.
Fixes: 6d4d27358837 ("bfq: Fix computation of shallow depth")
Reported-by: Paolo Valente <redacted>
Signed-off-by: Jan Kara <jack@suse.cz>
---
block/bfq-iosched.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
index 9e4eb0fc1c16..149ab498f516 100644
--- a/block/bfq-iosched.c
+++ b/block/bfq-iosched.c@@ -6324,12 +6324,6 @@ static unsigned int bfq_update_depths(struct bfq_data *bfqd, /* * In-word depths if no bfq_queue is being weight-raised: * leaving 25% of tags only for sync reads. - * - * In next formulas, right-shift the value - * (1U<<bt->sb.shift), instead of computing directly - * (1U<<(bt->sb.shift - something)), to be robust against - * any possible value of bt->sb.shift, without having to - * limit 'something'. */ /* no more than 50% of tags for async I/O */ bfqd->word_depths[0][0] = max(bt->sb.depth >> 1, 1U);
--
2.26.2