summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-06-04 20:40:58 -0700
committerJens Axboe <axboe@kernel.dk>2012-06-25 11:53:51 +0200
commit8a5ecdd42862bf87ceab00bf2a15d7eabf58c02d (patch)
tree36ff209f0655c5da9cfb7c5c6f6e9b9786841201 /virt
parentb1208b56f31408f7d8381ff5d08e970aa5ee761c (diff)
downloadblackbird-op-linux-8a5ecdd42862bf87ceab00bf2a15d7eabf58c02d.tar.gz
blackbird-op-linux-8a5ecdd42862bf87ceab00bf2a15d7eabf58c02d.zip
block: add q->nr_rqs[] and move q->rq.elvpriv to q->nr_rqs_elvpriv
Add q->nr_rqs[] which currently behaves the same as q->rq.count[] and move q->rq.elvpriv to q->nr_rqs_elvpriv. blk_drain_queue() is updated to use q->nr_rqs[] instead of q->rq.count[]. These counters separates queue-wide request statistics from the request list and allow implementation of per-queue request allocation. While at it, properly indent fields of struct request_list. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud