block: Stop abusing rq->csd.list in blk-softirq
authorJan Kara <jack@suse.cz>
Mon, 24 Feb 2014 15:39:54 +0000 (16:39 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 24 Feb 2014 22:46:42 +0000 (14:46 -0800)
commit6d113398dcf4dfcd9787a4ead738b186f7b7ff0f
tree6d49945269bf454cf1682890d1f10789f23ca26d
parentd9a74df512e44580a34bf6e70f5d08c126507354
block: Stop abusing rq->csd.list in blk-softirq

Abusing rq->csd.list for a list of requests to complete is rather ugly.
We use rq->queuelist instead which is much cleaner. It is safe because
queuelist is used by the block layer only for requests waiting to be
submitted to a device. Thus it is unused when irq reports the request IO
is finished.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-softirq.c