]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-tcp: have queue prod/cons send list become a llist
authorSagi Grimberg <sagi@grimberg.me>
Fri, 19 Jun 2020 00:30:22 +0000 (17:30 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 8 Jul 2020 14:16:18 +0000 (16:16 +0200)
commited83ae0a7510dbe06a999f7a4e9d1553bdbd318f
treee7a42d61ee3a858a193eeaca5e9a4d62dcf60bc1
parent2f2b75d4a29a44d30da67f7266c8bb2bf0ddee85
nvme-tcp: have queue prod/cons send list become a llist

The queue processing will splice to a queue local list, this should
alleviate some contention on the send_list lock, but also prepares
us to the next patch where we look on these lists for network stack
flag optimization.

Remove queue lock as its not used anymore.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
[hch: simplified a loop]
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/tcp.c