summaryrefslogtreecommitdiff
path: root/net/sunrpc/sysctl.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2020-09-28 20:09:01 +0300
committerJ. Bruce Fields <bfields@redhat.com>2020-10-12 17:29:45 +0300
commit9f0b5792f07d8f0745c3620d577d6930ff2a96fd (patch)
treeaaa8d5b79d184999aa2ca975a43e52d31b48e14c /net/sunrpc/sysctl.c
parent278765ea0752e67922c0f2aaf1138f6ba227688d (diff)
downloadlinux-9f0b5792f07d8f0745c3620d577d6930ff2a96fd.tar.xz
NFSD: Encode a full READ_PLUS reply
Reply to the client with multiple hole and data segments. I use the result of the first vfs_llseek() call for encoding as an optimization so we don't have to immediately repeat the call. This also lets us encode any remaining reply as data if we get an unexpected result while trying to calculate a hole. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/sysctl.c')
0 files changed, 0 insertions, 0 deletions