Skip to content
Commit 1bcb1ead authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

blk-mq: allocate flush_rq in blk_mq_init_flush()



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

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMing Lei <ming.lei@canonical.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 08e98fc6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment