Re: [PATCH v2 8/9] blk-mq: handle failure path for initializing hctx

2014-09-12 Thread Jens Axboe
On 2014-09-12 08:47, Ming Lei wrote: Failure of initializing one hctx isn't handled, so this patch introduces blk_mq_init_hctx() and its pair to handle it explicitly. Also this patch makes code cleaner. I like this, it's a good cleanup. -- Jens Axboe -- To unsubscribe from this list: send the

[PATCH v2 8/9] blk-mq: handle failure path for initializing hctx

2014-09-12 Thread Ming Lei
Failure of initializing one hctx isn't handled, so this patch introduces blk_mq_init_hctx() and its pair to handle it explicitly. Also this patch makes code cleaner. Signed-off-by: Ming Lei --- block/blk-mq.c | 114 ++-- 1 file changed, 69 ins