summaryrefslogtreecommitdiff
path: root/rust/kernel/mm.rs
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2025-11-01 21:31:16 +0800
committerJens Axboe <axboe@kernel.dk>2025-11-03 08:34:59 -0700
commit011af85ccd871526df36988c7ff20ca375fb804d (patch)
tree409fe9ea5d3e4d229dc91470466160df1caf3bc2 /rust/kernel/mm.rs
parentbc49af56eea866c34d21bf582f65b02fc8c06ec3 (diff)
ublk: reorder tag_set initialization before queue allocation
Move ublk_add_tag_set() before ublk_init_queues() in the device initialization path. This allows us to use the blk-mq CPU-to-queue mapping established by the tag_set to determine the appropriate NUMA node for each queue allocation. The error handling paths are also reordered accordingly. Reviewed-by: Caleb Sander Mateos <csander@purestorage.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/mm.rs')
0 files changed, 0 insertions, 0 deletions