LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [GIT PULL] smb3 client fixes
@ 2021-09-11 17:23 Steve French
  2021-09-12 17:11 ` Linus Torvalds
  2021-09-12 18:41 ` pr-tracker-bot
  0 siblings, 2 replies; 41+ messages in thread
From: Steve French @ 2021-09-11 17:23 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
9c849ce86e0fa93a218614eac562ace44053d7ce:

  Merge tag '5.15-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2021-08-31 09:22:37 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc-cifs-part2

for you to fetch changes up to 9351590f51cdda49d0265932a37f099950998504:

  cifs: properly invalidate cached root handle when closing it
(2021-09-09 17:34:38 -0500)

----------------------------------------------------------------
4 cifs/smb3 fixes:
- one for DFS reconnect
- one to begin creating common headers for server and client
- the other two to rename the cifs_common directory to smbfs_common to
be more consistent ie change use of the name cifs to smb (smb3 or
smbfs is more accurate, as theThe following changes since commit
9c849ce86e0fa93a218614eac562ace44053d7ce:

  Merge tag '5.15-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2021-08-31 09:22:37 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc-cifs-part2

for you to fetch changes up to 9351590f51cdda49d0265932a37f099950998504:

  cifs: properly invalidate cached root handle when closing it
(2021-09-09 17:34:38 -0500)

----------------------------------------------------------------
4 cifs/smb3 fixes, one for DFS reconnect, and one to begin creating
common headers for server and client and the other two to rename the
cifs_common directory to smbfs_common to be more consistent ie change
use of the name cifs to smb which is more accurate

----------------------------------------------------------------
Enzo Matsumiya (1):
      cifs: properly invalidate cached root handle when closing it

Steve French (3):
      cifs: update FSCTL definitions
      cifs: rename cifs_common to smbfs_common
      cifs: move SMB FSCTL definitions to common code

 fs/Kconfig                                   |  2 +-
 fs/Makefile                                  |  2 +-
 fs/cifs/cifsencrypt.c                        |  2 +-
 fs/cifs/cifspdu.h                            |  2 +-
 fs/cifs/smb2ops.c                            | 20 +++++++++++++-------
 fs/cifs/smbencrypt.c                         |  2 +-
 fs/{cifs_common => smbfs_common}/Makefile    |  4 ++--
 fs/{cifs_common => smbfs_common}/arc4.h      |  0
 fs/{cifs_common => smbfs_common}/cifs_arc4.c |  8 ++++----
 fs/{cifs_common => smbfs_common}/cifs_md4.c  |  0
 fs/{cifs_common => smbfs_common}/md4.h       |  0
 fs/{cifs => smbfs_common}/smbfsctl.h         | 16 +++++++++++++---
 12 files changed, 37 insertions(+), 21 deletions(-)
 rename fs/{cifs_common => smbfs_common}/Makefile (59%)
 rename fs/{cifs_common => smbfs_common}/arc4.h (100%)
 rename fs/{cifs_common => smbfs_common}/cifs_arc4.c (91%)
 rename fs/{cifs_common => smbfs_common}/cifs_md4.c (100%)
 rename fs/{cifs_common => smbfs_common}/md4.h (100%)
 rename fs/{cifs => smbfs_common}/smbfsctl.h (92%)
The following changes since commit 9c849ce86e0fa93a218614eac562ace44053d7ce:

  Merge tag '5.15-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2021-08-31 09:22:37 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc-cifs-part2

for you to fetch changes up to 9351590f51cdda49d0265932a37f099950998504:

  cifs: properly invalidate cached root handle when closing it
(2021-09-09 17:34:38 -0500)

----------------------------------------------------------------
4 cifs/smb3 fixes, one for DFS reconnect, and one to begin creating
common headers for server and client and the other two to rename the
cifs_common directory to smbfs_common to be more consistent ie change
use of the name cifs to smb which is more accurate

----------------------------------------------------------------
Enzo Matsumiya (1):
      cifs: properly invalidate cached root handle when closing it

Steve French (3):
      cifs: update FSCTL definitions
      cifs: rename cifs_common to smbfs_common
      cifs: move SMB FSCTL definitions to common code

 fs/Kconfig                                   |  2 +-
 fs/Makefile                                  |  2 +-
 fs/cifs/cifsencrypt.c                        |  2 +-
 fs/cifs/cifspdu.h                            |  2 +-
 fs/cifs/smb2ops.c                            | 20 +++++++++++++-------
 fs/cifs/smbencrypt.c                         |  2 +-
 fs/{cifs_common => smbfs_common}/Makefile    |  4 ++--
 fs/{cifs_common => smbfs_common}/arc4.h      |  0
 fs/{cifs_common => smbfs_common}/cifs_arc4.c |  8 ++++----
 fs/{cifs_common => smbfs_common}/cifs_md4.c  |  0
 fs/{cifs_common => smbfs_common}/md4.h       |  0
 fs/{cifs => smbfs_common}/smbfsctl.h         | 16 +++++++++++++---
 12 files changed, 37 insertions(+), 21 deletions(-)
 rename fs/{cifs_common => smbfs_common}/Makefile (59%)
 rename fs/{cifs_common => smbfs_common}/arc4.h (100%)
 rename fs/{cifs_common => smbfs_common}/cifs_arc4.c (91%)
 rename fs/{cifs_common => smbfs_common}/cifs_md4.c (100%)
 rename fs/{cifs_common => smbfs_common}/md4.h (100%)
 rename fs/{cifs => smbfs_common}/smbfsctl.h (92%)
The following changes since commit 9c849ce86e0fa93a218614eac562ace44053d7ce:

  Merge tag '5.15-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2021-08-31 09:22:37 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc-cifs-part2

for you to fetch changes up to 9351590f51cdda49d0265932a37f099950998504:

  cifs: properly invalidate cached root handle when closing it
(2021-09-09 17:34:38 -0500)

----------------------------------------------------------------
4 cifs/smb3 fixes, one for DFS reconnect, and one to begin creating
common headers for server and client and the other two to rename the
cifs_common directory to smbfs_common to be more consistent ie change
use of the name cifs to smb which is more accurate

----------------------------------------------------------------
Enzo Matsumiya (1):
      cifs: properly invalidate cached root handle when closing it

Steve French (3):
      cifs: update FSCTL definitions
      cifs: rename cifs_common to smbfs_common
      cifs: move SMB FSCTL definitions to common code

 fs/Kconfig                                   |  2 +-
 fs/Makefile                                  |  2 +-
 fs/cifs/cifsencrypt.c                        |  2 +-
 fs/cifs/cifspdu.h                            |  2 +-
 fs/cifs/smb2ops.c                            | 20 +++++++++++++-------
 fs/cifs/smbencrypt.c                         |  2 +-
 fs/{cifs_common => smbfs_common}/Makefile    |  4 ++--
 fs/{cifs_common => smbfs_common}/arc4.h      |  0
 fs/{cifs_common => smbfs_common}/cifs_arc4.c |  8 ++++----
 fs/{cifs_common => smbfs_common}/cifs_md4.c  |  0
 fs/{cifs_common => smbfs_common}/md4.h       |  0
 fs/{cifs => smbfs_common}/smbfsctl.h         | 16 +++++++++++++---
 12 files changed, 37 insertions(+), 21 deletions(-)
 rename fs/{cifs_common => smbfs_common}/The following changes since
commit 9c849ce86e0fa93a218614eac562ace44053d7ce:

  Merge tag '5.15-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2021-08-31 09:22:37 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc-cifs-part2

for you to fetch changes up to 9351590f51cdda49d0265932a37f099950998504:

  cifs: properly invalidate cached root handle when closing it
(2021-09-09 17:34:38 -0500)

----------------------------------------------------------------
4 cifs/smb3 fixes, one for DFS reconnect, and one to begin creating
common headers for server and client and the other two to rename the
cifs_common directory to smbfs_common to be more consistent ie change
use of the name cifs to smb which is more accurate

----------------------------------------------------------------
Enzo Matsumiya (1):
      cifs: properly invalidate cached root handle when closing it

Steve French (3):
      cifs: update FSCTL definitions
      cifs: rename cifs_common to smbfs_common
      cifs: move SMB FSCTL definitions to common code
The following changes since commit 9c849ce86e0fa93a218614eac562ace44053d7ce:

  Merge tag '5.15-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2021-08-31 09:22:37 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc-cifs-part2

for you to fetch changes up to 9351590f51cdda49d0265932a37f099950998504:

  cifs: properly invalidate cached root handle when closing it
(2021-09-09 17:34:38 -0500)

----------------------------------------------------------------
4 cifs/smb3 fixes, one for DFS reconnect, and one to begin creating
common headers for server and client and the other two to rename the
cifs_common directory to smbfs_common to be more consistent ie change
use of the name cifs to smb which is more accurate

----------------------------------------------------------------
Enzo Matsumiya (1):
      cifs: properly invalidate cached root handle when closing it

Steve French (3):
      cifs: update FSCTL definitions
      cifs: rename cifs_common to smbfs_common
      cifs: move SMB FSCTL definitions to common code

 fs/Kconfig                                   |  2 +-
 fs/Makefile                                  |  2 +-
 fs/cifs/cifsencrypt.c                        |  2 +-
 fs/cifs/cifspdu.h                            |  2 +-
 fs/cifs/smb2ops.c                            | 20 +++++++++++++-------
 fs/cifs/smbencrypt.c                         |  2 +-
 fs/{cifs_common => smbfs_common}/Makefile    |  4 ++--
 fs/{cifs_common => smbfs_common}/arc4.h      |  0
 fs/{cifs_common => smbfs_common}/cifs_arc4.c |  8 ++++----
 fs/{cifs_common => smbfs_common}/cifs_md4.c  |  0
 fs/{cifs_common => smbfs_common}/md4.h       |  0
 fs/{cifs => smbfs_common}/smbfsctl.h         | 16 +++++++++++++---
 12 files changed, 37 insertions(+), 21 deletions(-)
 rename fs/{cifs_common => smbfs_common}/Makefile (59%)
 rename fs/{cifs_common => smbfs_common}/arc4.h (100%)
 rename fs/{cifs_common => smbfs_common}/cifs_arc4.c (91%)
 rename fs/{cifs_common => smbfs_common}/cifs_md4.c (100%)
 rename fs/{cifs_common => smbfs_common}/md4.h (100%)
 rename fs/{cifs => smbfs_common}/smbfsctl.h (92%)

 fs/Kconfig                                   |  2 +-
 fs/Makefile                                  |  2 +-
 fs/cifs/cifsencrypt.c                        |  2 +-
 fs/cifs/cifspdu.h                            |  2 +-
 fs/cifs/smb2ops.c                            | 20 +++++++++++++-------
 fs/cifs/smbencrypt.c                         |  2 +-
 fs/{cifs_common => smbfs_common}/Makefile    |  4 ++--
 fs/{cifs_common => smbfs_common}/arc4.h      |  0
 fs/{cifs_common => smbfs_common}/cifs_arc4.c |  8 ++++----
 fs/{cifs_common => smbfs_common}/cifs_md4.c  |  0
 fs/{cifs_common => smbfs_common}/md4.h       |  0
 fs/{cifs => smbfs_common}/smbfsctl.h         | 16 +++++++++++++---
 12 files changed, 37 insertions(+), 21 deletions(-)
 rename fs/{cifs_common => smbfs_common}/Makefile (59%)
 rename fs/{cifs_common => smbfs_common}/arc4.h (100%)
 rename fs/{cifs_common => smbfs_common}/cifs_arc4.c (91%)
 rename fs/{cifs_common => smbfs_common}/cifs_md4.c (100%)
 rename fs/{cifs_common => smbfs_common}/md4.h (100%)
 rename fs/{cifs => smbfs_common}/smbfsctl.h (92%)
Makefile (59%)
 rename fs/{cifs_common => smbfs_common}/arc4.h (100%)
 rename fs/{cifs_common => smbfs_common}/cifs_arc4.c (91%)
 rename fs/{cifs_common => smbfs_common}/cifs_md4.c (100%)
 rename fs/{cifs_common => smbfs_common}/md4.h (100%)
 rename fs/{cifs => smbfs_common}/smbfsctl.h (92%)
very old cifs dialect has long been superseded by smb3 dialects).

In the future we can rename the fs/cifs directory to fs/smbfs.

This pull request does not include the set of multichannel fixes nor
the two deferred close fixes (they are still being reviewed and
tested).
----------------------------------------------------------------
Enzo Matsumiya (1):
      cifs: properly invalidate cached root handle when closing it

Steve French (3):
      cifs: update FSCTL definitions
      cifs: rename cifs_common to smbfs_common
      cifs: move SMB FSCTL definitions to common code

 fs/Kconfig                                   |  2 +-
 fs/Makefile                                  |  2 +-
 fs/cifs/cifsencrypt.c                        |  2 +-
 fs/cifs/cifspdu.h                            |  2 +-
 fs/cifs/smb2ops.c                            | 20 +++++++++++++-------
 fs/cifs/smbencrypt.c                         |  2 +-
 fs/{cifs_common => smbfs_common}/Makefile    |  4 ++--
 fs/{cifs_common => smbfs_common}/arc4.h      |  0
 fs/{cifs_common => smbfs_common}/cifs_arc4.c |  8 ++++----
 fs/{cifs_common => smbfs_common}/cifs_md4.c  |  0
 fs/{cifs_common => smbfs_common}/md4.h       |  0
 fs/{cifs => smbfs_common}/smbfsctl.h         | 16 +++++++++++++---
 12 files changed, 37 insertions(+), 21 deletions(-)
 rename fs/{cifs_common => smbfs_common}/Makefile (59%)
 rename fs/{cifs_common => smbfs_common}/arc4.h (100%)
 rename fs/{cifs_common => smbfs_common}/cifs_arc4.c (91%)
 rename fs/{cifs_common => smbfs_common}/cifs_md4.c (100%)
 rename fs/{cifs_common => smbfs_common}/md4.h (100%)
 rename fs/{cifs => smbfs_common}/smbfsctl.h (92%)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2021-09-11 17:23 [GIT PULL] smb3 client fixes Steve French
