SUNRPC: Chunk reading of replies from the server
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 14 Jan 2018 20:47:06 +0000 (15:47 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 15 Jan 2018 04:06:30 +0000 (23:06 -0500)
commit3d188805f83250409fc251bfb0a699810086885b
treef83cf9acd09846f8236cb6c6e4541c5ed624b73a
parent024fbf9c2eae6fa10844a9a3588a3d61c89683e8
SUNRPC: Chunk reading of replies from the server

Read the TCP data in chunks of max 2MB so that we do not hog the
socket lock.

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