summaryrefslogtreecommitdiffstats
path: root/block/kyber-iosched.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-04-14 01:00:01 -0700
committerJens Axboe <axboe@fb.com>2017-04-14 14:06:57 -0600
commitc05f8525f67b7d6489b0502211d4ed35622d9beb (patch)
treefe474e51721e497374bbf6e674f883e54138e699 /block/kyber-iosched.c
parent5b72727299307e53888277729f980ab03264dac8 (diff)
downloadlinux-0-day-c05f8525f67b7d6489b0502211d4ed35622d9beb.tar.gz
blk-mq-sched: make completed_request() callback more useful
Currently, this callback is called right after put_request() and has no distinguishable purpose. Instead, let's call it before put_request() as soon as I/O has completed on the request, before we account it in blk-stat. With this, Kyber can enable stats when it sees a latency outlier and make sure the outlier gets accounted. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/kyber-iosched.c')
0 files changed, 0 insertions, 0 deletions