CIFS: Optimize readpages in a short read case on reconnects
authorPavel Shilovsky <pshilovsky@samba.org>
Thu, 10 Jul 2014 07:31:53 +0000 (11:31 +0400)
committerSteve French <smfrench@gmail.com>
Sat, 2 Aug 2014 06:23:04 +0000 (01:23 -0500)
commitb770ddfa26fcb22ac85fbcdd0f5e88e65a118e01
tree223519e4720c916958de7d2c9e89fa8b67419fe3
parentd913ed17f0a7d74e2847695bc920d77a33f2490b
CIFS: Optimize readpages in a short read case on reconnects

by marking pages with a data from a partially received response up-to-date.
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/file.c