OSDN Git Service

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)
commitf7790e5de92a3b88e74704a6cb2276c09c32f511
tree809af3624b821a464e755f9a30bda1db4d795c5d
parent0b85f59d30b91bd2b93ea7ef0816a4b7e7039e8c
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