All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve French <smfrench@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paulo Alcantara <pc@cjr.nz>, CIFS <linux-cifs@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] smb3 client fixes
Date: Tue, 20 Dec 2022 15:49:40 -0600	[thread overview]
Message-ID: <CAH2r5mupDphsriFvcC_Hh0dWaDWdyAKNk1xKwEts7mfm3K5ESw@mail.gmail.com> (raw)

Please pull the following changes since commit
851f657a86421dded42b6175c6ea0f4f5e86af97:

  Merge tag '6.2-rc-smb3-client-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2022-12-15 14:53:14 -0800)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/6.2-rc-smb3-client-fixes-part2

for you to fetch changes up to aacfc939cc42293fbcfe113040b4e8abaef68429:

  cifs: update internal module number (2022-12-19 08:04:50 -0600)

As mentioned in the earlier smb3 client P/R, last week we were still
testing various additional important fixes: a series of DFS and reconnect
fixes from Paulo, which are now included in this P/R
----------------------------------------------------------------
20 cifs/smb3 client fixes, mostly related to reconnect and/or DFS

- two important reconnect fixes: cases where status of recently connected IPCs
and shares were not being updated leaving them in an incorrect state
- fix for older Windows servers that would return STATUS_OBJECT_NAME_INVALID
to query info requests on DFS links in a namespace that contained non-ASCII
characters, reducing number of wasted roundtrips.
- fix for leaked -ENOMEM to userspace when cifs.ko couldn't perform I/O due
to a disconnected server, expired or deleted session.
- removal of all unneeded DFS related mount option string parsing (now using
fs_context for automounts)
-improve clarity/readability, moving various DFS related functions out
of fs/cifs/connect.c
(which was getting too big to be readable) to new file.
- Fix problem when large number of DFS connections.  Allow sharing of DFS
connections and fix how the referral paths are matched
- Referral caching fix: Instead of looking up ipc connections to
refresh cached referrals,
store direct dfs root server's IPC pointer in new sessions so can
simply access it to
either refresh or create a new referral that such connections belong to.
- Fix to allow dfs root server's connections to also failover
- Optimized reconnect of nested DFS links
- Set correct status of IPC connections marked for reconnect
----------------------------------------------------------------
Paulo Alcantara (19):
      cifs: set correct tcon status after initial tree connect
      cifs: set correct ipc status after initial tree connect
      cifs: reduce roundtrips on create/qinfo requests
      cifs: use fs_context for automounts
      cifs: get rid of mount options string parsing
      cifs: remove unused smb3_fs_context::mount_options
      cifs: set resolved ip in sockaddr
      cifs: split out ses and tcon retrieval from mount_get_conns()
      cifs: share dfs connections and supers
      cifs: don't refresh cached referrals from unactive mounts
      cifs: fix refresh of cached referrals
      cifs: refresh root referrals
      cifs: don't block in dfs_cache_noreq_update_tgthint()
      cifs: fix confusing debug message
      cifs: fix source pathname comparison of dfs supers
      cifs: optimize reconnect of nested links
      cifs: set correct status of tcon ipc when reconnecting
      cifs: use origin fullpath for automounts
      cifs: don't leak -ENOMEM in smb2_open_file()

Steve French (1):
      cifs: update internal module number

 fs/cifs/Makefile       |   2 +-
 fs/cifs/cifs_debug.c   |   8 +
 fs/cifs/cifs_dfs_ref.c | 255 +++++++-------------------------
 fs/cifs/cifsfs.c       |   6 -
 fs/cifs/cifsfs.h       |   4 +-
 fs/cifs/cifsglob.h     |  18 ++-
 fs/cifs/cifsproto.h    |  14 +-
 fs/cifs/connect.c      | 899
++++++++++++++++++---------------------------------------------------------------------------------------------
 fs/cifs/dfs.c          | 544
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/dfs.h          |  46 ++++++
 fs/cifs/dfs_cache.c    | 276 +++++++---------------------------
 fs/cifs/dfs_cache.h    |   2 +-
 fs/cifs/dir.c          |  21 ++-
 fs/cifs/dns_resolve.c  |  49 +++---
 fs/cifs/dns_resolve.h  |   4 +-
 fs/cifs/fs_context.c   |  13 +-
 fs/cifs/fs_context.h   |   3 +-
 fs/cifs/inode.c        |   6 -
 fs/cifs/misc.c         |  81 ++--------
 fs/cifs/smb2file.c     |   4 +-
 fs/cifs/smb2inode.c    |  46 ++++--
 fs/cifs/smb2ops.c      |  28 +++-
 22 files changed, 991 insertions(+), 1338 deletions(-)
 create mode 100644 fs/cifs/dfs.c
 create mode 100644 fs/cifs/dfs.h


-- 
Thanks,

Steve

             reply	other threads:[~2022-12-20 21:49 UTC|newest]

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

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=CAH2r5mupDphsriFvcC_Hh0dWaDWdyAKNk1xKwEts7mfm3K5ESw@mail.gmail.com \
    --to=smfrench@gmail.com \
    --cc=linux-cifs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pc@cjr.nz \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.