]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/cifs/smb2pdu.c
CIFS: Optimize cifs_user_read() in a short read case on reconnects
authorPavel Shilovsky <pshilovsky@samba.org>
Thu, 10 Jul 2014 07:31:48 +0000 (11:31 +0400)
committerSteve French <smfrench@gmail.com>
Sat, 2 Aug 2014 06:23:04 +0000 (01:23 -0500)
commitd913ed17f0a7d74e2847695bc920d77a33f2490b
tree2c511ecc0304b341b370834fc989d4b9d3c42d60
parentfb8a3e52559ad52829c6838d304f5b75c140b97a
CIFS: Optimize cifs_user_read() in a short read case on reconnects

by filling the output buffer with a data got from a partially received
response and requesting the remaining data from the server. This is
suitable for non-signed connections.

Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifssmb.c
fs/cifs/file.c
fs/cifs/smb2pdu.c