From: Tejun Heo Date: Tue, 5 Jun 2012 03:40:58 +0000 (-0700) Subject: block: add q->nr_rqs[] and move q->rq.elvpriv to q->nr_rqs_elvpriv X-Git-Tag: v3.6-rc1~6^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5ecdd42862bf87ceab00bf2a15d7eabf58c02d;p=pandora-kernel.git 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 Acked-by: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed