Re: [PATCH AUTOSEL 5.15 10/39] net/smc: Transfer remaining wait queue entries during fallback

From: Sasha Levin
Date: Fri Dec 03 2021 - 13:20:30 EST


On Thu, Nov 25, 2021 at 06:51:39PM -0800, Jakub Kicinski wrote:
On Thu, 25 Nov 2021 21:31:27 -0500 Sasha Levin wrote:
From: Wen Gu <guwen@xxxxxxxxxxxxxxxxx>

[ Upstream commit 2153bd1e3d3dbf6a3403572084ef6ed31c53c5f0 ]

The SMC fallback is incomplete currently. There may be some
wait queue entries remaining in smc socket->wq, which should
be removed to clcsocket->wq during the fallback.

For example, in nginx/wrk benchmark, this issue causes an
all-zeros test result:

Hold this one, please, there is a fix coming: 7a61432dc813 ("net/smc:
Avoid warning of possible recursive locking").

I'll grab that one too, thanks!

--
Thanks,
Sasha