diff options
author | Ming Lei <ming.lei@redhat.com> | 2019-04-30 09:52:26 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-04 07:24:06 -0600 |
commit | 7c6c5b7c9186e3fb5b10afb8e5f710ae661144c6 (patch) | |
tree | 004fa2429ed54cb2d2bf5590a4cf5d4c448d404d /block/blk-map.c | |
parent | c7e2d94b3d1634988a95ac4d77a72dc7487ece06 (diff) | |
download | linux-7c6c5b7c9186e3fb5b10afb8e5f710ae661144c6.tar.bz2 |
blk-mq: split blk_mq_alloc_and_init_hctx into two parts
Split blk_mq_alloc_and_init_hctx into two parts, and one is
blk_mq_alloc_hctx() for allocating all hctx resources, another
is blk_mq_init_hctx() for initializing hctx, which serves as
counter-part of blk_mq_exit_hctx().
Cc: Dongli Zhang <dongli.zhang@oracle.com>
Cc: James Smart <james.smart@broadcom.com>
Cc: Bart Van Assche <bart.vanassche@wdc.com>
Cc: linux-scsi@vger.kernel.org
Cc: Martin K . Petersen <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: James E . J . Bottomley <jejb@linux.vnet.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions