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)
commit8d6f97d698b2b9e71124ba95688a6bf1adad5055
treebe327d7f519f65e32e7d4472a33942d9553fb83a
parentc89091c88db768e3d28992023ca2cff6636c402b
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