]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet-tcp: have queue io_work context run on sock incoming cpu
authorMark Wunderlich <mark.wunderlich@intel.com>
Fri, 28 Aug 2020 01:00:53 +0000 (01:00 +0000)
committerChristoph Hellwig <hch@lst.de>
Sun, 27 Sep 2020 07:14:18 +0000 (09:14 +0200)
commitfdb835c04406e60d3d4e8200abe57fbcdbc61084
tree809af3624b821a464e755f9a30bda1db4d795c5d
parentf3521ebd76c6d9f291b0263e4ec4fc6d2a9cca3f
nvmet-tcp: have queue io_work context run on sock incoming cpu

No real good need to spread queues artificially. Usually the
target will serve multiple hosts, and it's better to run on the socket
incoming cpu for better affinitization rather than spread queues on all
online cpus.

We rely on RSS to spread the work around sufficiently.

Signed-off-by: Mark Wunderlich <mark.wunderlich@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/tcp.c