1
0
Files
linux/block
Tejun Heo 481a7d6479 block: fix drain_all condition in blk_drain_queue()
When trying to drain all requests, blk_drain_queue() checked only
q->rq.count[]; however, this only tracks REQ_ALLOCED requests.  This
patch updates blk_drain_queue() such that it looks at all the counters
and queues so that request_queue is actually empty on completion.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2011-12-14 00:33:37 +01:00
..
2011-12-14 00:33:37 +01:00
2011-12-14 00:33:37 +01:00
2011-12-14 00:33:37 +01:00
2011-12-14 00:33:37 +01:00
2011-07-31 22:05:09 +02:00
2011-07-31 22:05:09 +02:00