[GIT PULL] SMB3 fixes and features

From: Steve French
Date: Thu Sep 19 2019 - 13:07:39 EST


Please pull the following changes since commit
4d856f72c10ecb060868ed10ff1b1453943fc6c8:

Linux 5.3 (2019-09-15 14:19:32 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 4d6bcba70aeb4a512ead9c9eaf9edc6bbab00b14:

cifs: update internal module version number (2019-09-16 19:18:39 -0500)

----------------------------------------------------------------
Various cifs/smb3 fixes (including for share deleted cases) and
features including improved encrypted read performance, some new
performance related mount options, cifs.ko network boot support
(additional small patch for ipconfig.c sent to Dave Miller which will
allow enabling this) and various debugging improvements

SMB3 "Buildbot" automated regression test run for this set:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/250

Note that since I am at a test event this week with the Samba team,
and at the annual Storage Developer Conference/SMB3 Plugfest test
event next week a higher than usual number of fixes is expected
later next week as other features in progress get additional testing
and review during these two events.

----------------------------------------------------------------
Aurelien Aptel (3):
cifs: modefromsid: make room for 4 ACE
cifs: cifsroot: add more err checking
cifs: modefromsid: write mode ACE first

Colin Ian King (3):
fs: cifs: cifsssmb: remove redundant assignment to variable ret
cifs: remove redundant assignment to variable rc
cifs: fix dereference on ses before it is null checked

Paulo Alcantara (SUSE) (1):
cifs: Add support for root file systems

Ronnie Sahlberg (8):
cifs: fix a comment for the timeouts when sending echos
cifs: prepare SMB2_Flush to be usable in compounds
cifs: add passthrough for smb2 setinfo
cifs: create a helper to find a writeable handle by path name
cifs: use existing handle for compound_op(OP_SET_INFO) when possible
cifs: add new debugging macro cifs_server_dbg
cifs: add a debug macro that prints \\server\share for errors
cifs: add a helper to find an existing readable handle to a file

Steve French (21):
cifs: get mode bits from special sid on stat
cifs: allow chmod to set mode bits using special sid
smb3: add missing flag definitions
smb3: Incorrect size for netname negotiate context
smb3: add mount option to allow forced caching of read only share
smb3: add some more descriptive messages about share when
mounting cache=ro
smb3: add mount option to allow RW caching of share accessed by
only 1 client
smb3: log warning if CSC policy conflicts with cache mount option
smb3: add dynamic tracepoints for flush and close
smb3: allow skipping signature verification for perf sensitive
configurations
smb3: fix signing verification of large reads
smb3: allow parallelizing decryption of reads
smb3: enable offload of decryption of large reads via mount option
smb3: only offload decryption of read responses if multiple requests
smb3: display max smb3 requests in flight at any one time
smb3: improve handling of share deleted (and share recreated)
smb3: allow disabling requesting leases
smb3: fix unmount hang in open_shroot
smb3: fix potential null dereference in decrypt offload
smb3: add missing worker function for SMB3 change notify
cifs: update internal module version number

YueHaibing (1):
cifs: remove set but not used variables

zhengbin (1):
cifs: remove unused variable

Documentation/filesystems/cifs/cifsroot.txt | 97 ++++++++++
fs/cifs/Kconfig | 8 +
fs/cifs/Makefile | 2 +
fs/cifs/cifs_debug.c | 2 +
fs/cifs/cifs_debug.h | 67 +++++++
fs/cifs/cifs_fs_sb.h | 2 +
fs/cifs/cifs_ioctl.h | 1 +
fs/cifs/cifsacl.c | 81 ++++++--
fs/cifs/cifsacl.h | 2 +-
fs/cifs/cifsfs.c | 28 ++-
fs/cifs/cifsfs.h | 2 +-
fs/cifs/cifsglob.h | 19 +-
fs/cifs/cifsproto.h | 5 +
fs/cifs/cifsroot.c | 94 +++++++++
fs/cifs/cifssmb.c | 2 +-
fs/cifs/connect.c | 152 +++++++++++----
fs/cifs/dir.c | 2 +-
fs/cifs/file.c | 80 +++++++-
fs/cifs/inode.c | 19 +-
fs/cifs/smb2inode.c | 155 +++++++++++----
fs/cifs/smb2maperror.c | 2 +-
fs/cifs/smb2ops.c | 201 ++++++++++++++-----
fs/cifs/smb2pdu.c | 287 ++++++++++++++++++++--------
fs/cifs/smb2pdu.h | 2 +
fs/cifs/smb2proto.h | 4 +
fs/cifs/smb2transport.c | 62 +++---
fs/cifs/trace.h | 38 ++++
fs/cifs/transport.c | 120 ++++++------
include/linux/root_dev.h | 1 +
29 files changed, 1218 insertions(+), 319 deletions(-)
create mode 100644 Documentation/filesystems/cifs/cifsroot.txt
create mode 100644 fs/cifs/cifsroot.c


--
Thanks,

Steve