diff options
author | Ming Lei <ming.lei@canonical.com> | 2014-09-25 23:23:38 +0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-25 15:22:32 -0600 |
commit | 08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8 (patch) | |
tree | 1f852a126a0f5282cd9c39f4540cfb1821f6d18d /block/blk-mq.h | |
parent | fe052529e465daff25225aac769828baa88b7252 (diff) | |
download | linux-08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8.tar.bz2 |
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>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions