]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jan 2025 09:34:20 +0000 (10:34 +0100)
commit16b54ee81d8a44781ddeb5e577262d22c4e6c853
tree09858165d4499ba5ed33c7434c341d241b2b27c6
parent92d5139b91147ab372a17daf5dc27a5b9278e516
blk-mq: register cpuhp callback after hctx is added to xarray table

[ Upstream commit 4bf485a7db5d82ddd0f3ad2b299893199090375e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
block/blk-mq.c