[GIT PULL] CIFS/SMB3 fixes

From: Steve French
Date: Wed May 08 2019 - 14:33:53 EST


Please pull the following changes since commit
d3511f53bb2475f2a4e8460bee5a1ae6dea2a433:

Merge branch 'parisc-5.2-1' of
git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
(2019-05-07 19:34:17 -0700)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/5.2-smb3

for you to fetch changes up to cb4f7bf6be10b35510e6b2e60f80d85ebc22a578:

cifs: update module internal version number (2019-05-07 23:24:56 -0500)

----------------------------------------------------------------
CIFS/SMB3 changes, three for stable, adds fiemap support, improves
zero-range support, and includes various RDMA (smb direct fixes). Our
build verification tests passed (and continue to be extended to
include more tests). See e.g. our 'buildbot' results at:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/199

Have an additional set of fixes (for improved handling of sparse
files, mode bits, POSIX extensions) that are still being tested that
are not included in this pull request but I expect to send in the next
week.
----------------------------------------------------------------
Aurelien Aptel (1):
CIFS: check CIFS_MOUNT_NO_DFS when trying to reuse existing sb

Christoph Probst (1):
cifs: fix strcat buffer overflow and reduce raciness in
smb21_set_oplock_level()

Jeff Layton (1):
cifs: remove superfluous inode_lock in cifs_{strict_}fsync

Kenneth D'souza (1):
CIFS: Show locallease in /proc/mounts for cifs shares mounted
with locallease feature.

Long Li (7):
smbd: Make upper layer decide when to destroy the transport
cifs: smbd: Don't destroy transport on RDMA disconnect
cifs: smbd: Return EINTR when interrupted
cifs: smbd: Indicate to retry on transport sending failure
cifs: smbd: Retry on memory registration failure
cifs: Call MID callback before destroying transport
cifs: smbd: take an array of reqeusts when sending upper layer data

Paulo Alcantara (SUSE) (1):
cifs: Fix DFS cache refresher for DFS links

Ronnie Sahlberg (8):
cifs: Add support for FSCTL passthrough that write data to the server
cifs: fix bi-directional fsctl passthrough calls
cifs: add fiemap support
cifs: zero-range does not require the file is sparse
cifs: fix smb3_zero_range for Azure
cifs: fix credits leak for SMB1 oplock breaks
cifs: rename and clarify CIFS_ASYNC_OP and CIFS_NO_RESP
SMB3: Clean up query symlink when reparse point

Sergey Senozhatsky (1):
cifs: don't use __constant_cpu_to_le32()

Steve French (8):
SMB3: Track total time spent on roundtrips for each SMB3 command
SMB3: update comment to clarify enumerating snapshots
SMB3: Add handling for different FSCTL access flags
SMB3: Add defines for new negotiate contexts
Add new flag on SMB3.1.1 read
smb3: Add protocol structs for change notify support
Negotiate and save preferred compression algorithms
cifs: update module internal version number

fs/cifs/cifs_debug.c | 33 +-
fs/cifs/cifsfs.c | 3 +
fs/cifs/cifsfs.h | 4 +-
fs/cifs/cifsglob.h | 27 +-
fs/cifs/cifsproto.h | 9 +
fs/cifs/cifssmb.c | 98 +--
fs/cifs/connect.c | 63 +-
fs/cifs/dfs_cache.c | 140 ++++-
fs/cifs/dfs_cache.h | 5 +-
fs/cifs/file.c | 5 -
fs/cifs/inode.c | 37 ++
fs/cifs/link.c | 13 +-
fs/cifs/smb1ops.c | 9 +-
fs/cifs/smb2ops.c | 309 ++++++---
fs/cifs/smb2pdu.c | 72 ++-
fs/cifs/smb2pdu.h | 71 +++
fs/cifs/smb2status.h | 3480
++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------
fs/cifs/smbdirect.c | 292 ++++-----
fs/cifs/smbdirect.h | 19 +-
fs/cifs/smbfsctl.h | 29 +-
fs/cifs/transport.c | 48 +-
21 files changed, 2582 insertions(+), 2184 deletions(-)


--
Thanks,

Steve