Re: [GIT PULL] SMB3 client fixes

From: Steve French
Date: Fri May 27 2022 - 12:31:16 EST


Al wants to postpone Dave's iov_iter changes (he had some additional
things he wants changed in those). I will resend the P/R without
those 4 patches from Dave Howells.

On Fri, May 27, 2022 at 1:52 AM Steve French <smfrench@xxxxxxxxx> wrote:
>
> Please pull the following changes since commit
> 42226c989789d8da4af1de0c31070c96726d990c:
>
> Linux 5.18-rc7 (2022-05-15 18:08:58 -0700)
>
> are available in the Git repository at:
>
> git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc-smb3-client-fixes-part1
>
> for you to fetch changes up to 9f114d7bfc6c35ca23a82efce60e0db535a186f1:
>
> smb3: remove unneeded null check in cifs_readdir (2022-05-26 11:15:14 -0500)
>
> ----------------------------------------------------------------
> Twenty eight cifs/smb3 client fixes, including:
> - a series of fixes for multichannel fixes to improve reconnect after
> network failure
> - improved caching of root directory contents (extending benefit of
> directory leases)
> - 2 DFS fixes
> - 3 fixes for improved debugging
> - an NTLMSSP fix for mounts t0 older servers
> - new mount parm to allow disabling creating sparse files
> - various cleanup fixes and minor fixes pointed out by coverity
> - the first part of Dave's updates for iov_iter support
>
> Not included in this P/R are the last two patches in Dave's series
> converting i/o paths in cifs.ko to use iterators,
> as well as some RDMA (smbdirect) fixes and a patch to dynamically
> requery and adjust the network interfaces on the
> fly - all of which are still being tested.
> ----------------------------------------------------------------
> ChenXiaoSong (1):
> cifs: return the more nuanced writeback error on close()
>
> David Howells (4):
> iov_iter: Add a function to extract an iter's buffers to a bvec iter
> iov_iter: Add a general purpose iteration function
> cifs: Add some helper functions
> cifs: Add a function to read into an iter from a socket
>
> Enzo Matsumiya (3):
> cifs: don't call cifs_dfs_query_info_nonascii_quirk() if nodfs was set
> cifs: return ENOENT for DFS lookup_cache_entry()
> cifs: print TIDs as hex
>
> Julia Lawall (1):
> cifs: smbd: fix typo in comment
>
> Paulo Alcantara (2):
> cifs: fix signed integer overflow when fl_end is OFFSET_MAX
> cifs: fix ntlmssp on old servers
>
> Ronnie Sahlberg (4):
> cifs: move definition of cifs_fattr earlier in cifsglob.h
> cifs: check for smb1 in open_cached_dir()
> cifs: set the CREATE_NOT_FILE when opening the directory in
> use_cached_dir()
> cifs: cache the dirents for entries in a cached directory
>
> Shyam Prasad N (3):
> cifs: do not use tcpStatus after negotiate completes
> cifs: use new enum for ses_status
> cifs: avoid parallel session setups on same channel
>
> Steve French (10):
> SMB3: EBADF/EIO errors in rename/open caused by race condition
> in smb2_compound_op
> smb3: add trace point for lease not found issue
> smb3: add trace point for oplock not found
> Add defines for various newer FSCTLs
> Add various fsctl structs
> cifs: fix minor compile warning
> smb3: check for null tcon
> smb3: don't set rc when used and unneeded in query_info_compound
> smb3: add mount parm nosparse
> smb3: remove unneeded null check in cifs_readdir
>
> fs/cifs/cifs_debug.c | 11 +++-
> fs/cifs/cifsfs.c | 2 +
> fs/cifs/cifsfs.h | 3 +
> fs/cifs/cifsglob.h | 124 +++++++++++++++++++++++++++------------
> fs/cifs/cifsproto.h | 12 ++++
> fs/cifs/cifssmb.c | 99 ++++++++++++++++++++++++++++++-
> fs/cifs/connect.c | 123 +++++++++++++++++++++++----------------
> fs/cifs/dfs_cache.c | 6 +-
> fs/cifs/file.c | 13 +++--
> fs/cifs/fs_context.c | 33 +++--------
> fs/cifs/fs_context.h | 4 +-
> fs/cifs/misc.c | 11 ++--
> fs/cifs/readdir.c | 179
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
> fs/cifs/sess.c | 33 ++++++++++-
> fs/cifs/smb2inode.c | 7 ++-
> fs/cifs/smb2misc.c | 12 +++-
> fs/cifs/smb2ops.c | 32 +++++++++--
> fs/cifs/smb2pdu.c | 5 +-
> fs/cifs/smb2pdu.h | 22 -------
> fs/cifs/smb2transport.c | 7 ++-
> fs/cifs/smbdirect.c | 2 +-
> fs/cifs/trace.h | 2 +
> fs/cifs/transport.c | 8 +--
> fs/smbfs_common/smb2pdu.h | 108 +++++++++++++++++++++++++++++++---
> fs/smbfs_common/smbfsctl.h | 6 ++
> include/linux/uio.h | 8 +++
> lib/iov_iter.c | 133 ++++++++++++++++++++++++++++++++++++++++++
> 27 files changed, 816 insertions(+), 189 deletions(-)
>
>
> --
> Thanks,
>
> Steve



--
Thanks,

Steve