]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: allocate flush_rq in blk_mq_init_flush()
authorMing Lei <ming.lei@canonical.com>
Thu, 25 Sep 2014 15:23:39 +0000 (23:23 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 25 Sep 2014 21:22:34 +0000 (15:22 -0600)
commite148942b6f478214193d5870a3a8013abedc18f0
tree89e14d77cb1e95f7742ee7395ed5ff7e84afc057
parent0e83f4861db8717e8248ba36cf7649d368175e05
blk-mq: allocate flush_rq in blk_mq_init_flush()

It is reasonable to allocate flush req in blk_mq_init_flush().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-flush.c
block/blk-mq.c
block/blk-mq.h