This patchset is going to make CIFS module behave according to POSIX -- return a short read if a reconnect happens during the reading. These patches are rebased on top of the series "SMB 2.1/3 multicredit requests for reading/writing" of 16 patches. Pavel Shilovsky (7): CIFS: Indicate reconnect with ECONNABORTED error code CIFS: Use separate var for the number of bytes got in async read CIFS: Count got bytes in read_into_pages() CIFS: Fix possible buffer corruption in direct read CIFS: Improve indentation in cifs_user_read() CIFS: Optimize cifs_user_read() in a short read case on reconnects CIFS: Optimize readpages in a short read case on reconnects fs/cifs/cifsglob.h | 1 + fs/cifs/cifssmb.c | 5 ++-- fs/cifs/connect.c | 8 +++--- fs/cifs/file.c | 79 ++++++++++++++++++++++++++++++++++++------------------ fs/cifs/smb2pdu.c | 4 +-- 5 files changed, 62 insertions(+), 35 deletions(-) -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html