]> 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)
commit946584b842fcc4fe622dec16ace597480b158313
treef83cf9acd09846f8236cb6c6e4541c5ed624b73a
parent6732d339b71d808f2aecaf0003819bddc41d8cba
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