Thread (5 messages) 5 messages, 3 authors, 2021-01-13

Re: [PATCH] bfq: Fix computation of shallow depth

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-01-05 16:30:14

On 1/5/21 9:21 AM, Jan Kara wrote:
On Thu 10-12-20 10:44:33, Jan Kara wrote:
quoted
BFQ computes number of tags it allows to be allocated for each request type
based on tag bitmap. However it uses 1 << bitmap.shift as number of
available tags which is wrong. 'shift' is just an internal bitmap value
containing logarithm of how many bits bitmap uses in each bitmap word.
Thus number of tags allowed for some request types can be far to low.
Use proper bitmap.depth which has the number of tags instead.

Signed-off-by: Jan Kara <jack@suse.cz>
Ping Jens? I think it has fallen through the cracks?
More like waiting for Paolo to take a look. Don't mind taking it, and
I'll do that now, but I do expect him to review any BFQ patches being
sent out.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help