]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Set affinity after allocating request queues
authorKeith Busch <keith.busch@intel.com>
Sun, 18 Dec 2016 03:03:47 +0000 (19:03 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:28 +0000 (13:40 -0700)
commit28a8ed941d58d06f88f9fe9a05ca2c96d6d8dd8e
tree5247b1ee19228fdbd0f794e8b4748faf93b02244
parent40c256c1b7161800c767d7af8aab78761be1eae2
NVMe: Set affinity after allocating request queues
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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>
(cherry picked from commit bda4e0fb3126aca15586d165b5a15a37edc0a984)

Orabug: 25130845
Conflicts:
        Manually patched the commit.
        drivers/block/nvme-core.c

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/block/nvme-core.c