| commit | 08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8 | [log] [tgz] |
|---|---|---|
| author | Ming Lei <ming.lei@canonical.com> | Thu Sep 25 23:23:38 2014 +0800 |
| committer | Jens Axboe <axboe@fb.com> | Thu Sep 25 15:22:32 2014 -0600 |
| tree | 1f852a126a0f5282cd9c39f4540cfb1821f6d18d | |
| parent | fe052529e465daff25225aac769828baa88b7252 [diff] |
blk-mq: handle failure path for initializing hctx 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. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Jens Axboe <axboe@fb.com>