[PATCH 1/8] blk-mq: allocate flush_rq in blk_mq_init_flush()

2014-09-09 Thread Ming Lei
It is reasonable to allocate flush req in blk_mq_init_flush(). Signed-off-by: Ming Lei ming@canonical.com --- block/blk-flush.c | 11 ++- block/blk-mq.c| 16 ++-- block/blk-mq.h|2 +- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git

Re: [PATCH 1/8] blk-mq: allocate flush_rq in blk_mq_init_flush()

2014-09-09 Thread Christoph Hellwig
On Tue, Sep 09, 2014 at 09:05:42PM +0800, Ming Lei wrote: It is reasonable to allocate flush req in blk_mq_init_flush(). Signed-off-by: Ming Lei ming@canonical.com Looks good, Reviewed-by: Christoph Hellwig h...@lst.de -- To unsubscribe from this list: send the line unsubscribe