@ 2021-09-12 17:11 ` Linus Torvalds
  2021-09-12 18:41 ` pr-tracker-bot
  1 sibling, 0 replies; 41+ messages in thread
From: Linus Torvalds @ 2021-09-12 17:11 UTC (permalink / raw)
  To: Steve French; +Cc: CIFS, LKML

On Sat, Sep 11, 2021 at 10:24 AM Steve French <smfrench@gmail.com> wrote:
>
>   git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc-cifs-part2

Your pull request message was a mess - you'd done some odd
cut-and-paste with the automated output being mixed in six(!) times in
between some of your manual edits.

I tried to make a sensible merge message of it all.

           Linus

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2021-09-11 17:23 [GIT PULL] smb3 client fixes Steve French
  2021-09-12 17:11 ` Linus Torvalds
@ 2021-09-12 18:41 ` pr-tracker-bot
  1 sibling, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2021-09-12 18:41 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 11 Sep 2021 12:23:54 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc-cifs-part2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8d4a0b5d0813c990637fa9f3c9bea5dab1fedb8f

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-09-02  0:44 Steve French
@ 2022-09-02 23:48 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-09-02 23:48 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Thu, 1 Sep 2022 19:44:29 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/6.0-rc3-smb3-client-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1551f8f21e007e608fff00cf27caac8504283b43

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-09-02  0:44 Steve French
  2022-09-02 23:48 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-09-02  0:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
b90cb1053190353cc30f0fef0ef1f378ccc063c5:

  Linux 6.0-rc3 (2022-08-28 15:05:29 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/6.0-rc3-smb3-client-fixes

for you to fetch changes up to 27893dfc1285f80f80f46b3b8c95f5d15d2e66d0:

  cifs: fix small mempool leak in SMB2_negotiate() (2022-08-30 20:08:13 -0500)

----------------------------------------------------------------
5 cifs/smb3 fixes, all also for stable
- fixes for collapse range and insert range (also fixes xfstest generic/031)
- memory leak fix
----------------------------------------------------------------
David Howells (2):
      smb3: Move the flush out of smb2_copychunk_range() into its callers
      smb3: fix temporary data corruption in insert range

Enzo Matsumiya (1):
      cifs: fix small mempool leak in SMB2_negotiate()

Steve French (2):
      smb3: fix temporary data corruption in collapse range
      smb3: use filemap_write_and_wait_range instead of filemap_write_and_wait

 fs/cifs/cifsfs.c  |  6 +++++
 fs/cifs/smb2ops.c | 69 +++++++++++++++++++++++++++++++++----------------------
 fs/cifs/smb2pdu.c | 12 ++++++----
 3 files changed, 55 insertions(+), 32 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-08-27 21:43 Steve French
@ 2022-08-28 18:18 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-08-28 18:18 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, David Howells, CIFS, LKML

The pull request you sent on Sat, 27 Aug 2022 16:43:51 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/6.0-rc2-smb3-client-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c7bb3fbc1b499b56a8819b56978c514fd63f66cc

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-08-27 21:43 Steve French
  2022-08-28 18:18 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-08-27 21:43 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: David Howells, CIFS, LKML

Please pull the following changes since commit
1c23f9e627a7b412978b4e852793c5e3c3efc555:

  Linux 6.0-rc2 (2022-08-21 17:32:54 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/6.0-rc2-smb3-client-fixes

for you to fetch changes up to d291e703f420d5f8f999fe54f360d54d213bddb4:

  cifs: Add helper function to check smb1+ server (2022-08-24 22:30:09 -0500)

----------------------------------------------------------------
6 cifs/smb3 fixes, three for stable:
- two locking fixes (zero range, punch hole)
- DFS 9 fix (padding),  affecting some servers
- three minor cleanup changes

There are a few additional important fixes (collapse range, insert range) that
are not included since still being tested.
----------------------------------------------------------------
David Howells (2):
      smb3: missing inode locks in zero range
      smb3: missing inode locks in punch hole

Paulo Alcantara (1):
      cifs: skip extra NULL byte in filenames

Zhang Xiaoxu (3):
      cifs: Use help macro to get the header preamble size
      cifs: Use help macro to get the mid header size
      cifs: Add helper function to check smb1+ server

 fs/cifs/cifsencrypt.c |  3 +--
 fs/cifs/cifsglob.h    |  7 ++++++
 fs/cifs/connect.c     | 23 ++++++++----------
 fs/cifs/smb2ops.c     | 67 +++++++++++++++++++++++++++------------------------
 fs/cifs/smb2pdu.c     | 16 +++++-------
 fs/cifs/transport.c   | 21 ++++++++--------
 6 files changed, 70 insertions(+), 67 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-08-20 22:34 Steve French
@ 2022-08-21 18:42 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-08-21 18:42 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 20 Aug 2022 17:34:30 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/6.0-rc1-smb3-client-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/367bcbc5b5ffc7164fb6ce1547e84dbf21795562

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-08-20 22:34 Steve French
  2022-08-21 18:42 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-08-20 22:34 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

  Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/6.0-rc1-smb3-client-fixes

for you to fetch changes up to 13609a8b3ac6b0af38127a2b97fe62c0d06a8282:

  cifs: move from strlcpy with unused retval to strscpy (2022-08-19
11:02:26 -0500)

----------------------------------------------------------------
5 cifs/smb3 fixes, one for stable
- memory leak fix
- two small cleanup
- trivial strlcpy removal
- update missing entry for cifs headers in MAINTAINERS file

There are a pair of important fixes for insert range and collapse
range that are being tested
now that I plan to send next week.
----------------------------------------------------------------
Enzo Matsumiya (2):
      cifs: remove unused server parameter from calc_smb_size()
      cifs: remove useless parameter 'is_fsctl' from SMB2_ioctl()

Steve French (1):
      cifs: missing directory in MAINTAINERS file

Wolfram Sang (1):
      cifs: move from strlcpy with unused retval to strscpy

Zhang Xiaoxu (1):
      cifs: Fix memory leak on the deferred close

 MAINTAINERS          |  1 +
 fs/cifs/cifs_debug.c |  2 +-
 fs/cifs/cifsglob.h   |  2 +-
 fs/cifs/cifsproto.h  |  2 +-
 fs/cifs/cifsroot.c   |  2 +-
 fs/cifs/connect.c    |  2 +-
 fs/cifs/misc.c       |  8 +++++++-
 fs/cifs/netmisc.c    |  2 +-
 fs/cifs/readdir.c    |  6 ++----
 fs/cifs/smb2file.c   |  1 -
 fs/cifs/smb2misc.c   |  4 ++--
 fs/cifs/smb2ops.c    | 37 ++++++++++++++-----------------------
 fs/cifs/smb2pdu.c    | 22 ++++++++++------------
 fs/cifs/smb2proto.h  |  6 +++---
 14 files changed, 45 insertions(+), 52 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-08-13 21:44 Steve French
@ 2022-08-14  0:39 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-08-14  0:39 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 13 Aug 2022 16:44:58 -0500:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/332019e23a51db1aa46fec695a9a763445fbe09f

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-08-13 21:44 Steve French
  2022-08-14  0:39 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-08-13 21:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
0d168a58fca34806b575c7cba87afb11208acb54:

  cifs: update internal module number (2022-08-05 11:24:17 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 7eb59a98701d3113671b513593bb489cc76f58d2:

  cifs: Do not access tcon->cfids->cfid directly from
is_path_accessible (2022-08-12 17:40:15 -0500)

----------------------------------------------------------------
8 cifs/smb3 fixes:
- two fixes for stable, one for a lock length miscalculation, and
another fixes a lease break timeout bug
- improvement to handle leases, allows the close timeout to be
configured more safely
- five restructuring/cleanup patches
----------------------------------------------------------------
Bharath SM (1):
      SMB3: fix lease break timeout when multiple deferred close
handles for the same file.

David Howells (1):
      cifs: Remove {cifs,nfs}_fscache_release_page()

Paulo Alcantara (1):
      cifs: fix lock length calculation

Ronnie Sahlberg (4):
      cifs: Move cached-dir functions into a separate file
      cifs: Do not use tcon->cfid directly, use the cfid we get from
open_cached_dir
      cifs: Add constructor/destructors for tcon->cfid
      cifs: Do not access tcon->cfids->cfid directly from is_path_accessible

Steve French (1):
      smb3: allow deferred close timeout to be configurable

 fs/cifs/Makefile     |   2 +-
 fs/cifs/cached_dir.c | 388 +++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/cached_dir.h |  64 ++++++++
 fs/cifs/cifsfs.c     |  21 +--
 fs/cifs/cifsglob.h   |  42 +-----
 fs/cifs/cifsproto.h  |   1 -
 fs/cifs/connect.c    |   2 +
 fs/cifs/file.c       |  39 +----
 fs/cifs/fs_context.c |   9 ++
 fs/cifs/fs_context.h |   8 +
 fs/cifs/fscache.h    |  16 --
 fs/cifs/inode.c      |   1 +
 fs/cifs/misc.c       |  20 ++-
 fs/cifs/readdir.c    |   5 +-
 fs/cifs/smb2inode.c  |  11 +-
 fs/cifs/smb2misc.c   |  11 +-
 fs/cifs/smb2ops.c    | 320 +++-------------------------------------
 fs/cifs/smb2pdu.c    |   3 +-
 fs/cifs/smb2proto.h  |  10 --
 19 files changed, 528 insertions(+), 445 deletions(-)
 create mode 100644 fs/cifs/cached_dir.c
 create mode 100644 fs/cifs/cached_dir.h


--
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-08-07  5:03 Steve French
@ 2022-08-07 17:57 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-08-07 17:57 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS

The pull request you sent on Sun, 7 Aug 2022 00:03:50 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.20-rc-smb3-client-fixes-part1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3bc1bc0b59d04e997db25b84babf459ca1cd80b7

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-08-07  5:03 Steve French
  2022-08-07 17:57 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-08-07  5:03 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
3d7cb6b04c3f3115719235cc6866b10326de34cd:

  Linux 5.19 (2022-07-31 14:03:01 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 0d168a58fca34806b575c7cba87afb11208acb54:

  cifs: update internal module number (2022-08-05 11:24:17 -0500)

----------------------------------------------------------------
19 cifs/smb3 fixes, mostly cleanup, including:
- multichannel perf improvement patch
- 1 to moving additional SMB1 code to not be compiled in when legacy
support is disabled.
- 3 bug fixes, including one important one for memory leak
- 12 cleanup patches

We are still working/testing some deferred close improvements
including an important
lease break fix for case when multiple deferred closes are still open,
and also some
additional perf improvements - so those are not included in this P/R
----------------------------------------------------------------
Colin Ian King (1):
      cifs: remove redundant initialization to variable mnt_sign_enabled

Enzo Matsumiya (4):
      smb2: small refactor in smb2_check_message()
      cifs: list_for_each() -> list_for_each_entry()
      cifs: remove useless DeleteMidQEntry()
      cifs: remove "cifs_" prefix from init/destroy mids functions

Matthew Wilcox (Oracle) (1):
      cifs: Fix memory leak when using fscache

Shyam Prasad N (1):
      cifs: avoid use of global locks for high contention data

Steve French (9):
      smb3: check xattr value length earlier
      cifs: remove some camelCase and also some static build warnings
      cifs: remove minor build warning
      cifs: update MAINTAINERS file with reviewers
      cifs: remove remaining build warnings
      cifs: trivial style fixup
      cifs: when insecure legacy is disabled shrink amount of SMB1 code
      cifs: alloc_mid function should be marked as static
      cifs: update internal module number

Yang Yingliang (1):
      cifs: fix wrong unlock before return from cifs_tree_connect()

Yu Zhe (2):
      cifs: remove unnecessary type castings
      cifs: remove unnecessary (void*) conversions.

 MAINTAINERS             |   7 +-
 fs/cifs/Makefile        |   4 +-
 fs/cifs/cifs_debug.c    |  72 +++-----
 fs/cifs/cifsacl.c       |   2 +
 fs/cifs/cifsencrypt.c   |   6 +-
 fs/cifs/cifsfs.c        |  53 ++++--
 fs/cifs/cifsfs.h        |   4 +-
 fs/cifs/cifsglob.h      | 135 +++++++++-----
 fs/cifs/cifsproto.h     |  10 +-
 fs/cifs/cifssmb.c       | 477 ++----------------------------------------------
 fs/cifs/connect.c       | 299 ++++++++++++++++++------------
 fs/cifs/dfs_cache.c     |   8 +-
 fs/cifs/dir.c           |   8 +
 fs/cifs/file.c          | 283 ++++++++++++++++++++++++++--
 fs/cifs/inode.c         |  64 ++++++-
 fs/cifs/ioctl.c         |   2 +
 fs/cifs/link.c          |   8 +
 fs/cifs/misc.c          |  33 ++--
 fs/cifs/netmisc.c       |   2 +-
 fs/cifs/sess.c          |   5 +-
 fs/cifs/smb1ops.c       |  10 +-
 fs/cifs/smb2misc.c      |  49 +++--
 fs/cifs/smb2ops.c       |  61 ++++---
 fs/cifs/smb2pdu.c       |  32 ++--
 fs/cifs/smb2transport.c |  38 ++--
 fs/cifs/transport.c     | 334 +++++++++++++++++++++++++--------
 fs/cifs/xattr.c         |   5 +-
 27 files changed, 1104 insertions(+), 907 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-07-14 18:41 Steve French
@ 2022-07-14 20:42 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-07-14 20:42 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Thu, 14 Jul 2022 13:41:54 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc6-smb3-client-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f41d5df5f146d606df02ec8fafd080a5ee6e6e81

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-07-14 18:41 Steve French
  2022-07-14 20:42 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-07-14 18:41 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
32346491ddf24599decca06190ebca03ff9de7f8:

  Linux 5.19-rc6 (2022-07-10 14:40:51 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc6-smb3-client-fixes

for you to fetch changes up to 32f319183c439b239294cb2d70ada3564c4c7c39:

  smb3: workaround negprot bug in some Samba servers (2022-07-13 19:59:47 -0500)
----------------------------------------------------------------
[resending due to cut-n-paste error in earlier P/R]

Three smb3 client fixes:
- 2 related to multichannel, one fixes a potential deadlock freeing a channel,
  and the other fixing race condition on failed creation of new channel
- one fixes a mount failure, working around a server bug in some
  common older Samba servers by avoiding padding at the end of the
  negotiate protocol request

----------------------------------------------------------------
Shyam Prasad N (2):
      cifs: fix race condition with delayed threads
      cifs: remove unnecessary locking of chan_lock while freeing session

Steve French (1):
      smb3: workaround negprot bug in some Samba servers

 fs/cifs/connect.c |  2 --
 fs/cifs/sess.c    | 11 +++++++++--
 fs/cifs/smb2pdu.c | 13 +++++++------
 3 files changed, 16 insertions(+), 10 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-07-14  3:35 [GIT PULL] smb3 " Steve French
@ 2022-07-14 18:33 ` Linus Torvalds
  0 siblings, 0 replies; 41+ messages in thread
From: Linus Torvalds @ 2022-07-14 18:33 UTC (permalink / raw)
  To: Steve French; +Cc: CIFS, LKML

On Wed, Jul 13, 2022 at 8:36 PM Steve French <smfrench@gmail.com> wrote:
>
> Three smb3 client fixes:

You don't even point to a git tree..

Please use the whole "git request-pull" thing, and include everything.

              Linus

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-07-14  3:35 Steve French
  2022-07-14 18:33 ` Linus Torvalds
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-07-14  3:35 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

----------------------------------------------------------------
Three smb3 client fixes:
- 2 related to multichannel, one fixes a potential deadlock freeing a channel,
  and the other fixing race condition on failed creation of new channel
- one fixes a mount failure, working around a server bug in some
  common older Samba servers by avoiding padding at the end of the
  negotiate protocol request

----------------------------------------------------------------
Shyam Prasad N (2):
      cifs: fix race condition with delayed threads
      cifs: remove unnecessary locking of chan_lock while freeing session

Steve French (1):
      smb3: workaround negprot bug in some Samba servers

 fs/cifs/connect.c |  2 --
 fs/cifs/sess.c    | 11 +++++++++--
 fs/cifs/smb2pdu.c | 13 +++++++------
 3 files changed, 16 insertions(+), 10 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] SMB3 client fixes
  2022-06-25 21:38 Steve French
@ 2022-06-26 17:36 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-06-26 17:36 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 25 Jun 2022 16:38:40 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc3-smb3-client-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/918c30dffd14cd3f4af1e67cb40db91a008fc4fe

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] SMB3 client fixes
@ 2022-06-25 21:38 Steve French
  2022-06-26 17:36 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-06-25 21:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
a111daf0c53ae91e71fd2bfe7497862d14132e3e:

  Linux 5.19-rc3 (2022-06-19 15:06:47 -0500)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc3-smb3-client-fixes

for you to fetch changes up to af3a6d1018f02c6dc8388f1f3785a559c7ab5961:

  cifs: update cifs_ses::ip_addr after failover (2022-06-24 13:34:28 -0500)

----------------------------------------------------------------
7 SMB3 fixes, addressing important multichannel, reconnect issues.
Multichannel mounts when the server network interfaces changed, or
ip addresses changed, uncovered problems, especially in reconnect, but
the patches for this were held up until recently due to some lock conflicts
that are now addressed.   Included in this set of fixes:

- 3 fixes relating to multichannel reconnect, dynamically adjusting the list of
server interfaces to avoid problems during reconnect
- a lock conflict fix related to the above
- 2 important fixes for negotiate on secondary channels (null netname can
unintentionally cause multichannel to be disabled to some servers)
- a reconnect fix (reporting incorrect IP address in some cases)

----------------------------------------------------------------
Paulo Alcantara (1):
      cifs: update cifs_ses::ip_addr after failover

Shyam Prasad N (5):
      smb3: use netname when available on secondary channels
      cifs: change iface_list from array to sorted linked list
      cifs: during reconnect, update interface if necessary
      cifs: periodically query network interfaces from server
      cifs: avoid deadlocks while updating iface

Steve French (1):
      smb3: fix empty netname context on secondary channels

 fs/cifs/cifs_debug.c |  12 ++--
 fs/cifs/cifsglob.h   |  58 ++++++++++++++++-
 fs/cifs/cifsproto.h  |   7 +++
 fs/cifs/connect.c    |  59 ++++++++++++++++--
 fs/cifs/misc.c       |   9 ++-
 fs/cifs/sess.c       | 166 +++++++++++++++++++++++++++++++++++++-----------
 fs/cifs/smb2ops.c    | 173 +++++++++++++++++++++++++++------------------------
 fs/cifs/smb2pdu.c    |  21 +++++--
 8 files changed, 366 insertions(+), 139 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] SMB3 client fixes
  2022-06-18 22:38 [GIT PULL] SMB3 " Steve French
@ 2022-06-19  3:02 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-06-19  3:02 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 18 Jun 2022 17:38:54 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc2-smb3-client-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ace2045ed56f9b00beb4cd23c76a5b6cae69f2fe

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] SMB3 client fixes
@ 2022-06-18 22:38 Steve French
  2022-06-19  3:02 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-06-18 22:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:

  Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc2-smb3-client-fixes

for you to fetch changes up to 5d24968f5b7e00bae564b1646c3b9e0e3750aabe:

  cifs: when a channel is not found for server, log its connection id
(2022-06-18 14:55:06 -0500)

----------------------------------------------------------------
2 smb3 debugging improvements
- one found to deal with debugging a multichannel problem and one for
a recent fallocate issue

Did not include the two larger multichannel reconnect (dynamically
adjusting interfaces on reconnect) patches in this P/R, because
recently found an additional problem with multichannel  to one server
type that I want to include at the same time.
----------------------------------------------------------------
Shyam Prasad N (1):
      cifs: when a channel is not found for server, log its connection id

Steve French (1):
      smb3: add trace point for SMB2_set_eof

 fs/cifs/sess.c    |  3 +++
 fs/cifs/smb2pdu.c |  2 ++
 fs/cifs/trace.h   | 38 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 43 insertions(+)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-06-11 16:38 [GIT PULL] smb3 " Steve French
@ 2022-06-12 18:40 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-06-12 18:40 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 11 Jun 2022 11:38:45 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc1-smb3-client-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2275c6babfa53278c90b7915441c61392dd687cc

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-06-11 16:38 Steve French
  2022-06-12 18:40 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-06-11 16:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
f2906aa863381afb0015a9eb7fefad885d4e5a56:

  Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc1-smb3-client-fixes

for you to fetch changes up to 4c14d7043fede258957d7b01da0cad2d9fe3a205:

  cifs: populate empty hostnames for extra channels (2022-06-10 18:55:02 -0500)

----------------------------------------------------------------
3 smb3 reconnect fixes, all for stable as well

One of these three reconnect fixes does address a problem with
multichannel reconnect,
but this P/R does not include the additional fix (still being tested)
for dynamically
detecting multichannel adapter changes which will improve those
reconnect scenarios
even more.
----------------------------------------------------------------
Paulo Alcantara (1):
      cifs: fix reconnect on smb3 mount types

Shyam Prasad N (2):
      cifs: return errors during session setup during reconnects
      cifs: populate empty hostnames for extra channels

 fs/cifs/cifsfs.c  |  2 +-
 fs/cifs/cifsfs.h  |  2 +-
 fs/cifs/connect.c |  4 ++++
 fs/cifs/misc.c    | 27 ++++++++++++++++-----------
 fs/cifs/sess.c    |  5 ++++-
 fs/cifs/smb2pdu.c |  3 +++
 6 files changed, 29 insertions(+), 14 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] SMB3 client fixes
  2022-06-04 23:00 Steve French
@ 2022-06-05  2:13 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-06-05  2:13 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 4 Jun 2022 18:00:34 -0500:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d66016c5cd3d4c474cd24622c511dcd358645613

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] SMB3 client fixes
@ 2022-06-04 23:00 Steve French
  2022-06-05  2:13 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-06-04 23:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
bf272460d744112bacd4c4d562592decbf0edf64:

  Merge tag '5.19-rc-smb3-client-fixes-updated' of
git://git.samba.org/sfrench/cifs-2.6 (2022-05-27 16:05:57 -0700)

are available in the Git repository at:

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

for you to fetch changes up to ee3c8019cce254f586b7fc2c5b836c275b275527:

  cifs: fix uninitialized pointer in error case in
dfs_cache_get_tgt_share (2022-06-04 13:33:42 -0500)

----------------------------------------------------------------
Includes various cifs/smb3 fixes:
- DFS fix
- double free fix
- potential deadlock fix
- fallocate (extend file size) improvement
- two legacy code cleanup fixes (do not include in build when legacy disabled)
- duplicate error message cleanup

This does not include the two multichannel (dynamic requery on interface change)
fixes, nor the important multichannel signing reconnect fix, which are important
but were recently changed by Shyam, so I wanted to give a few more days for
testing for them.
----------------------------------------------------------------
Enzo Matsumiya (1):
      cifs: remove repeated debug message on cifs_put_smb_ses()

