Skip to contentSkip to conversation

bfq: Remove stale comment

PATCH New Jan Kara 1 participant 1 message Jan 13, 2021

Subsystems (2)
lore
Share & tools
lore

Jan Kara

author
#0 lore raw

PATCH 1/1 bfq: Remove stale comment

Remove comment paragraph that was made stale by a fix of shallow depth computation.

Fixes 6d4d27358837 ("bfq: Fix computation of shallow depth")
---
 block/bfq-iosched.c | 6 ------
 1 file changed, 6 deletions(-)
block/bfq-iosched.c +0 -6
index 9e4eb0fc1c16..149ab498f516 100644
@@ -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);
Signature · 1 line
2.26.2