diff options
author | Stephen Bates <sbates@raithlin.com> | 2017-04-20 15:29:16 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-20 15:29:16 -0600 |
commit | a37244e4cc5766af68004ad6249fcd0e4694b441 (patch) | |
tree | 6c5cf6437a62483f2be5f5c924fbfecc7b6d3c3d /block/ioprio.c | |
parent | caf7df12272118e0274c8353bcfeaf60c7743a47 (diff) |
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: Stephen Bates <sbates@raithlin.com>
Fixed up Kyber scheduler stat callback.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions