linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve French <smfrench@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: CIFS <linux-cifs@vger.kernel.org>
Subject: [GIT PULL] CIFS/SMB3 fixes
Date: Mon, 26 Apr 2021 14:50:57 -0500	[thread overview]
Message-ID: <CAH2r5mvK3_dmwbtH6v0unMEnrdR5Rny+Aki3GnyD=uRU2GH4=w@mail.gmail.com> (raw)

Please pull the following changes since commit
9f4ad9e425a1d3b6a34617b8ea226d56a119a717:

  Linux 5.12 (2021-04-25 13:49:08 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.12-rc-smb3-fixes-part1

for you to fetch changes up to a8a6082d4ae29d98129440c4a5de8e6ea3de0983:

  cifs: update internal version number (2021-04-25 23:59:27 -0500)

----------------------------------------------------------------
40 cifs/smb3 changesets, including 4 fixes for stable, and various new features:

- improvements to root directory metadata caching
- addition of new "rasize" mount parameter which can significantly
increase read ahead performance (e.g. copy can be much faster,
especially with multichannel)
- addition of support for insert and collapse range
- improvements to error handling in mount

Additional features still being tested: including the important
performance patches for deferred close ("handle lease" support)
patches, the improved support for fallocate, and some important
improvements to multichannel reconnect behavior are still being tested
and are not included in this pull request.

Reran the regression tests on these 40 on top of recently released 5.12:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/604
----------------------------------------------------------------
Al Viro (7):
      cifs: don't cargo-cult strndup()
      cifs: constify get_normalized_path() properly
      cifs: constify path argument of ->make_node()
      cifs: constify pathname arguments in a bunch of helpers
      cifs: make build_path_from_dentry() return const char *
      cifs: allocate buffer in the caller of build_path_from_dentry()
      cifs: switch build_path_from_dentry() to using dentry_path_raw()

Aurelien Aptel (8):
      cifs: simplify SWN code with dummy funcs instead of ifdefs
      Documentation/admin-guide/cifs: document open_files and dfscache
      cifs: remove old dead code
      cifs: make fs_context error logging wrapper
      cifs: add fs_context param to parsing helpers
      cifs: log mount errors using cifs_errorf()
      cifs: export supported mount options via new mount_params /proc file
      smb2: fix use-after-free in smb2_ioctl_query_info()

David Disseldorp (1):
      cifs: fix leak in cifs_smb3_do_mount() ctx

Eugene Korenevsky (1):
      cifs: fix out-of-bound memory access when calling smb3_notify()
at mount point

Gustavo A. R. Silva (1):
      cifs: cifspdu.h: Replace one-element array with flexible-array member

Jiapeng Chong (1):
      cifs: Remove useless variable

Muhammad Usama Anjum (1):
      cifs: remove unnecessary copies of tcon->crfid.fid

Paul Aurich (1):
      cifs: Return correct error code from smb2_get_enc_key

Ronnie Sahlberg (11):
      cifs: move the check for nohandlecache into open_shroot
      cifs: pass a path to open_shroot and check if it is the root or not
      cifs: rename the *_shroot* functions to *_cached_dir*
      cifs: store a pointer to the root dentry in cifs_sb_info once we
have completed mounting the share
      cifs: Grab a reference for the dentry of the cached directory
during the lifetime of the cache
      cifs: add a function to get a cached dir based on its dentry
      cifs: add a timestamp to track when the lease of the cached dir was taken
      cifs: pass the dentry instead of the inode down to the
revalidation check functions
      cifs: check the timestamp for the cached dirent when deciding on
revalidate
      cifs: add support for FALLOC_FL_COLLAPSE_RANGE
      cifs: add FALLOC_FL_INSERT_RANGE support

Steve French (6):
      cifs: correct comments explaining internal semaphore usage in the module
      smb3: update protocol header definitions based to include new flags
      SMB3: update structures for new compression protocol definitions
      smb3: limit noisy error
      smb3: add rasize mount parameter to improve readahead performance
      cifs: update internal version number

Wan Jiabing (1):
      fs: cifs: Remove repeated struct declaration

jack1.li_cp (1):
      cifs: Fix spelling of 'security'

 Documentation/admin-guide/cifs/usage.rst |   3 +
 fs/cifs/cifs_debug.c                     |  58 +++++++++++++--
 fs/cifs/cifs_dfs_ref.c                   |  14 ++--
 fs/cifs/cifs_fs_sb.h                     |   4 +
 fs/cifs/cifs_swn.h                       |  27 +++++++
 fs/cifs/cifsacl.c                        |   4 +-
 fs/cifs/cifsfs.c                         |  47 ++++++++++--
 fs/cifs/cifsfs.h                         |   2 +-
 fs/cifs/cifsglob.h                       |  32 ++------
 fs/cifs/cifspdu.h                        |   2 +-
 fs/cifs/cifsproto.h                      |  30 ++++----
 fs/cifs/cifssmb.c                        |  52 +------------
 fs/cifs/connect.c                        |  34 ++-------
 fs/cifs/dfs_cache.c                      |  41 ++++++-----
 fs/cifs/dir.c                            | 150
++++++++++++++-----------------------
 fs/cifs/file.c                           |  79 ++++++++++----------
 fs/cifs/fs_context.c                     | 143
++++++++++++++++++++----------------
 fs/cifs/fs_context.h                     |  13 ++--
 fs/cifs/inode.c                          | 140
++++++++++++++++++-----------------
 fs/cifs/ioctl.c                          |  13 ++--
 fs/cifs/link.c                           |  46 +++++++-----
 fs/cifs/misc.c                           |   2 +-
 fs/cifs/readdir.c                        |  15 ++--
 fs/cifs/smb1ops.c                        |   6 +-
 fs/cifs/smb2inode.c                      |  10 +--
 fs/cifs/smb2misc.c                       |   1 +
 fs/cifs/smb2ops.c                        | 195
++++++++++++++++++++++++++++++++++++++-----------
 fs/cifs/smb2pdu.c                        |   2 +-
 fs/cifs/smb2pdu.h                        |  49 +++++++++++--
 fs/cifs/smb2proto.h                      |  16 ++--
 fs/cifs/unc.c                            |   4 +-
 fs/cifs/xattr.c                          |  40 +++++-----
 32 files changed, 724 insertions(+), 550 deletions(-)

-- 
Thanks,

Steve

             reply	other threads:[~2021-04-26 19:51 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 19:50 Steve French [this message]
2021-04-26 20:57 ` [GIT PULL] CIFS/SMB3 fixes pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2023-01-07 17:27 [GIT PULL] cifs/smb3 fixes Steve French
2023-01-07 18:43 ` pr-tracker-bot
2022-04-01 16:15 Steve French
2022-04-01 21:45 ` pr-tracker-bot
2022-03-21 20:57 Steve French
2022-03-22 18:32 ` pr-tracker-bot
2022-01-17  3:04 Steve French
2022-01-17  7:59 ` pr-tracker-bot
2021-11-25  4:31 Steve French
2021-11-25 19:12 ` pr-tracker-bot
2021-11-19 22:45 Steve French
2021-11-20 19:20 ` pr-tracker-bot
2021-08-13 21:41 [GIT PULL] CIFS/SMB3 Fixes Steve French
2021-08-14  1:12 ` pr-tracker-bot
2021-07-30 21:09 [GIT PULL] CIFS/SMB3 fixes Steve French
2021-07-31 16:32 ` pr-tracker-bot
2021-07-24 22:20 [GIT PULL] CIFS/SMB3 Fixes Steve French
2021-07-25  0:34 ` pr-tracker-bot
2021-07-17  0:17 Steve French
2021-07-17 20:13 ` pr-tracker-bot
2021-06-28 23:52 Steve French
2021-06-30  3:35 ` pr-tracker-bot
2021-05-05 14:22 Steve French
2021-05-05 20:49 ` pr-tracker-bot
2021-03-28  0:07 Steve French
2021-03-28 19:11 ` pr-tracker-bot
2021-03-20 16:18 Steve French
2021-03-20 18:06 ` pr-tracker-bot
2021-03-20 16:17 Steve French
2021-02-26  6:24 Steve French
2021-02-26 22:24 ` pr-tracker-bot
2021-01-15  5:56 Steve French
2021-01-15 23:01 ` pr-tracker-bot
2020-12-20 19:47 Steve French
2020-12-21  4:45 ` pr-tracker-bot
2020-10-24 22:21 [GIT PULL] cifs/smb3 fixes Steve French
2020-10-25 18:35 ` pr-tracker-bot
2020-10-23  6:12 Steve French
2020-10-23  5:09 Steve French
2020-10-23  6:12 ` Steve French
2020-10-23 18:46   ` Linus Torvalds
2020-10-23 18:53 ` pr-tracker-bot
2020-08-03 22:45 [GIT PULL] CIFS/SMB3 Fixes Steve French
2020-08-07  2:39 ` pr-tracker-bot
2020-07-04  3:44 Steve French
2020-07-04  7:00 ` pr-tracker-bot
2020-06-13 20:37 Steve French
2020-06-13 20:50 ` pr-tracker-bot
2020-04-26 14:23 Steve French
2020-04-26 19:20 ` pr-tracker-bot
2020-04-12  2:26 [GIT PULL] cifs/smb3 fixes Steve French
2020-04-12 17:25 ` pr-tracker-bot
2020-03-31 19:14 [GIT PULL] CIFS/SMB3 fixes Steve French
2020-03-31 21:50 ` pr-tracker-bot
2020-03-19  4:51 Steve French
2020-03-19 17:03 ` Linus Torvalds
2020-03-19 17:15   ` Steve French
2020-03-19 17:25 ` pr-tracker-bot
2020-03-03 20:22 Steve French
2020-03-03 23:35 ` pr-tracker-bot
2020-02-16  2:58 [GIT PULL] CIFS/SMB3 Fixes Steve French
2020-02-16 19:50 ` pr-tracker-bot
2020-02-09  1:45 Steve French
2020-02-09 21:30 ` pr-tracker-bot
2019-11-27 23:49 Steve French
2019-11-30 19:13 ` Linus Torvalds
2019-11-30 21:20   ` Steve French
2019-11-30 19:40 ` pr-tracker-bot
2019-10-27  2:40 Steve French
2019-10-27 11:30 ` pr-tracker-bot
2019-08-29 22:54 [GIT PULL] CIFS/SMB3 fixes Steve French
2019-08-30  1:00 ` pr-tracker-bot
2019-07-18  6:10 [GIT PULL] CIFS/SMB3 Fixes Steve French
2019-07-18 18:30 ` pr-tracker-bot
2019-05-08 18:32 [GIT PULL] CIFS/SMB3 fixes Steve French
2019-05-08 20:37 ` Linus Torvalds
2019-05-08 20:46   ` Linus Torvalds
2019-05-08 21:47   ` Steve French
2019-05-08 20:45 ` pr-tracker-bot
2014-10-18 20:25 [GIT PULL] CIFS/SMB3 Fixes Steve French
2014-10-03 19:56 Steve French
2014-09-18 17:00 Steve French

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH2r5mvK3_dmwbtH6v0unMEnrdR5Rny+Aki3GnyD=uRU2GH4=w@mail.gmail.com' \
    --to=smfrench@gmail.com \
    --cc=linux-cifs@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).