]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: remove REQ_END
authorChristoph Hellwig <hch@lst.de>
Sat, 13 Sep 2014 23:40:08 +0000 (16:40 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 22 Sep 2014 18:00:07 +0000 (12:00 -0600)
commit0af697ab89f730daf073be0ca466a8092aeccf95
tree9b90e6c5b32e96b082ad5c135c22de2c9cc82b77
parenta9b0aec55b6efcd315a3578e810b1f29471591cb
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
drivers/scsi/scsi_lib.c
include/linux/blk-mq.h
include/linux/blk_types.h