summaryrefslogtreecommitdiffstats
path: root/block/blk-flush.c
diff options
context:
space:
mode:
authorMing Lei2014-09-25 17:23:38 +0200
committerJens Axboe2014-09-25 23:22:32 +0200
commit08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8 (patch)
tree1f852a126a0f5282cd9c39f4540cfb1821f6d18d /block/blk-flush.c
parentscsi: move blk_mq_start_request call earlier (diff)
downloadkernel-qcow2-linux-08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8.tar.gz
kernel-qcow2-linux-08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8.tar.xz
kernel-qcow2-linux-08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8.zip
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-flush.c')
0 files changed, 0 insertions, 0 deletions