Paulo Alcantara (1):
      cifs: skip trailing separators of prefix paths

Ronnie Sahlberg (2):
      cifs: fix potential double free during failed mount
      cifs: when extending a file with falloc we should make files not-sparse

Steve French (4):
      cifs: do not build smb1ops if legacy support is disabled
      cifs: version operations for smb20 unneeded when legacy support disabled
      cifs: update internal module number
      cifs: fix uninitialized pointer in error case in dfs_cache_get_tgt_share

Vincent Whitchurch (1):
      cifs: fix potential deadlock in direct reclaim

 fs/cifs/Makefile      |  4 ++-
 fs/cifs/cifs_swn.c    |  4 +--
 fs/cifs/cifsencrypt.c |  8 ++---
 fs/cifs/cifsfs.c      | 10 +++---
 fs/cifs/cifsfs.h      |  5 +--
 fs/cifs/cifsglob.h    | 24 ++++++++++++--
 fs/cifs/connect.c     | 27 ++++++++--------
 fs/cifs/dfs_cache.c   | 90 +++++++++++++++++++++++++++++----------------------
 fs/cifs/sess.c        |  6 ++--
 fs/cifs/smb1ops.c     |  6 ++--
 fs/cifs/smb2ops.c     |  9 ++++--
 fs/cifs/smb2pdu.c     |  6 ++--
 fs/cifs/smbdirect.c   |  4 +--
 fs/cifs/transport.c   | 40 +++++++++++------------
 14 files changed, 143 insertions(+), 100 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] SMB3 client fixes
  2022-05-27  6:52 [GIT PULL] SMB3 " Steve French
@ 2022-05-27 16:31 ` Steve French
  0 siblings, 0 replies; 41+ messages in thread
From: Steve French @ 2022-05-27 16:31 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML, David Howells

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@gmail.com> 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

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] SMB3 client fixes
@ 2022-05-27  6:52 Steve French
  2022-05-27 16:31 ` Steve French
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-05-27  6:52 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

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

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-04-22 17:00 Steve French
@ 2022-04-22 20:46 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-04-22 20:46 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS

The pull request you sent on Fri, 22 Apr 2022 12:00:06 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.18-rc3-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/88c5060d56d8f756653bbee89fa45a752e241c9c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-04-22 17:00 Steve French
  2022-04-22 20:46 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-04-22 17:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
