]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d7e54e11212a9abf715a41921acc38d749eac4f
treef83cf9acd09846f8236cb6c6e4541c5ed624b73a
parent74c3c43293b1c06696164f82f463b2eb86266851
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