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)
commit15ec928a65e0528ef4999e2947b4802b772f0891
treee7a42d61ee3a858a193eeaca5e9a4d62dcf60bc1
parentca8f4beebfb4979acb664e02365ef6e662ef95b0
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