blk-mq: remove REQ_END
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:43:56 +0000 (09:43 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:54 +0000 (12:54 -0600)
commit18db3f00344c6879bc6144ab0ca5442ab205604a
tree78c77e59cee4a5c5368eeb8bd1cace86647ff607
parent9a7b7a81d5aea2dca5d0181d4e0fa17c73d10722
blk-mq: remove REQ_END

Pass an explicit parameter for the last request in a batch to ->queue_rq
instead of using a request flag.  Besides being a cleaner and non-stateful
interface this is also required for the next patch, which fixes the blk-mq
I/O submission code to not start a time too early.

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