Commit 4bf485a
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>1 parent d64fd5f commit 4bf485a
1 file changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3824 | 3824 | | |
3825 | 3825 | | |
3826 | 3826 | | |
3827 | | - | |
3828 | | - | |
3829 | | - | |
3830 | | - | |
3831 | | - | |
3832 | 3827 | | |
3833 | 3828 | | |
3834 | 3829 | | |
3835 | 3830 | | |
3836 | | - | |
| 3831 | + | |
3837 | 3832 | | |
3838 | 3833 | | |
3839 | 3834 | | |
| |||
3842 | 3837 | | |
3843 | 3838 | | |
3844 | 3839 | | |
| 3840 | + | |
| 3841 | + | |
| 3842 | + | |
| 3843 | + | |
| 3844 | + | |
3845 | 3845 | | |
3846 | 3846 | | |
3847 | 3847 | | |
| |||
3850 | 3850 | | |
3851 | 3851 | | |
3852 | 3852 | | |
3853 | | - | |
3854 | | - | |
| 3853 | + | |
3855 | 3854 | | |
3856 | 3855 | | |
3857 | 3856 | | |
| |||
0 commit comments