commit | a37244e4cc5766af68004ad6249fcd0e4694b441 | [log] [tgz] |
---|---|---|
author | Stephen Bates <sbates@raithlin.com> | Thu Apr 20 15:29:16 2017 -0600 |
committer | Jens Axboe <axboe@fb.com> | Thu Apr 20 15:29:16 2017 -0600 |
tree | 6c5cf6437a62483f2be5f5c924fbfecc7b6d3c3d | |
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>