]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: Set affinity after allocating request queues
authorKeith Busch <keith.busch@intel.com>
Thu, 3 Sep 2015 14:18:17 +0000 (08:18 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 23 Sep 2015 20:45:57 +0000 (14:45 -0600)
commit6c829c402b193569608c1e925b42044fa6ceedde
tree0fbe3bc3f63b56b0d491ca8f870b4672a2546f20
parentac3f949d2820cdd996aa4b4b3c14c4cb42df28e0
NVMe: Set affinity after allocating request queues

The asynchronous namespace scanning caused affinity hints to be set before
its tagset initialized, so there was no cpu mask to set the hint. This
patch moves the affinity hint setting to after namespaces are scanned.

Reported-by: 김경산 <ks0204.kim@samsung.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c