Skip to content
Commit a37244e4 authored by Stephen Bates's avatar Stephen Bates Committed by Jens Axboe
Browse files

blk-stat: convert blk-stat bucket callback to signed



In order to allow for filtering of IO based on some other properties
of the request than direction we allow the bucket function to return
an int.

If the bucket callback returns a negative do no count it in the stats
accumulation.

Signed-off-by: default avatarStephen Bates <sbates@raithlin.com>

Fixed up Kyber scheduler stat callback.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent caf7df12
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment