blk-mq: do not initialize req->special
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2014 08:30:07 +0000 (10:30 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 15 Apr 2014 20:03:02 +0000 (14:03 -0600)
commit9d74e25737d73e93ccddeb5a61bcd56b7b8eb57b
treec36c53290f8b5ed7f1ae9a89b534a9c3155c0491
parent742ee69b92d9559e968f70cf0a49157866f8fbef
blk-mq: do not initialize req->special

Drivers can reach their private data easily using the blk_mq_rq_to_pdu
helper and don't need req->special.  By not initializing it code can
be simplified nicely, and we also shave off a few more instructions from
the I/O path.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-flush.c
block/blk-mq.c
block/blk-mq.h
drivers/block/null_blk.c
drivers/block/virtio_blk.c