]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: realloc hctx when hw queue is mapped to another node
authorJianchao Wang <jianchao.w.wang@oracle.com>
Fri, 12 Oct 2018 10:07:27 +0000 (18:07 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 13 Oct 2018 21:42:02 +0000 (15:42 -0600)
commit05102fa80bf373f2bb0efd95e36374bf1b69b12b
tree6c3cba5436908d5323a991d579ff8f9be88f122d
parentd7021fc91cd9410386a1f1590837fa8e73b74ea0
blk-mq: realloc hctx when hw queue is mapped to another node

When the hw queues and mq_map are updated, a hctx could be mapped
to a different numa node. At this moment, we need to realloc the
hctx. If fail to do that, go on using previous hctx.

Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c