+1
−1
Loading
If an hctx has no software ctx mapped, blk_mq_map_swqueue() never allocates tags and leaves hctx->tags NULL. The CPU hotplug offline notifier can still run for that hctx, return early since hctx cannot hold any requests. Signed-off-by:Cong Zhang <cong.zhang@oss.qualcomm.com> Fixes: bf0beec0 ("blk-mq: drain I/O when all CPUs in a hctx are offline") Reviewed-by:
Ming Lei <ming.lei@redhat.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>