Home
last modified time | relevance | path

Searched hist:"68497092 bde9f53e35cafeb52fa9a267ebe0d9b1" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/block/
H A Dblk-stat.hdiff 68497092bde9f53e35cafeb52fa9a267ebe0d9b1 Tue Dec 14 18:23:05 CST 2021 Jens Axboe <axboe@kernel.dk> block: make queue stat accounting a reference

kyber turns on IO statistics when it is loaded on a queue, which means
that even if kyber is then later unloaded, we're still stuck with stats
enabled on the queue.

Change the account enabled from a bool to an int, and pair the enable call
with the equivalent disable call. This ensures that stats gets turned off
again appropriately.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
H A Dblk-stat.cdiff 68497092bde9f53e35cafeb52fa9a267ebe0d9b1 Tue Dec 14 18:23:05 CST 2021 Jens Axboe <axboe@kernel.dk> block: make queue stat accounting a reference

kyber turns on IO statistics when it is loaded on a queue, which means
that even if kyber is then later unloaded, we're still stuck with stats
enabled on the queue.

Change the account enabled from a bool to an int, and pair the enable call
with the equivalent disable call. This ensures that stats gets turned off
again appropriately.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
H A Dkyber-iosched.cdiff 68497092bde9f53e35cafeb52fa9a267ebe0d9b1 Tue Dec 14 18:23:05 CST 2021 Jens Axboe <axboe@kernel.dk> block: make queue stat accounting a reference

kyber turns on IO statistics when it is loaded on a queue, which means
that even if kyber is then later unloaded, we're still stuck with stats
enabled on the queue.

Change the account enabled from a bool to an int, and pair the enable call
with the equivalent disable call. This ensures that stats gets turned off
again appropriately.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>