]> 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)
commit85428b784028edfd8ce50a9e7936ee31c4a3bb81
tree809af3624b821a464e755f9a30bda1db4d795c5d
parentf61833ecd289fec642d325e2036ab21e19b5e4c4
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