]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Don't loop forever in xs_tcp_data_receive()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 12 Aug 2017 19:11:49 +0000 (15:11 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 16 Aug 2017 19:10:16 +0000 (15:10 -0400)
commitfa18c803b9836e49baf24879f121bb5e68ced12d
treebe327d7f519f65e32e7d4472a33942d9553fb83a
parent4bcb38c2545a3c50329ed360a2ef39518deeb918
SUNRPC: Don't loop forever in xs_tcp_data_receive()

Ensure that we don't hog the workqueue thread by requeuing the job
every 64 loops.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c