b2d229d4ddb17db541098b83524d901257e93845:

  Linux 5.18-rc3 (2022-04-17 13:57:31 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f5d0f921ea362636e4a2efb7c38d1ead373a8700:

  cifs: destage any unwritten data to the server before calling
copychunk_write (2022-04-20 22:54:54 -0500)

----------------------------------------------------------------
4 fixes to cifs client, 2 for stable
- fcollapse fix
- reconnect lock fix
- DFS oops fix
- minor cleanup patch
----------------------------------------------------------------
Haowen Bai (1):
      cifs: Use kzalloc instead of kmalloc/memset

Paulo Alcantara (2):
      cifs: fix NULL ptr dereference in refresh_mounts()
      cifs: use correct lock type in cifs_reconnect()

Ronnie Sahlberg (1):
      cifs: destage any unwritten data to the server before calling
copychunk_write

 fs/cifs/connect.c   | 11 ++++++++++-
 fs/cifs/dfs_cache.c | 19 ++++++++++++-------
 fs/cifs/smb2ops.c   |  8 ++++++++
 fs/cifs/transport.c |  3 +--
 4 files changed, 31 insertions(+), 10 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-04-14 20:42 Steve French
@ 2022-04-14 23:25 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-04-14 23:25 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS

The pull request you sent on Thu, 14 Apr 2022 15:42:58 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.18-rc2-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/62345e482899185a247b126f32a96e4665018f45

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-04-14 20:42 Steve French
  2022-04-14 23:25 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-04-14 20:42 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
5a5dcfd1e8789053730908c96639151b4151c4d0:

  Merge tag '5.18-rc1-smb3-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2022-04-07 19:16:49 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 8b6c58458ee3206dde345fce327a4cb83e69caf9:

  cifs: verify that tcon is valid before dereference in cifs_kill_sb
(2022-04-14 00:07:36 -0500)

----------------------------------------------------------------
5 fixes to cifs client, 1 for stable
- two related to unmount
- symlink overflow fix
- minor netfs fix
- improved tracing for crediting (flow control)

----------------------------------------------------------------
David Howells (2):
      cifs: Check the IOCB_DIRECT flag, not O_DIRECT
      cifs: Split the smb3_add_credits tracepoint

Harshit Mogalapalli (1):
      cifs: potential buffer overflow in handling symlinks

Ronnie Sahlberg (1):
      cifs: verify that tcon is valid before dereference in cifs_kill_sb

Shyam Prasad N (1):
      cifs: release cached dentries only if mount is complete

 fs/cifs/cifsfs.c    | 30 ++++++++++++++++--------------
 fs/cifs/connect.c   |  2 +-
 fs/cifs/link.c      |  3 +++
 fs/cifs/smb2ops.c   |  9 ++++++---
 fs/cifs/trace.h     |  7 +++++++
 fs/cifs/transport.c |  4 ++--
 6 files changed, 35 insertions(+), 20 deletions(-)


--
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-02-18  0:26 Steve French
@ 2022-02-18 17:39 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-02-18 17:39 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Thu, 17 Feb 2022 18:26:04 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.17-rc5-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7476b043b1914413f75b7e99040969734ae1fab6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-02-18  0:26 Steve French
  2022-02-18 17:39 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-02-18  0:26 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
754e0b0e35608ed5206d6a67a791563c631cec07:

  Linux 5.17-rc4 (2022-02-13 12:13:30 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 53923e0fe2098f90f339510aeaa0e1413ae99a16:

  cifs: fix confusing unneeded warning message on smb2.1 and earlier
(2022-02-16 17:16:49 -0600)

----------------------------------------------------------------
6 small smb3 client fixes, 3 for stable:
-fix for snapshot mount option
- 2 ACL related fixes
- use after free race fix
- fix for confusing warning message logged with older dialects

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/904
----------------------------------------------------------------
Amir Goldstein (1):
      cifs: fix set of group SID via NTSD xattrs

Ronnie Sahlberg (3):
      cifs: do not use uninitialized data in the owner/group sid
      cifs: fix double free race when mount fails in cifs_get_root()
      cifs: modefromsids must add an ACE for authenticated users

Steve French (2):
      smb3: fix snapshot mount option
      cifs: fix confusing unneeded warning message on smb2.1 and earlier

 fs/cifs/cifsacl.c    |  9 ++++++---
 fs/cifs/cifsfs.c     |  1 +
 fs/cifs/fs_context.c |  4 ++--
 fs/cifs/sess.c       | 11 ++++++-----
 fs/cifs/xattr.c      |  2 ++
 5 files changed, 17 insertions(+), 10 deletions(-)

--
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2022-02-12 20:20 Steve French
@ 2022-02-13 18:04 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2022-02-13 18:04 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 12 Feb 2022 14:20:30 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.17-rc4-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e9c25787db080cb28601ce182088ce77659f684b

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2022-02-12 20:20 Steve French
  2022-02-13 18:04 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2022-02-12 20:20 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
dfd42facf1e4ada021b939b4e19c935dcdd55566:

  Linux 5.17-rc3 (2022-02-06 12:20:50 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 2a05137a0575b7d1006bdf4c1beeee9e391e22a0:

  cifs: mark sessions for reconnection in helper function (2022-02-08
22:13:52 -0600)

----------------------------------------------------------------
3 small smb3 reconnect fixes and an error log clarification

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/897

This pull request does not include the recent snapshot fix and 2
ACL/SID fixes that are still being tested (I can send those next
week).
----------------------------------------------------------------
Shyam Prasad N (3):
      cifs: call cifs_reconnect when a connection is marked
      cifs: call helper functions for marking channels for reconnect
      cifs: mark sessions for reconnection in helper function

Steve French (1):
      [smb3] improve error message when mount options conflict with posix

 fs/cifs/cifs_swn.c  |  6 +++---
 fs/cifs/connect.c   | 31 +++++++++++++++++++++++++------
 fs/cifs/dfs_cache.c |  2 +-
 fs/cifs/smb1ops.c   |  4 +---
 fs/cifs/transport.c |  5 +----
 5 files changed, 31 insertions(+), 17 deletions(-)


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2021-12-19  1:36 Steve French
@ 2021-12-19 20:34 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2021-12-19 20:34 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 18 Dec 2021 19:36:43 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.16-rc5-smb3-client-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9273d6cb9935f536c309186744e5163c9e488a57

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2021-12-19  1:36 Steve French
  2021-12-19 20:34 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2021-12-19  1:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
2585cf9dfaaddf00b069673f27bb3f8530e2039c:

  Linux 5.16-rc5 (2021-12-12 14:53:01 -0800)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.16-rc5-smb3-client-fixes

for you to fetch changes up to a31080899d5fdafcccf7f39dd214a814a2c82626:

  cifs: sanitize multiple delimiters in prepath (2021-12-17 19:16:49 -0600)

----------------------------------------------------------------
Two cifs/smb3 fixes, one fscache related, and one mount path parsing
related (for stable)

(Does not include the recent kernel DNS caching fix, which is still
being tested and reviewed)

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/856
----------------------------------------------------------------
Shyam Prasad N (1):
      cifs: ignore resource_id while getting fscache super cookie

Thiago Rafael Becker (1):
      cifs: sanitize multiple delimiters in prepath

 fs/cifs/connect.c    |  7 +++++++
 fs/cifs/fs_context.c | 38 +++++++++++++++++++++++++++++++++++++-
 fs/cifs/inode.c      | 13 -------------
 3 files changed, 44 insertions(+), 14 deletions(-)


--
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2021-12-04 20:41 Steve French
@ 2021-12-04 21:50 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2021-12-04 21:50 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 4 Dec 2021 14:41:36 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.16-rc3-smb3-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/23b55d673d7527b093cd97b7c217c82e70cd1af0

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2021-12-04 20:41 Steve French
  2021-12-04 21:50 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2021-12-04 20:41 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
d58071a8a76d779eedab38033ae4c821c30295a5:

  Linux 5.16-rc3 (2021-11-28 14:09:19 -0800)

are available in the Git repository at:

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

for you to fetch changes up to bbb9db5e2a7a1ca0926d26a279000384be21b789:

  cifs: avoid use of dstaddr as key for fscache client cookie
(2021-12-03 12:38:25 -0600)

----------------------------------------------------------------
3 SMB3 multichannel/fscache fixes and a DFS fix. In testing
multichannel reconnect scenarios recently various problems with the
cifs.ko implementation of fscache were found (e.g. incorrect
initialization of fscache cookies in some cases).

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/846
----------------------------------------------------------------
Paulo Alcantara (1):
      cifs: fix missed refcounting of ipc tcon

Shyam Prasad N (3):
      cifs: wait for tcon resource_id before getting fscache super
      cifs: add server conn_id to fscache client cookie
      cifs: avoid use of dstaddr as key for fscache client cookie

 fs/cifs/connect.c | 11 +++++------
 fs/cifs/fscache.c | 46 ++++++++++------------------------------------
 fs/cifs/inode.c   |  7 +++++++
 3 files changed, 22 insertions(+), 42 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [GIT PULL] smb3 client fixes
  2021-11-13 20:17 Steve French
@ 2021-11-13 20:30 ` pr-tracker-bot
  0 siblings, 0 replies; 41+ messages in thread
From: pr-tracker-bot @ 2021-11-13 20:30 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 13 Nov 2021 14:17:53 -0600:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c8103c2718eb99aab954187ca5be14f3d994c9be

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 41+ messages in thread

* [GIT PULL] smb3 client fixes
@ 2021-11-13 20:17 Steve French
  2021-11-13 20:30 ` pr-tracker-bot
  0 siblings, 1 reply; 41+ messages in thread
From: Steve French @ 2021-11-13 20:17 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
b5013d084e03e82ceeab4db8ae8ceeaebe76b0eb:

  Merge tag '5.16-rc-part1-smb3-client-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2021-11-06 16:47:53 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 46bb1b9484aeaf701da50c9ee063f3e93ce2a37b:

  cifs: do not duplicate fscache cookie for secondary channels
(2021-11-12 23:29:08 -0600)

----------------------------------------------------------------
23 cifs/smb3 fixes, including:
- improvements to reconnect and multichannel
- a performance improvement (additional use of SMB3 compounding)
- DFS code cleanup and improvements
- various trivial Coverity fixes
- two fscache fixes
- an fsync fix

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/836
----------------------------------------------------------------
Paulo Alcantara (8):
      cifs: fix print of hdr_flags in dfscache_proc_show()
      cifs: introduce new helper for cifs_reconnect()
      cifs: convert list_for_each to entry variant
      cifs: split out dfs code from cifs_reconnect()
      cifs: set a minimum of 120s for next dns resolution
      cifs: support nested dfs links over reconnect
      cifs: fix memory leak of smb3_fs_context_dup::server_hostname
      cifs: fix potential use-after-free bugs

Shyam Prasad N (7):
      cifs: nosharesock should not share socket with future sessions
      cifs: send workstation name during ntlmssp session setup
      cifs: for compound requests, use open handle if possible
      cifs: do not negotiate session if session already exists
      cifs: protect session channel fields with chan_lock
      cifs: connect individual channel servers to primary channel server
      cifs: do not duplicate fscache cookie for secondary channels

Steve French (8):
      smb3: do not error on fsync when readonly
      smb3: remove trivial dfs compile warning
      smb3: add additional null check in SMB2_ioctl
      smb3: add additional null check in SMB2_open
      smb3: add additional null check in SMB2_tcon
      cifs: release lock earlier in dequeue_mid error case
      smb3: add additional null check in SMB311_posix_mkdir
      smb3: do not setup the fscache_super_cookie until fsinfo initialized

 fs/cifs/cifs_debug.c   |    7 +-
 fs/cifs/cifs_dfs_ref.c |   59 +--
 fs/cifs/cifs_fs_sb.h   |    5 -
 fs/cifs/cifsglob.h     |   47 +-
 fs/cifs/cifsproto.h    |   10 +-
 fs/cifs/connect.c      | 1468
+++++++++++++++++++++++++++++++++-----------------------------
 fs/cifs/dfs_cache.c    |   46 +-
 fs/cifs/file.c         |   35 +-
 fs/cifs/fs_context.c   |   36 +-
 fs/cifs/fs_context.h   |    1 +
 fs/cifs/fscache.c      |    8 +
 fs/cifs/misc.c         |   64 +--
 fs/cifs/ntlmssp.h      |    4 +-
 fs/cifs/sess.c         |  240 ++++++----
 fs/cifs/smb2inode.c    |   22 +-
 fs/cifs/smb2ops.c      |   10 +-
 fs/cifs/smb2pdu.c      |   52 ++-
 fs/cifs/transport.c    |    3 +
 18 files changed, 1184 insertions(+), 933 deletions(-)

--
Thanks,

Steve

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2022-09-02 23:48 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-11 17:23 [GIT PULL] smb3 client fixes Steve French
2021-09-12 17:11 ` Linus Torvalds
2021-09-12 18:41 ` pr-tracker-bot
2021-11-13 20:17 Steve French
2021-11-13 20:30 ` pr-tracker-bot
2021-12-04 20:41 Steve French
2021-12-04 21:50 ` pr-tracker-bot
2021-12-19  1:36 Steve French
2021-12-19 20:34 ` pr-tracker-bot
2022-02-12 20:20 Steve French
2022-02-13 18:04 ` pr-tracker-bot
2022-02-18  0:26 Steve French
2022-02-18 17:39 ` pr-tracker-bot
2022-04-14 20:42 Steve French
2022-04-14 23:25 ` pr-tracker-bot
2022-04-22 17:00 Steve French
2022-04-22 20:46 ` pr-tracker-bot
2022-05-27  6:52 [GIT PULL] SMB3 " Steve French
2022-05-27 16:31 ` Steve French
2022-06-04 23:00 Steve French
2022-06-05  2:13 ` pr-tracker-bot
2022-06-11 16:38 [GIT PULL] smb3 " Steve French
2022-06-12 18:40 ` pr-tracker-bot
2022-06-18 22:38 [GIT PULL] SMB3 " Steve French
2022-06-19  3:02 ` pr-tracker-bot
2022-06-25 21:38 Steve French
2022-06-26 17:36 ` pr-tracker-bot
2022-07-14  3:35 [GIT PULL] smb3 " Steve French
2022-07-14 18:33 ` Linus Torvalds
2022-07-14 18:41 Steve French
2022-07-14 20:42 ` pr-tracker-bot
2022-08-07  5:03 Steve French
2022-08-07 17:57 ` pr-tracker-bot
2022-08-13 21:44 Steve French
2022-08-14  0:39 ` pr-tracker-bot
2022-08-20 22:34 Steve French
2022-08-21 18:42 ` pr-tracker-bot
2022-08-27 21:43 Steve French
2022-08-28 18:18 ` pr-tracker-bot
2022-09-02  0:44 Steve French
2022-09-02 23:48 ` pr-tracker-bot

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).