[GIT][PULL] smb3 fixes
From: Steve French
Date: Fri Mar 08 2019 - 11:54:16 EST
Please pull the following changes since commit
1c163f4c7b3f621efff9b28a47abb36f7378d783:
Linux 5.0 (2019-03-03 15:21:29 -0800)
are available in the Git repository at:
git://git.samba.org/sfrench/cifs-2.6.git tags/5.1-rc-smb3-fixes
for you to fetch changes up to 50cfad780bcf9e03d11aaf0a7296a4c0ed336b54:
fs: cifs: Kconfig: pedantic formatting (2019-03-06 21:55:12 -0600)
----------------------------------------------------------------
smb3/cifs fixes including for large i/o error cases, fixes for 3
xfstests, improved crediting (smb3 flow control); improved tracing
----------------------------------------------------------------
Enrico Weigelt, metux IT consult (1):
fs: cifs: Kconfig: pedantic formatting
Louis Taylor (1):
cifs: use correct format characters
Namjae Jeon (1):
cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
Pavel Shilovsky (24):
CIFS: Fix leaking locked VFS cache pages in writeback retry
CIFS: Do not reset lease state to NONE on lease break
CIFS: Do not skip SMB2 message IDs on send failures
CIFS: Always reset read error to -EIO if no response
CIFS: Do not log credits when unmounting a share
CIFS: Count SMB3 credits for malformed pending responses
CIFS: Respect SMB2 hdr preamble size in read responses
CIFS: Set reconnect instance to one initially
CIFS: Respect reconnect in MTU credits calculations
CIFS: Respect reconnect in non-MTU credits calculations
CIFS: Check for reconnects before sending async requests
CIFS: Check for reconnects before sending compound requests
CIFS: Adjust MTU credits before reopening a file
CIFS: Remove custom credit adjustments for SMB2 async IO
CIFS: Reopen file before get SMB2 MTU credits for async IO
CIFS: Find and reopen a file before get MTU credits in writepages
CIFS: Move unlocking pages from wdata_send_pages()
CIFS: Move open file handling to writepages
CIFS: Return error code when getting file handle for writeback
CIFS: Try to acquire credits at once for compound requests
CIFS: Fix read after write for files with read caching
CIFS: Only send SMB2_NEGOTIATE command on new TCP connections
CIFS: Return -EAGAIN instead of -ENOTSOCK
CIFS: Mask off signals when sending SMB packets
Ronnie Sahlberg (3):
cifs: replace snprintf with scnprintf
cifs: add credits from unmatched responses/messages
cifs: return -ENODATA when deleting an xattr that does not exist
Steve French (13):
smb3: fix bytes_read statistics
smb3: make default i/o size for smb3 mounts larger
smb3: request more credits on tree connect
cifs: update internal module version number
smb3: Update POSIX negotiate context with POSIX ctxt GUID
smb3: add tracepoints for query dir
smb3: Add tracepoints for read, write and query_dir enter
smb3: add missing read completion trace point
smb3: improve dynamic tracing of open and posix mkdir
smb3: add dynamic trace point for smb3_cmd_enter
smb3: add dynamic trace point for query_info_enter/done
smb3: for kerberos mounts display the credential uid used
smb3: request more credits on normal (non-large read/write) ops
Yao Liu (1):
cifs: Fix NULL pointer dereference of devname
fs/cifs/Kconfig | 120
++++++++++++++++++++++++++++-----------------------------
fs/cifs/cifs_dfs_ref.c | 4 +-
fs/cifs/cifs_fs_sb.h | 1 +
fs/cifs/cifsfs.c | 3 +-
fs/cifs/cifsfs.h | 2 +-
fs/cifs/cifsglob.h | 65 ++++++++++++++++++++++++-------
fs/cifs/cifsproto.h | 8 +++-
fs/cifs/cifssmb.c | 54 +++++++++++++++++---------
fs/cifs/connect.c | 66 +++++++++++++++++++++++++++-----
fs/cifs/file.c | 269
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------
fs/cifs/inode.c | 2 +-
fs/cifs/link.c | 14 +++----
fs/cifs/smb1ops.c | 8 ++--
fs/cifs/smb2misc.c | 24 +++++++-----
fs/cifs/smb2ops.c | 115
++++++++++++++++++++++++++++++++++++++++++++++---------
fs/cifs/smb2pdu.c | 179
+++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------
fs/cifs/smb2pdu.h | 4 +-
fs/cifs/smb2transport.c | 25 +++++++++++-
fs/cifs/smbdirect.c | 6 +--
fs/cifs/trace.h | 89 ++++++++++++++++++++++++++++++++++++++++++-
fs/cifs/transport.c | 208
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------
21 files changed, 929 insertions(+), 337 deletions(-)
--
Thanks,
Steve