diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-08-09 01:49:47 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-09 21:09:20 +0200 |
commit | 0609e0efc5e15195ecf8c6d2f2e890d98760e337 (patch) | |
tree | 375a8c090f2b2022de3339bc3960e95b3878de7a /block/blk-mq.c | |
parent | block: pass in queue to inflight accounting (diff) | |
download | linux-0609e0efc5e15195ecf8c6d2f2e890d98760e337.tar.xz linux-0609e0efc5e15195ecf8c6d2f2e890d98760e337.zip |
block: make part_in_flight() take an array of two ints
Instead of returning the count that matches the partition, pass
in an array of two ints. Index 0 will be filled with the inflight
count for the partition in question, and index 1 will filled
with the root inflight count, if the partition passed in is not the
root.
This is in preparation for being able to calculate both in one
go.
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions