]> www.infradead.org Git - nvme.git/commit
blk-mq: register cpuhp callback after hctx is added to xarray table
authorMing Lei <ming.lei@redhat.com>
Fri, 6 Dec 2024 11:16:06 +0000 (19:16 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 6 Dec 2024 16:48:46 +0000 (09:48 -0700)
commit4bf485a7db5d82ddd0f3ad2b299893199090375e
tree2e5cc228efdd0a469ee266e3142deda0d5601308
parentd64fd5f77758d234daf16683e1d4305ffc6a05c5
blk-mq: register cpuhp callback after hctx is added to xarray table

We need to retrieve 'hctx' from xarray table in the cpuhp callback, so the
callback should be registered after this 'hctx' is added to xarray table.

Cc: Reinette Chatre <reinette.chatre@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Peter Newman <peternewman@google.com>
Cc: Babu Moger <babu.moger@amd.com>
Cc: Luck Tony <tony.luck@intel.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20241206111611.978870-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c