linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] CIFS/SMB3 Fixes
@ 2021-07-24 22:20 Steve French
  2021-07-25  0:34 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-07-24 22:20 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Please pull the following changes since commit
2734d6c1b1a089fb593ef6a23d4b70903526fe0c:

  Linux 5.14-rc2 (2021-07-18 14:13:49 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 488968a8945c119859d91bb6a8dc13bf50002f15:

  cifs: fix fallocate when trying to allocate a hole. (2021-07-22
21:24:22 -0500)

----------------------------------------------------------------
5 cifs/smb3 fixes, including a DFS failover fix, 2 fallocate fixes,
and 2 trivial Coverity cleanups

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/734
----------------------------------------------------------------
Paulo Alcantara (1):
      cifs: support share failover when remounting

Ronnie Sahlberg (2):
      cifs: only write 64kb at a time when fallocating a small region of a file
      cifs: fix fallocate when trying to allocate a hole.

Steve French (2):
      CIFS: Clarify SMB1 code for POSIX Create
      CIFS: Clarify SMB1 code for POSIX delete file

 fs/cifs/cifssmb.c    |  10 ++-
 fs/cifs/connect.c    |   4 +-
 fs/cifs/dfs_cache.c  | 229 ++++++++++++++++++++++++++++++++++++++++++---------
 fs/cifs/dfs_cache.h  |   3 +
 fs/cifs/fs_context.c |   7 ++
 fs/cifs/smb2ops.c    |  49 ++++++++---
 6 files changed, 247 insertions(+), 55 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2021-07-24 22:20 [GIT PULL] CIFS/SMB3 Fixes Steve French
@ 2021-07-25  0:34 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-07-25  0:34 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS

The pull request you sent on Sat, 24 Jul 2021 17:20:30 -0500:

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

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

Thank you!

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

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2021-08-13 21:41 Steve French
@ 2021-08-14  1:12 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-08-14  1:12 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS

The pull request you sent on Fri, 13 Aug 2021 16:41:15 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2021-08-13 21:41 Steve French
  2021-08-14  1:12 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-08-13 21:41 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
c500bee1c5b2f1d59b1081ac879d73268ab0ff17:

  Linux 5.14-rc4 (2021-08-01 17:04:17 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 9e992755be8f2d458a0bcbefd19e493483c1dba2:

  cifs: Call close synchronously during unlink/rename/lease break.
(2021-08-12 11:29:58 -0500)

----------------------------------------------------------------
4 CIFS/SMB3 Fixes, all for stable,
- 2 relating to deferred close
- 1 for modefromsid mount option (when idsfromsid not specified)

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/769
----------------------------------------------------------------
Rohith Surabattula (2):
      cifs: Handle race conditions during rename
      cifs: Call close synchronously during unlink/rename/lease break.

Ronnie Sahlberg (1):
      cifs: use the correct max-length for dentry_path_raw()

Shyam Prasad N (1):
      cifs: create sd context must be a multiple of 8

 fs/cifs/cifsglob.h |  5 +++++
 fs/cifs/dir.c      |  2 +-
 fs/cifs/file.c     | 35 +++++++++++++++++------------------
 fs/cifs/inode.c    | 19 +++++++++++++++++--
 fs/cifs/misc.c     | 50 +++++++++++++++++++++++++++++++++++++++-----------
 fs/cifs/smb2pdu.c  |  2 +-
 6 files changed, 80 insertions(+), 33 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2021-07-30 21:09 [GIT PULL] CIFS/SMB3 fixes Steve French
@ 2021-07-31 16:32 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-07-31 16:32 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Fri, 30 Jul 2021 16:09:46 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 fixes
@ 2021-07-30 21:09 Steve French
  2021-07-31 16:32 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-07-30 21:09 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
ff1176468d368232b684f75e82563369208bc371:

  Linux 5.14-rc3 (2021-07-25 15:35:14 -0700)

are available in the Git repository at:

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

for you to fetch changes up to b946dbcfa4df80ec81b442964e07ad37000cc059:

  cifs: add missing parsing of backupuid (2021-07-28 17:03:24 -0500)

----------------------------------------------------------------
3 cifs/smb3 fixes, including two for stable, and a fix for an
fallocate problem noticed by Clang

----------------------------------------------------------------
Ronnie Sahlberg (1):
      cifs: add missing parsing of backupuid

Steve French (2):
      SMB3: fix readpage for large swap cache
      smb3: rc uninitialized in one fallocate path

 fs/cifs/file.c       | 2 +-
 fs/cifs/fs_context.c | 7 +++++++
 fs/cifs/smb2ops.c    | 3 ++-
 3 files changed, 10 insertions(+), 2 deletions(-)


-- 
Thanks,

Steve

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

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

The pull request you sent on Fri, 16 Jul 2021 19:17:01 -0500:

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

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

Thank you!

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

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

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

Please pull the following changes since commit
e73f0f0ee7541171d89f2e2491130c7771ba58d3:

  Linux 5.14-rc1 (2021-07-11 15:07:40 -0700)

are available in the Git repository at:

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

for you to fetch changes up to cdc3363065aba2711e51019b3d5787f044f8a133:

  cifs: do not share tcp sessions of dfs connections (2021-07-16 00:21:47 -0500)

----------------------------------------------------------------
8 cifs/smb3 fixes including 3 for stable
3 DFS related fixes, and two to fix problems pointed out by static checkers

Still testing a set of important multichannel fixes which are not
included in this

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/730
----------------------------------------------------------------
Hyunchul Lee (1):
      cifs: fix the out of range assignment to bit fields in
parse_server_interfaces

Paulo Alcantara (2):
      cifs: handle reconnect of tcon when there is no cached dfs referral
      cifs: do not share tcp sessions of dfs connections

Ronnie Sahlberg (1):
      cifs: Do not use the original cruid when following DFS links for
multiuser mounts

Shyam Prasad N (2):
      cifs: use the expiry output of dns_query to schedule next resolution
      cifs: added WARN_ON for all the count decrements

Steve French (2):
      cifs: fix missing null session check in mount
      SMB3.1.1: fix mount failure to some servers when compression enabled

 fs/cifs/cifs_dfs_ref.c |   6 +++++-
 fs/cifs/cifsglob.h     |   7 +++++++
 fs/cifs/connect.c      | 110
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 fs/cifs/dns_resolve.c  |  10 ++++++----
 fs/cifs/dns_resolve.h  |   2 +-
 fs/cifs/misc.c         |   2 +-
 fs/cifs/smb2ops.c      |   6 ++++--
 fs/cifs/smb2pdu.h      |   1 +
 8 files changed, 124 insertions(+), 20 deletions(-)


--
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2021-06-28 23:52 Steve French
@ 2021-06-30  3:35 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-06-30  3:35 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS

The pull request you sent on Mon, 28 Jun 2021 18:52:17 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2021-06-28 23:52 Steve French
  2021-06-30  3:35 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-06-28 23:52 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
13311e74253fe64329390df80bed3f07314ddd61:

  Linux 5.13-rc7 (2021-06-20 15:03:15 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 0fa757b5d3ea6e3d3d59f0e0d34c8214b8643b8f:

  smb3: prevent races updating CurrentMid (2021-06-25 14:02:26 -0500)

----------------------------------------------------------------
38 cifs/smb3 fixes including:
- improvement to fallocate emulation
- 9 DFS fixes
- 2 minor multichannel fixes
- Various cleanup patches, many to address Coverity warnings

There are various features still being tested that are not included
in this PR but that should be ready soon, including some important
multichannel fixes, support for the new signing negotiate context as
well as an important multiuser uid fix.  We are also still working on
the switchover to netfs for readahead so that is not included in this
series yet.
----------------------------------------------------------------
Aurelien Aptel (1):
      cifs: fix ipv6 formating in cifs_ses_add_channel

Baokun Li (3):
      cifs: fix doc warnings in cifs_dfs_ref.c
      cifs: convert list_for_each to entry variant in smb2misc.c
      cifs: convert list_for_each to entry variant in cifs_debug.c

Colin Ian King (1):
      cifs: remove redundant initialization of variable rc

Dan Carpenter (1):
      cifs: fix NULL dereference in smb2_check_message()

Hyunchul Lee (1):
      cifs: decoding negTokenInit with generic ASN1 decoder

Kees Cook (1):
      cifs: Avoid field over-reading memcpy()

Paulo Alcantara (9):
      cifs: do not send tree disconnect to ipc shares
      cifs: get rid of @noreq param in __dfs_cache_find()
      cifs: keep referral server sessions alive
      cifs: handle different charsets in dfs cache
      cifs: fix path comparison and hash calc
      cifs: set a minimum of 2 minutes for refreshing dfs cache
      cifs: do not share tcp servers with dfs mounts
      cifs: avoid starvation when refreshing dfs cache
      cifs: fix check of dfs interlinks

Rikard Falkeborn (1):
      cifs: Constify static struct genl_ops

Ronnie Sahlberg (2):
      cifs: improve fallocate emulation
      cifs: avoid extra calls in posix_info_parse

Shyam Prasad N (1):
      cifs: missed ref-counting smb session in find

Steve French (15):
      cifs: remove duplicated prototype
      cifs: enable extended stats by default
      cifs: use SPDX-Licence-Identifier
      cifs: fix unneeded null check
      smb3: fix uninitialized value for port in witness protocol move
      cifs: fix SMB1 error path in cifs_get_file_info_unix
      smb311: remove dead code for non compounded posix query info
      smbdirect: missing rc checks while waiting for rdma events
      SMB3: Add new info level for query directory
      cifs: remove two cases where rc is set unnecessarily in sid_to_id
      cifs: missing null check for newinode pointer
      smb3: fix possible access to uninitialized pointer to DACL
      cifs: missing null pointer check in cifs_mount
      cifs: fix missing spinlock around update to ses->status
      smb3: prevent races updating CurrentMid

Thiago Rafael Becker (1):
      cifs: retry lookup and readdir when EAGAIN is returned.

YueHaibing (1):
      cifs: Remove unused inline function is_sysvol_or_netlogon()

 fs/cifs/Kconfig                       |    6 +-
 fs/cifs/Makefile                      |    8 +-
 fs/cifs/asn1.c                        |  623 ++-----------------
 fs/cifs/cache.c                       |   14 +-
 fs/cifs/cifs_debug.c                  |   24 +-
 fs/cifs/cifs_debug.h                  |    2 +-
 fs/cifs/cifs_dfs_ref.c                |    2 +-
 fs/cifs/cifs_fs_sb.h                  |   18 +-
 fs/cifs/cifs_ioctl.h                  |   11 +-
 fs/cifs/cifs_spnego.c                 |   14 +-
 fs/cifs/cifs_spnego.h                 |   14 +-
 fs/cifs/cifs_spnego_negtokeninit.asn1 |   40 ++
 fs/cifs/cifs_swn.c                    |   10 +-
 fs/cifs/cifsacl.c                     |   18 +-
 fs/cifs/cifsacl.h                     |   15 +-
 fs/cifs/cifsencrypt.c                 |   14 +-
 fs/cifs/cifsfs.c                      |   14 +-
 fs/cifs/cifsfs.h                      |   14 +-
 fs/cifs/cifsglob.h                    |   20 +-
 fs/cifs/cifspdu.h                     |   14 +-
 fs/cifs/cifsproto.h                   |   14 +-
 fs/cifs/cifssmb.c                     |   16 +-
 fs/cifs/connect.c                     |  159 +++--
 fs/cifs/dfs_cache.c                   | 1079 +++++++++++++++------------------
 fs/cifs/dfs_cache.h                   |   45 +-
 fs/cifs/dir.c                         |   27 +-
 fs/cifs/dns_resolve.c                 |   14 +-
 fs/cifs/dns_resolve.h                 |   14 +-
 fs/cifs/export.c                      |   14 +-
 fs/cifs/file.c                        |   14 +-
 fs/cifs/fscache.c                     |   14 +-
 fs/cifs/fscache.h                     |   14 +-
 fs/cifs/inode.c                       |   19 +-
 fs/cifs/ioctl.c                       |   14 +-
 fs/cifs/link.c                        |   14 +-
 fs/cifs/misc.c                        |   14 +-
 fs/cifs/netlink.c                     |    2 +-
 fs/cifs/ntlmssp.h                     |   14 +-
 fs/cifs/readdir.c                     |   16 +-
 fs/cifs/rfc1002pdu.h                  |   14 +-
 fs/cifs/sess.c                        |   16 +-
 fs/cifs/smb2file.c                    |   14 +-
 fs/cifs/smb2glob.h                    |   11 +-
 fs/cifs/smb2inode.c                   |   14 +-
 fs/cifs/smb2maperror.c                |   14 +-
 fs/cifs/smb2misc.c                    |   52 +-
 fs/cifs/smb2ops.c                     |  140 +++++
 fs/cifs/smb2pdu.c                     |   49 +-
 fs/cifs/smb2pdu.h                     |   53 +-
 fs/cifs/smb2proto.h                   |   16 +-
 fs/cifs/smb2status.h                  |   14 +-
 fs/cifs/smb2transport.c               |   26 +-
 fs/cifs/smbdirect.c                   |   14 +-
 fs/cifs/smberr.h                      |   14 +-
 fs/cifs/smbfsctl.h                    |   14 +-
 fs/cifs/transport.c                   |   14 +-
 fs/cifs/xattr.c                       |   14 +-
 include/linux/oid_registry.h          |    8 +
 58 files changed, 974 insertions(+), 1949 deletions(-)
 create mode 100644 fs/cifs/cifs_spnego_negtokeninit.asn1
-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2021-05-05 14:22 Steve French
@ 2021-05-05 20:49 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-05-05 20:49 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Wed, 5 May 2021 09:22:06 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2021-05-05 14:22 Steve French
  2021-05-05 20:49 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-05-05 14:22 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
a8a6082d4ae29d98129440c4a5de8e6ea3de0983:

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

are available in the Git repository at:

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

for you to fetch changes up to bae4c0c1c2d576d32e37925ef972a5d45f34e36d:

  fs/cifs: Fix resource leak (2021-05-04 11:53:15 -0500)

----------------------------------------------------------------
10 CIFS/SMB3 changesets (including two for stable):
- some important multichannel fixes
- support for handle leases (deferred close)
- shutdown support (which is also helpful since it enables multiple xfstests)
- enable negotiating stronger encryption by default (GCM256)
- improve wireshark debugging by allowing more options for root to
dump decryption keys

SambaXP and the SMB3 Plugfest test event are going on now so I am
expecting more patches over the next few days due to extra testing
(including more multichannel fixes).

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/628
----------------------------------------------------------------
Khaled ROMDHANI (1):
      fs/cifs: Fix resource leak

Paulo Alcantara (1):
      cifs: fix regression when mounting shares with prefix paths

Rohith Surabattula (2):
      cifs: Deferred close for files
      Cifs: Fix kernel oops caused by deferred close for files.

Shyam Prasad N (2):
      cifs: detect dead connections only when echoes are enabled.
      cifs: use echo_interval even when connection not ready.

Steve French (4):
      smb3.1.1: enable negotiating stronger encryption by default
      cifs: add shutdown support
      smb3.1.1: allow dumping GCM256 keys to improve debugging of
encrypted shares
      smb3.1.1: allow dumping keys for multiuser mounts

 fs/cifs/cifs_fs_sb.h |   1 +
 fs/cifs/cifs_ioctl.h |  35 ++++++++++++++++++++++++++
 fs/cifs/cifsfs.c     |  25 ++++++++++++-------
 fs/cifs/cifsglob.h   |  17 +++++++++++++
 fs/cifs/cifsproto.h  |  13 ++++++++++
 fs/cifs/connect.c    |  37 ++++++++++++++-------------
 fs/cifs/dir.c        |  10 ++++++++
 fs/cifs/file.c       | 102
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 fs/cifs/fs_context.c |   5 ++++
 fs/cifs/inode.c      |  27 ++++++++++++++++++--
 fs/cifs/ioctl.c      | 112
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/link.c       |  13 +++++++++-
 fs/cifs/misc.c       |  79
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/xattr.c      |   4 +++
 14 files changed, 447 insertions(+), 33 deletions(-)


--
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2021-04-26 19:50 [GIT PULL] CIFS/SMB3 fixes Steve French
@ 2021-04-26 20:57 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-04-26 20:57 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS

The pull request you sent on Mon, 26 Apr 2021 14:50:57 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 fixes
@ 2021-04-26 19:50 Steve French
  2021-04-26 20:57 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-04-26 19:50 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

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

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2021-03-28  0:07 [GIT PULL] CIFS/SMB3 Fixes Steve French
@ 2021-03-28 19:11 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-03-28 19:11 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 27 Mar 2021 19:07:10 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2021-03-28  0:07 Steve French
  2021-03-28 19:11 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-03-28  0:07 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
0d02ec6b3136c73c09e7859f0d0e4e2c4c07b49b:

  Linux 5.12-rc4 (2021-03-21 14:56:43 -0700)

are available in the Git repository at:

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

for you to fetch changes up to cfc63fc8126a93cbf95379bc4cad79a7b15b6ece:

  smb3: fix cached file size problems in duplicate extents (reflink)
(2021-03-26 18:41:55 -0500)

----------------------------------------------------------------
5 cifs/smb3 fixes, 2 for stable, includes an important fix for
encryption and an ACL fix, as well as two fixes for possible data
corruptions (one for reflink and one for SMB1)

Test results: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/543
----------------------------------------------------------------
Ronnie Sahlberg (1):
      cifs: revalidate mapping when we open files for SMB1 POSIX

Shyam Prasad N (2):
      cifs: Adjust key sizes and key generation routines for AES256 encryption
      cifs: Fix chmod with modefromsid when an older ACE already exists.

Steve French (1):
      smb3: fix cached file size problems in duplicate extents (reflink)

Vincent Whitchurch (1):
      cifs: Silently ignore unknown oplock break handle

 fs/cifs/cifsacl.c       |  3 +--
 fs/cifs/cifsglob.h      |  4 ++--
 fs/cifs/cifspdu.h       |  5 +++++
 fs/cifs/file.c          |  1 +
 fs/cifs/smb2glob.h      |  1 +
 fs/cifs/smb2misc.c      |  4 ++--
 fs/cifs/smb2ops.c       | 27 ++++++++++++++++++++-------
 fs/cifs/smb2transport.c | 37 ++++++++++++++++++++++++++++---------
 8 files changed, 60 insertions(+), 22 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2021-03-20 16:18 Steve French
@ 2021-03-20 18:06 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-03-20 18:06 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS

The pull request you sent on Sat, 20 Mar 2021 11:18:54 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2021-03-20 16:18 Steve French
  2021-03-20 18:06 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-03-20 16:18 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
1e28eed17697bcf343c6743f0028cc3b5dd88bf0:

  Linux 5.12-rc3 (2021-03-14 14:41:02 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 65af8f0166f4d15e61c63db498ec7981acdd897f:

  cifs: fix allocation size on newly created files (2021-03-19 11:51:31 -0500)

----------------------------------------------------------------
5 cifs/smb3 fixes, 3 for stable, including an important ACL fix and
security signature fix

Test results: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/530
----------------------------------------------------------------
Aurelien Aptel (1):
      cifs: warn and fail if trying to use rootfs without the config option

Liu xuzhi (1):
      fs/cifs/: fix misspellings using codespell tool

Shyam Prasad N (1):
      cifs: update new ACE pointer after populate_new_aces.

Steve French (1):
      cifs: fix allocation size on newly created files

Vincent Whitchurch (1):
      cifs: Fix preauth hash corruption

 fs/cifs/cifs_swn.c   |  2 +-
 fs/cifs/cifsacl.c    |  9 ++++++---
 fs/cifs/fs_context.c |  6 ++++--
 fs/cifs/inode.c      | 10 +++++++++-
 fs/cifs/transport.c  |  7 ++++++-
 5 files changed, 26 insertions(+), 8 deletions(-)

-- 
Thanks,

Steve

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2021-03-20 16:17 Steve French
  0 siblings, 0 replies; 72+ messages in thread
From: Steve French @ 2021-03-20 16:17 UTC (permalink / raw)
  To: CIFS; +Cc: LKML

Please pull the following changes since commit
1e28eed17697bcf343c6743f0028cc3b5dd88bf0:

  Linux 5.12-rc3 (2021-03-14 14:41:02 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 65af8f0166f4d15e61c63db498ec7981acdd897f:

  cifs: fix allocation size on newly created files (2021-03-19 11:51:31 -0500)

----------------------------------------------------------------
5 cifs/smb3 fixes, 3 for stable, including an important ACL fix and
security signature fix

Test results: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/530
----------------------------------------------------------------
Aurelien Aptel (1):
      cifs: warn and fail if trying to use rootfs without the config option

Liu xuzhi (1):
      fs/cifs/: fix misspellings using codespell tool

Shyam Prasad N (1):
      cifs: update new ACE pointer after populate_new_aces.

Steve French (1):
      cifs: fix allocation size on newly created files

Vincent Whitchurch (1):
      cifs: Fix preauth hash corruption

 fs/cifs/cifs_swn.c   |  2 +-
 fs/cifs/cifsacl.c    |  9 ++++++---
 fs/cifs/fs_context.c |  6 ++++--
 fs/cifs/inode.c      | 10 +++++++++-
 fs/cifs/transport.c  |  7 ++++++-
 5 files changed, 26 insertions(+), 8 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2021-02-26  6:24 Steve French
@ 2021-02-26 22:24 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-02-26 22:24 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS

The pull request you sent on Fri, 26 Feb 2021 00:24:14 -0600:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2021-02-26  6:24 Steve French
  2021-02-26 22:24 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-02-26  6:24 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
f40ddce88593482919761f74910f42f4b84c004b:

  Linux 5.11 (2021-02-14 14:32:24 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 8369dfd7841e70711c53a065ffb8029f24520200:

  cifs: update internal version number (2021-02-25 19:08:11 -0600)

----------------------------------------------------------------
cifs/smb3 fixes:
    - improvements to mode bit conversion, chmod and chown when using
cifsacl mount option
     - two new mount options for controlling attribute caching
     - improvements to crediting and reconnect, improved debugging
     - reconnect fix
     - add SMB3.1.1 dialect to default dialects for vers=3

Still working on a security fix and some multichannel fixes which are
not included in this pull request

Test results: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/513
----------------------------------------------------------------
David Howells (1):
      cifs: use discard iterator to discard unneeded network data more
efficiently

Paulo Alcantara (4):
      cifs: fix nodfs mount option
      cifs: fix DFS failover
      cifs: check all path components in resolved dfs target
      cifs: introduce helper for finding referral server to improve
DFS target resolution

Rohith Surabattula (1):
      TCON Reconnect during STATUS_NETWORK_NAME_DELETED

Ronnie Sahlberg (1):
      cifs: fix handling of escaped ',' in the password mount argument

Shyam Prasad N (8):
      cifs: New optype for session operations.
      cifs: Fix in error types returned for out-of-credit situations.
      cifs: Identify a connection by a conn_id.
      cifs: Reformat DebugData and index connections by conn_id.
      cifs: Fix cifsacl ACE mask for group and others.
      cifs: Retain old ACEs when converting between mode bits and ACL.
      cifs: Change SIDs in ACEs while transferring file ownership.
      cifs: If a corrupted DACL is returned by the server, bail out.

Steve French (11):
      smb3: negotiate current dialect (SMB3.1.1) when version 3 or
greater requested
      cifs: fix trivial typo
      cifs: documentation cleanup
      cifs: change confusing field serverName (to ip_addr)
      cifs: clarify hostname vs ip address in /proc/fs/cifs/DebugData
      cifs: cleanup a few le16 vs. le32 uses in cifsacl.c
      cifs: minor simplification to smb2_is_network_name_deleted
      cifs: Add new mount parameter "acdirmax" to allow caching
directory metadata
      cifs: convert revalidate of directories to using directory
metadata cache timeout
      cifs: Add new parameter "acregmax" for distinct file and
directory metadata timeout
      cifs: update internal version number

YueHaibing (1):
      cifs: Fix inconsistent IS_ERR and PTR_ERR

 Documentation/admin-guide/cifs/authors.rst      |   6 +-
 Documentation/admin-guide/cifs/changes.rst      |   5 +-
 Documentation/admin-guide/cifs/introduction.rst |  30 +-
 Documentation/admin-guide/cifs/todo.rst         |  34 ++-
 Documentation/admin-guide/cifs/usage.rst        |   2 +-
 fs/cifs/cifs_debug.c                            | 121 ++++----
 fs/cifs/cifs_swn.c                              |   2 +-
 fs/cifs/cifsacl.c                               | 379 +++++++++++++++++++-----
 fs/cifs/cifsacl.h                               |   4 +-
 fs/cifs/cifsencrypt.c                           |   6 +-
 fs/cifs/cifsfs.c                                |  15 +-
 fs/cifs/cifsfs.h                                |   2 +-
 fs/cifs/cifsglob.h                              |  11 +-
 fs/cifs/cifsproto.h                             |   2 +
 fs/cifs/cifssmb.c                               |   6 +-
 fs/cifs/connect.c                               | 301 ++++++++++---------
 fs/cifs/dfs_cache.c                             |  33 ++-
 fs/cifs/file.c                                  |   2 +-
 fs/cifs/fs_context.c                            |  75 +++--
 fs/cifs/fs_context.h                            |   6 +-
 fs/cifs/inode.c                                 |  23 +-
 fs/cifs/sess.c                                  |   2 +-
 fs/cifs/smb2ops.c                               | 109 +++++--
 fs/cifs/smb2pdu.c                               |  22 +-
 fs/cifs/trace.h                                 |  36 ++-
 fs/cifs/transport.c                             |  63 ++--
 26 files changed, 883 insertions(+), 414 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2021-01-15  5:56 Steve French
@ 2021-01-15 23:01 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2021-01-15 23:01 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS

The pull request you sent on Thu, 14 Jan 2021 23:56:31 -0600:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2021-01-15  5:56 Steve French
  2021-01-15 23:01 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2021-01-15  5:56 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Please pull the following changes since commit
7c53f6b671f4aba70ff15e1b05148b10d58c2837:

  Linux 5.11-rc3 (2021-01-10 14:34:50 -0800)

are available in the Git repository at:

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

for you to fetch changes up to e54fd0716c3db20c0cba73fee2c3a4274b08c24e:

  cifs: style: replace one-element array with flexible-array
(2021-01-13 13:36:45 -0600)

----------------------------------------------------------------
2 small cifs fixes for stable (including an important handle leak fix)
and 3 small cleanup patches

Test results: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/476
----------------------------------------------------------------
Menglong Dong (1):
      fs: cifs: remove unneeded variable in smb3_fs_context_dup

Paulo Alcantara (1):
      cifs: fix interrupted close commands

Tom Rix (1):
      cifs: check pointer before freeing

YANG LI (2):
      cifs: connect: style: Simplify bool comparison
      cifs: style: replace one-element array with flexible-array

 fs/cifs/connect.c    | 2 +-
 fs/cifs/dfs_cache.c  | 3 ++-
 fs/cifs/fs_context.c | 4 +---
 fs/cifs/smb2pdu.c    | 2 +-
 fs/cifs/smb2pdu.h    | 2 +-
 5 files changed, 6 insertions(+), 7 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2020-12-20 19:47 Steve French
@ 2020-12-21  4:45 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-12-21  4:45 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sun, 20 Dec 2020 13:47:32 -0600:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2020-12-20 19:47 Steve French
  2020-12-21  4:45 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-12-20 19:47 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
e13300bdaa68f5487000e66baed1ff69bcb510bf:

  Merge tag '5.11-rc-smb3' of git://git.samba.org/sfrench/cifs-2.6
(2020-12-17 17:41:37 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 9541b81322e60120b299222919957becd7a13683:

  Add SMB 2 support for getting and setting SACLs (2020-12-18 23:32:04 -0600)

----------------------------------------------------------------
Four small CIFS/SMB3 fixes (witness protocol and reconnect related),
and two that add ability to get and set auditing information in the
security descriptor (SACL), which can be helpful not just for backup
scenarios ("smbinfo secdesc" etc.) but also for improving security.

Testing results:
      http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/466
----------------------------------------------------------------
Boris Protopopov (2):
      SMB3: Add support for getting and setting SACLs
      Add SMB 2 support for getting and setting SACLs

Dan Carpenter (3):
      cifs: Delete a stray unlock in cifs_swn_reconnect()
      cifs: Unlock on errors in cifs_swn_reconnect()
      cifs: Re-indent cifs_swn_reconnect()

Samuel Cabrero (1):
      cifs: Avoid error pointer dereference

 fs/cifs/cifs_swn.c  | 73 +++++++++++++++++++++++------------------------
 fs/cifs/cifsacl.c   | 15 ++++++----
 fs/cifs/cifsglob.h  |  4 +--
 fs/cifs/cifspdu.h   |  2 ++
 fs/cifs/cifsproto.h |  4 +--
 fs/cifs/connect.c   |  1 +
 fs/cifs/smb2ops.c   | 35 ++++++++++++++---------
 fs/cifs/smb2pdu.c   |  7 +++--
 fs/cifs/smb2proto.h |  4 +--
 fs/cifs/xattr.c     | 81 +++++++++++++++++++++++++++++++++++++++--------------
 10 files changed, 140 insertions(+), 86 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] cifs/smb3 fixes
  2020-10-24 22:21 [GIT PULL] cifs/smb3 fixes Steve French
@ 2020-10-25 18:35 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-10-25 18:35 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS

The pull request you sent on Sat, 24 Oct 2020 17:21:23 -0500:

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

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

Thank you!

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

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

* [GIT PULL] cifs/smb3 fixes
@ 2020-10-24 22:21 Steve French
  2020-10-25 18:35 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-10-24 22:21 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Please pull the following changes since commit
0613ed91901b5f87afcd28b4560fb0aa37a0db13:

  Merge tag '5.10-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2020-10-23 11:41:39 -0700)

are available in the Git repository at:

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

for you to fetch changes up to aef0388aa92c5583eeac401710e16db48be4c9ac:

  cifs: update internal module version number (2020-10-23 23:41:49 -0500)

----------------------------------------------------------------
add support for stat of various special file types (WSL reparse points
for char, block, fifo)

unit test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/406
----------------------------------------------------------------
Steve French (4):
      smb3: add support for stat of WSL reparse points for special file types
      smb3: remove two unused variables
      smb3: add some missing definitions from MS-FSCC
      cifs: update internal module version number

 fs/cifs/cifsfs.h    |   2 +-
 fs/cifs/cifsglob.h  |   4 +++
 fs/cifs/inode.c     |  44 +++++++++++++++++++++-----
 fs/cifs/smb2inode.c |  12 ++++----
 fs/cifs/smb2ops.c   | 130
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/smb2pdu.h   |  31 +++++++++++++++++++
 fs/cifs/smb2proto.h |   3 ++
 fs/cifs/smbfsctl.h  |   2 ++
 8 files changed, 213 insertions(+), 15 deletions(-)

--
Thanks,

Steve

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

* Re: [GIT PULL] cifs/smb3 fixes
  2020-10-23  5:09 Steve French
  2020-10-23  6:12 ` Steve French
@ 2020-10-23 18:53 ` pr-tracker-bot
  1 sibling, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-10-23 18:53 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS

The pull request you sent on Fri, 23 Oct 2020 00:09:01 -0500:

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

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

Thank you!

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

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

* Re: [GIT PULL] cifs/smb3 fixes
  2020-10-23  6:12 ` Steve French
@ 2020-10-23 18:46   ` Linus Torvalds
  0 siblings, 0 replies; 72+ messages in thread
From: Linus Torvalds @ 2020-10-23 18:46 UTC (permalink / raw)
  To: Steve French; +Cc: CIFS

On Thu, Oct 22, 2020 at 11:12 PM Steve French <smfrench@gmail.com> wrote:
>
> Looks like a cut-n-paste error (double paste).  Will resend the pull request

Well, the re-sent one was truncated and missed the final part of the diffstat..

If you're mousing these things, and that's the problem, may I
introduce you to the 'xsel' program?

                Linus

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

* [GIT PULL] cifs/smb3 fixes
@ 2020-10-23  6:12 Steve French
  0 siblings, 0 replies; 72+ messages in thread
From: Steve French @ 2020-10-23  6:12 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Please pull the following changes since commit
57c176074057531b249cf522d90c22313fa74b0b:

  Convert trailing spaces and periods in path components (2020-10-11
23:57:18 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 13909d96c84afd409bf11aa6c8fbcb1efacb12eb:

  SMB3: add support for recognizing WSL reparse tags (2020-10-22 12:17:59 -0500)

----------------------------------------------------------------
30 cifs/smb3 fixes, including five fixes for stable

Other features included:
- add support for recognizing special file types
(char/block/fifo/symlink) for files created by Linux on WSL (a format
we plan to move to as the default for creating special files on Linux,
as it has advantages over the other current option, the SFU format)
in readdir.
- fix double queries to root directory when directory leases not
supported (e.g. Samba)
- fix querying mode bits (modefromsid mount option) for special file types
- stronger encryption (gcm256), disabled by default until tested more broadly
- allows querying owner when server reports "well known SID" on query
dir with SMB3.1.1 POSIX extensions

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

This PR does not include some additional fixes that are still being
tested but should be available soon:
- for querying owner better on stat with SMB3.1.1 posix extensions
- for querying special file types better in getattr
- some additional small gcm 256 (stronger encryption) fixes
- some important multichannel fixes for low crediting scenarios (flow
control issues)
----------------------------------------------------------------
Colin Ian King (1):
      cifs: make const array static, makes object smaller

Dan Carpenter (1):
      cifs: remove bogus debug code

Rohith Surabattula (2):
      Handle STATUS_IO_TIMEOUT gracefully
      SMB3: Resolve data corruption of TCP server info fields

Ronnie Sahlberg (7):
      cifs: return cached_fid from open_shroot
      cifs: compute full_path already in cifs_readdir()
      cifs: handle -EINTR in cifs_setattr
      cifs: add files to host new mount api
      cifs: move security mount options into fs_context.ch
      cifs: move cache mount options to fs_context.ch
      cifs: move smb version mount options into fs_context.c

Samuel Cabrero (1):
      cifs: Print the address and port we are connecting to in
generic_ip_connect()

Shyam Prasad N (1):
      cifs: Return the error from crypt_message when enc/dec key not found.

Stefan Metzmacher (1):
      cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES

Steve French (15):
      smb3: add defines for new crypto algorithms
      update structure definitions from updated protocol documentation
      SMB3.1.1: add defines for new signing negotiate context
      smb3.1.1: add new module load parm require_gcm_256
      smb3.1.1: add new module load parm enable_gcm_256
      smb3.1.1: print warning if server does not support requested
encryption type
      smb3.1.1: rename nonces used for GCM and CCM encryption
      smb3.1.1: set gcm256 when requested
      smb3.1.1: do not fail if no encryption required but server
doesn't support it
      smb3: add dynamic trace point to trace when credits obtained
      SMB3.1.1: Fix ids returned in POSIX query dir
      smb3: fix stat when special device file and mounted with modefromsid
      smb3: do not try to cache root directory if dir leases not supported
      smb3.1.1: fix typo in compression flag
      SMB3: add support for recognizing WSL reparse tags

 fs/cifs/Makefile        |   2 +-
 fs/cifs/asn1.c          |  16 ++--
 fs/cifs/cifsacl.c       |   5 +-
 fs/cifs/cifsfs.c        |   8 ++
 fs/cifs/cifsglob.h      |  16 +---
 fs/cifs/cifsproto.h     |   2 +
 fs/cifs/connect.c       | 264
++++++++---------------------------------------------------------
 fs/cifs/fs_context.c    | 221
++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/fs_context.h    |  58 +++++++++++++++
 fs/cifs/inode.c         |  13 +++-
 fs/cifs/readdir.c       |  60 ++++++++++-----
 fs/cifs/smb2glob.h      |   1 +
 fs/cifs/smb2inode.c     |  11 +--
 fs/cifs/smb2maperror.c  |   4 +-
 fs/cifs/smb2ops.c       |  83 +++++++++++++++------
 fs/cifs/smb2pdu.c       |  53 ++++++++++---
 fs/cifs/smb2pdu.h       |  90 +++++++++++++++++++---
 fs/cifs/smb2proto.h     |   3 +-
 fs/cifs/smb2transport.c |   8

-- 
Thanks,

Steve

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

* Re: [GIT PULL] cifs/smb3 fixes
  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
  1 sibling, 1 reply; 72+ messages in thread
From: Steve French @ 2020-10-23  6:12 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Looks like a cut-n-paste error (double paste).  Will resend the pull request

On Fri, Oct 23, 2020 at 12:09 AM Steve French <smfrench@gmail.com> wrote:
>
> Please pull the following changes since commit
> 57c176074057531b249cf522d90c22313fa74b0b:
>
>   Convert trailing spaces and periods in path components (2020-10-11
> 23:57:18 -0500)
>
> are available in the Git repository at:
>
>   git://git.samba.org/sfrench/cifs-2.6.git tags/5.10-rc-smb3-fixes-part1
>
> for you to fetch changes up to 13909d96c84afd409bf11aa6c8fbcb1efacb12eb:
>
>   SMB3: add support for recognizing WSL reparse tags (2020-10-22 12:17:59 -0500)
>
> ----------------------------------------------------------------
> 30 cifs/smb3 fixes, including five fixes for stable
>
> Other features included:
> - add support for recognizing special file types
> (char/block/fifo/symlink) for files created by Linux on WSL (a format
> we plan to move to as the default for creating special files on Linux,
> as it has advantages over the other current option, the SFU format)
> in readdir.
> - fix double queries to root directory when directory leases not
> supported (e.g. Samba)
> - fix querying mode bits (modefromsid mount option) for special file types
> - stronger encryption (gcm256), disabled by default until tested more broadly
> - allows querying owner when server reports "well known SID" on query
> dir with SMB3.1.1 POSIX extensions
>
> Unit test results:
> http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/405
>
> This PR does not include some additional fixes that are still being
> tested but should be available soon:
> - for querying owner better on stat with SMB3.1.1 posix extensions
> - for querying special file types better in getattr
> - some additional small gcm 256 (stronger encryption) fixes
> - some important multichannel fixes for low crediting scenarios (flow
> control issues)
> ----------------------------------------------------------------
> Colin Ian King (1):
>       cifs: make const array static, makes object smaller
>
> Dan Carpenter (1):
>       cifs: remove bogus debug code
>
> Rohith Surabattula (2):
>       Handle STATUS_IO_TIMEOUT gracefully
>       SMB3: Resolve data corruption of TCP server info fields
>
> Ronnie Sahlberg (7):
>       cifs: return cached_fid from open_shroot
>       cifs: compute full_path already in cifs_readdir()
>       cifs: handle -EINTR in cifs_setattr
>       cifs: add files to host new mount api
>       cifs: move security mount options into fs_context.ch
>       cifs: move cache mount options to fs_context.ch
>       cifs: move smb version mount options into fs_context.c
>
> Samuel Cabrero (1):
>       cifs: Print the address and port we are connecting to in
> generic_ip_connect()
>
> Shyam Prasad N (1):
>       cifs: Return the error from crypt_message when enc/dec key not found.
>
> Stefan Metzmacher (1):
>       cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES
>
> Steve French (15):
>       smb3: add defines for new crypto algorithms
>       update structure definitions from updated protocol documentation
>       SMB3.1.1: add defines for new signing negotiate context
>       smb3.1.1: add new module load parm require_gcm_256
>       smb3.1.1: add new module load parm enable_gcm_256
>       smb3.1.1: print warning if server does not support requested
> encryption type
>       smb3.1.1: rename nonces used for GCM and CCM encryption
>       smb3.1.1: set gcm256 when requested
>       smb3.1.1: do not fail if no encryption required but server
> doesn't support it
>       smb3: add dynamic trace point to trace when credits obtained
>       SMB3.1.1: Fix ids returned in POSIX query dir
>       smb3: fix stat when special device file and mounted with modefromsid
>       smb3: do not try to cache root directory if dir leases not supported
>       smb3.1.1: fix typo in compression flag
>       SMB3: add support for recognizing WSL reparse tags
>
>  fs/cifs/Makefile        |   2 +-
>  fs/cifs/asn1.c          |  16 ++--
>  fs/cifs/cifsacl.c       |   5 +-
>  fs/cifs/cifsfs.c        |   8 ++
>  fs/cifs/cifsglob.h      |  16 +---
>  fs/cifs/cifsproto.h     |   2 +
>  fs/cifs/connect.c       | 264
> ++++++++---------------------------------------------------------
>  fs/cifs/fs_context.c    | 221
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  fs/cifs/fs_context.h    |  58 +++++++++++++++
>  fs/cifs/inode.c         |  13 +++-
>  fs/cifs/readdir.c       |  60 ++++++++++-----
>  fs/cifs/smb2glob.h      |   1 +
>  fs/cifs/smb2inode.c     |  11 +--
>  fs/cifs/smb2maperror.c  |   4 +-
>  fs/cifs/smb2ops.c       |  83 +++++++++++++++------
>  fs/cifs/smb2pdu.c       |  53 ++++++++++---
>  fs/cifs/smb2pdu.h       |  90 +++++++++++++++++++---
>  fs/cifs/smb2proto.h     |   3 +-
>  fs/cifs/smb2transport.c |   8 The following changes since commit
> 57c176074057531b249cf522d90c22313fa74b0b:
>
>   Convert trailing spaces and periods in path components (2020-10-11
> 23:57:18 -0500)
>
> are available in the Git repository at:
>
>   git://git.samba.org/sfrench/cifs-2.6.git tags/5.10-rc-smb3-fixes-part1
>
> for you to fetch changes up to 13909d96c84afd409bf11aa6c8fbcb1efacb12eb:
>
>   SMB3: add support for recognizing WSL reparse tags (2020-10-22 12:17:59 -0500)
>
> ----------------------------------------------------------------
> 30 cifs/smb3 fixes, including five for stable
>
> ----------------------------------------------------------------
> Colin Ian King (1):
>       cifs: make const array static, makes object smaller
>
> Dan Carpenter (1):
>       cifs: remove bogus debug code
>
> Rohith Surabattula (2):
>       Handle STATUS_IO_TIMEOUT gracefully
>       SMB3: Resolve data corruption of TCP server info fields
>
> Ronnie Sahlberg (7):
>       cifs: return cached_fid from open_shroot
>       cifs: compute full_path already in cifs_readdir()
>       cifs: handle -EINTR in cifs_setattr
>       cifs: add files to host new mount api
>       cifs: move security mount options into fs_context.ch
>       cifs: move cache mount options to fs_context.ch
>       cifs: move smb version mount options into fs_context.c
>
> Samuel Cabrero (1):
>       cifs: Print the address and port we are connecting to in
> generic_ip_connect()
>
> Shyam Prasad N (1):
>       cifs: Return the error from crypt_message when enc/dec key not found.
>
> Stefan Metzmacher (1):
>       cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES
>
> Steve French (15):
>       smb3: add defines for new crypto algorithms
>       update structure definitions from updated protocol documentation
>       SMB3.1.1: add defines for new signing negotiate context
>       smb3.1.1: add new module load parm require_gcm_256
>       smb3.1.1: add new module load parm enable_gcm_256
>       smb3.1.1: print warning if server does not support requested
> encryption type
>       smb3.1.1: rename nonces used for GCM and CCM encryption
>       smb3.1.1: set gcm256 when requested
>       smb3.1.1: do not fail if no encryption required but server
> doesn't support it
>       smb3: add dynamic trace point to trace when credits obtained
>       SMB3.1.1: Fix ids returned in POSIX query dir
>       smb3: fix stat when special device file and mounted with modefromsid
>       smb3: do not try to cache root directory if dir leases not supported
>       smb3.1.1: fix typo in compression flag
>       SMB3: add support for recognizing WSL reparse tags
>
>  fs/cifs/Makefile        |   2 +-
>  fs/cifs/asn1.c          |  16 ++--
>  fs/cifs/cifsacl.c       |   5 +-
>  fs/cifs/cifsfs.c        |   8 ++
>  fs/cifs/cifsglob.h      |  16 +---
>  fs/cifs/cifsproto.h     |   2 +
>  fs/cifs/connect.c       | 264
> ++++++++---------------------------------------------------------
>  fs/cifs/fs_context.c    | 221
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  fs/cifs/fs_context.h    |  58 +++++++++++++++
>  fs/cifs/inode.c         |  13 +++-
>  fs/cifs/readdir.c       |  60 ++++++++++-----
>  fs/cifs/smb2glob.h      |   1 +
>  fs/cifs/smb2inode.c     |  11 +--
>  fs/cifs/smb2maperror.c  |   4 +-
>  fs/cifs/smb2ops.c       |  83 +++++++++++++++------
>  fs/cifs/smb2pdu.c       |  53 ++++++++++---
>  fs/cifs/smb2pdu.h       |  90 +++++++++++++++++++---
>  fs/cifs/smb2proto.h     |   3 +-
>  fs/cifs/smb2transport.c |   8 +-
>  fs/cifs/trace.h         |  18 +++--
>  fs/cifs/transport.c     |   5 +-
>  21 files changed, 600 insertions(+), 341 deletions(-)
>  create mode 100644 fs/cifs/fs_context.c
>  create mode 100644 fs/cifs/fs_context.h+-
>  fs/cifs/trace.h         |  18 +++--
>  fs/cifs/transport.c     |   5 +-
>  21 files changed, 600 insertions(+), 341 deletions(-)
>  create mode 100644 fs/cifs/fs_context.c
>  create mode 100644 fs/cifs/fs_context.h
>
> --
> Thanks,
>
> Steve



-- 
Thanks,

Steve

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

* [GIT PULL] cifs/smb3 fixes
@ 2020-10-23  5:09 Steve French
  2020-10-23  6:12 ` Steve French
  2020-10-23 18:53 ` pr-tracker-bot
  0 siblings, 2 replies; 72+ messages in thread
From: Steve French @ 2020-10-23  5:09 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Please pull the following changes since commit
57c176074057531b249cf522d90c22313fa74b0b:

  Convert trailing spaces and periods in path components (2020-10-11
23:57:18 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 13909d96c84afd409bf11aa6c8fbcb1efacb12eb:

  SMB3: add support for recognizing WSL reparse tags (2020-10-22 12:17:59 -0500)

----------------------------------------------------------------
30 cifs/smb3 fixes, including five fixes for stable

Other features included:
- add support for recognizing special file types
(char/block/fifo/symlink) for files created by Linux on WSL (a format
we plan to move to as the default for creating special files on Linux,
as it has advantages over the other current option, the SFU format)
in readdir.
- fix double queries to root directory when directory leases not
supported (e.g. Samba)
- fix querying mode bits (modefromsid mount option) for special file types
- stronger encryption (gcm256), disabled by default until tested more broadly
- allows querying owner when server reports "well known SID" on query
dir with SMB3.1.1 POSIX extensions

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

This PR does not include some additional fixes that are still being
tested but should be available soon:
- for querying owner better on stat with SMB3.1.1 posix extensions
- for querying special file types better in getattr
- some additional small gcm 256 (stronger encryption) fixes
- some important multichannel fixes for low crediting scenarios (flow
control issues)
----------------------------------------------------------------
Colin Ian King (1):
      cifs: make const array static, makes object smaller

Dan Carpenter (1):
      cifs: remove bogus debug code

Rohith Surabattula (2):
      Handle STATUS_IO_TIMEOUT gracefully
      SMB3: Resolve data corruption of TCP server info fields

Ronnie Sahlberg (7):
      cifs: return cached_fid from open_shroot
      cifs: compute full_path already in cifs_readdir()
      cifs: handle -EINTR in cifs_setattr
      cifs: add files to host new mount api
      cifs: move security mount options into fs_context.ch
      cifs: move cache mount options to fs_context.ch
      cifs: move smb version mount options into fs_context.c

Samuel Cabrero (1):
      cifs: Print the address and port we are connecting to in
generic_ip_connect()

Shyam Prasad N (1):
      cifs: Return the error from crypt_message when enc/dec key not found.

Stefan Metzmacher (1):
      cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES

Steve French (15):
      smb3: add defines for new crypto algorithms
      update structure definitions from updated protocol documentation
      SMB3.1.1: add defines for new signing negotiate context
      smb3.1.1: add new module load parm require_gcm_256
      smb3.1.1: add new module load parm enable_gcm_256
      smb3.1.1: print warning if server does not support requested
encryption type
      smb3.1.1: rename nonces used for GCM and CCM encryption
      smb3.1.1: set gcm256 when requested
      smb3.1.1: do not fail if no encryption required but server
doesn't support it
      smb3: add dynamic trace point to trace when credits obtained
      SMB3.1.1: Fix ids returned in POSIX query dir
      smb3: fix stat when special device file and mounted with modefromsid
      smb3: do not try to cache root directory if dir leases not supported
      smb3.1.1: fix typo in compression flag
      SMB3: add support for recognizing WSL reparse tags

 fs/cifs/Makefile        |   2 +-
 fs/cifs/asn1.c          |  16 ++--
 fs/cifs/cifsacl.c       |   5 +-
 fs/cifs/cifsfs.c        |   8 ++
 fs/cifs/cifsglob.h      |  16 +---
 fs/cifs/cifsproto.h     |   2 +
 fs/cifs/connect.c       | 264
++++++++---------------------------------------------------------
 fs/cifs/fs_context.c    | 221
++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/fs_context.h    |  58 +++++++++++++++
 fs/cifs/inode.c         |  13 +++-
 fs/cifs/readdir.c       |  60 ++++++++++-----
 fs/cifs/smb2glob.h      |   1 +
 fs/cifs/smb2inode.c     |  11 +--
 fs/cifs/smb2maperror.c  |   4 +-
 fs/cifs/smb2ops.c       |  83 +++++++++++++++------
 fs/cifs/smb2pdu.c       |  53 ++++++++++---
 fs/cifs/smb2pdu.h       |  90 +++++++++++++++++++---
 fs/cifs/smb2proto.h     |   3 +-
 fs/cifs/smb2transport.c |   8 The following changes since commit
57c176074057531b249cf522d90c22313fa74b0b:

  Convert trailing spaces and periods in path components (2020-10-11
23:57:18 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 13909d96c84afd409bf11aa6c8fbcb1efacb12eb:

  SMB3: add support for recognizing WSL reparse tags (2020-10-22 12:17:59 -0500)

----------------------------------------------------------------
30 cifs/smb3 fixes, including five for stable

----------------------------------------------------------------
Colin Ian King (1):
      cifs: make const array static, makes object smaller

Dan Carpenter (1):
      cifs: remove bogus debug code

Rohith Surabattula (2):
      Handle STATUS_IO_TIMEOUT gracefully
      SMB3: Resolve data corruption of TCP server info fields

Ronnie Sahlberg (7):
      cifs: return cached_fid from open_shroot
      cifs: compute full_path already in cifs_readdir()
      cifs: handle -EINTR in cifs_setattr
      cifs: add files to host new mount api
      cifs: move security mount options into fs_context.ch
      cifs: move cache mount options to fs_context.ch
      cifs: move smb version mount options into fs_context.c

Samuel Cabrero (1):
      cifs: Print the address and port we are connecting to in
generic_ip_connect()

Shyam Prasad N (1):
      cifs: Return the error from crypt_message when enc/dec key not found.

Stefan Metzmacher (1):
      cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES

Steve French (15):
      smb3: add defines for new crypto algorithms
      update structure definitions from updated protocol documentation
      SMB3.1.1: add defines for new signing negotiate context
      smb3.1.1: add new module load parm require_gcm_256
      smb3.1.1: add new module load parm enable_gcm_256
      smb3.1.1: print warning if server does not support requested
encryption type
      smb3.1.1: rename nonces used for GCM and CCM encryption
      smb3.1.1: set gcm256 when requested
      smb3.1.1: do not fail if no encryption required but server
doesn't support it
      smb3: add dynamic trace point to trace when credits obtained
      SMB3.1.1: Fix ids returned in POSIX query dir
      smb3: fix stat when special device file and mounted with modefromsid
      smb3: do not try to cache root directory if dir leases not supported
      smb3.1.1: fix typo in compression flag
      SMB3: add support for recognizing WSL reparse tags

 fs/cifs/Makefile        |   2 +-
 fs/cifs/asn1.c          |  16 ++--
 fs/cifs/cifsacl.c       |   5 +-
 fs/cifs/cifsfs.c        |   8 ++
 fs/cifs/cifsglob.h      |  16 +---
 fs/cifs/cifsproto.h     |   2 +
 fs/cifs/connect.c       | 264
++++++++---------------------------------------------------------
 fs/cifs/fs_context.c    | 221
++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/cifs/fs_context.h    |  58 +++++++++++++++
 fs/cifs/inode.c         |  13 +++-
 fs/cifs/readdir.c       |  60 ++++++++++-----
 fs/cifs/smb2glob.h      |   1 +
 fs/cifs/smb2inode.c     |  11 +--
 fs/cifs/smb2maperror.c  |   4 +-
 fs/cifs/smb2ops.c       |  83 +++++++++++++++------
 fs/cifs/smb2pdu.c       |  53 ++++++++++---
 fs/cifs/smb2pdu.h       |  90 +++++++++++++++++++---
 fs/cifs/smb2proto.h     |   3 +-
 fs/cifs/smb2transport.c |   8 +-
 fs/cifs/trace.h         |  18 +++--
 fs/cifs/transport.c     |   5 +-
 21 files changed, 600 insertions(+), 341 deletions(-)
 create mode 100644 fs/cifs/fs_context.c
 create mode 100644 fs/cifs/fs_context.h+-
 fs/cifs/trace.h         |  18 +++--
 fs/cifs/transport.c     |   5 +-
 21 files changed, 600 insertions(+), 341 deletions(-)
 create mode 100644 fs/cifs/fs_context.c
 create mode 100644 fs/cifs/fs_context.h

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2020-08-03 22:45 [GIT PULL] CIFS/SMB3 Fixes Steve French
@ 2020-08-07  2:39 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-08-07  2:39 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS

The pull request you sent on Mon, 3 Aug 2020 17:45:03 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2020-08-03 22:45 Steve French
  2020-08-07  2:39 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-08-03 22:45 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
bcf876870b95592b52519ed4aafcf9d95999bc9c:

  Linux 5.8 (2020-08-02 14:21:45 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 7efd081582619e7c270d1c0a422385dcaa99fa9f:

  cifs: document and cleanup dfs mount (2020-08-02 18:00:26 -0500)

----------------------------------------------------------------
16 cifs/smb3 fixes, about half DFS related, 2 fixes for stable

Still working on and testing an additional set of fixes (including
updates to mount, and some fallocate scenario improvements) for later
in the merge window.

Build verification test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/379
----------------------------------------------------------------
Colin Ian King (1):
      cifs: fix double free error on share and prefix

Liao Pingfang (1):
      cifs: Remove the superfluous break

Paul Aurich (1):
      cifs: Fix leak when handling lease break for cached root fid

Paulo Alcantara (6):
      cifs: reduce number of referral requests in DFS link lookups
      cifs: rename reconn_inval_dfs_target()
      cifs: handle empty list of targets in cifs_reconnect()
      cifs: handle RESP_GET_DFS_REFERRAL.PathConsumed in reconnect
      cifs: only update prefix path of DFS links in cifs_tree_connect()
      cifs: document and cleanup dfs mount

Qinglang Miao (1):
      cifs: convert to use be32_add_cpu()

Randy Dunlap (1):
      cifs: delete duplicated words in header files

Roberto Bergantinos Corpas (1):
      cifs`: handle ERRBaduid for SMB1

Ronnie Sahlberg (1):
      cifs: smb1: Try failing back to SetFileInfo if SetPathInfo fails

Stefan Metzmacher (1):
      cifs: merge __{cifs,smb2}_reconnect[_tcon]() into cifs_tree_connect()

Steve French (1):
      smb3: warn on confusing error scenario with sec=krb5

Wei Yongjun (1):
      cifs: remove unused variable 'server'

 fs/cifs/cifsacl.h   |   4 +-
 fs/cifs/cifsglob.h  |   2 +-
 fs/cifs/cifsproto.h |   9 +-
 fs/cifs/cifssmb.c   | 151 ++++++++---------------------
 fs/cifs/connect.c   | 508
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------
 fs/cifs/dfs_cache.c | 136 +++++++++++++++++++++-----
 fs/cifs/dfs_cache.h |   7 +-
 fs/cifs/inode.c     |   2 -
 fs/cifs/misc.c      |   7 +-
 fs/cifs/netmisc.c   |  27 ++++++
 fs/cifs/sess.c      |   4 +-
 fs/cifs/smb1ops.c   |   4 +-
 fs/cifs/smb2misc.c  |  73 ++++++++++----
 fs/cifs/smb2pdu.c   | 115 +---------------------
 fs/cifs/smb2pdu.h   |   2 +-
 fs/cifs/transport.c |   2 +-
 16 files changed, 560 insertions(+), 493 deletions(-)


-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2020-07-04  3:44 Steve French
@ 2020-07-04  7:00 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-07-04  7:00 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Fri, 3 Jul 2020 22:44:08 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2020-07-04  3:44 Steve French
  2020-07-04  7:00 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-07-04  3:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68:

  Linux 5.8-rc3 (2020-06-28 15:00:24 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 19e888678bac8c82206eb915eaf72741b2a2615c:

  cifs: prevent truncation from long to int in wait_for_free_credits
(2020-07-01 20:01:26 -0500)

----------------------------------------------------------------
8 cifs/smb3 fixes, most for when specifying the multiuser mount flag,
5 of the fixes for stable.

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/364
----------------------------------------------------------------
Paul Aurich (6):
      cifs: Display local UID details for SMB sessions in DebugData
      SMB3: Honor 'seal' flag for multiuser mounts
      SMB3: Honor persistent/resilient handle flags for multiuser mounts
      SMB3: Honor lease disabling for multiuser mounts
      SMB3: Honor 'handletimeout' flag for multiuser mounts
      SMB3: Honor 'posix' flag for multiuser mounts

Ronnie Sahlberg (1):
      cifs: prevent truncation from long to int in wait_for_free_credits

Zhang Xiaoxu (1):
      cifs: Fix the target file was deleted when rename failed.

 fs/cifs/cifs_debug.c |  6 +++++-
 fs/cifs/connect.c    | 10 ++++++----
 fs/cifs/inode.c      | 10 ++++++++--
 fs/cifs/transport.c  |  2 +-
 4 files changed, 20 insertions(+), 8 deletions(-)

--
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2020-06-13 20:37 Steve French
@ 2020-06-13 20:50 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-06-13 20:50 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 13 Jun 2020 15:37:46 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2020-06-13 20:37 Steve French
  2020-06-13 20:50 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-06-13 20:37 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
3803d5e4d3ce2600ffddc16a1999798bc719042d:

  Merge tag '5.8-rc-smb3-fixes-part-1' of
git://git.samba.org/sfrench/cifs-2.6 (2020-06-05 16:40:53 -0700)

are available in the Git repository at:

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

for you to fetch changes up to a7a519a4926214ba4161bc30109f4a8d69defb8d:

  smb3: Add debug message for new file creation with idsfromsid mount
option (2020-06-12 16:31:06 -0500)

----------------------------------------------------------------
12 cifs/smb3 fixes, 2 for stable. Adds support for idsfromsid on
create and also for chgrp/chown allowing ability to save owner
information more naturally for some workloads. Improves getattr when
SMB3.1.1 posix extensions are negotiated by using new query info
level.

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/357
----------------------------------------------------------------
Kenneth D'souza (1):
      cifs: Add get_security_type_str function to return sec type.

Namjae Jeon (1):
      smb3: add indatalen that can be a non-zero value to calculation
of credit charge in smb2 ioctl

Steve French (10):
      smb3: extend fscache mount volume coherency check
      smb3: fix typo in mount options displayed in /proc/mounts
      SMB311: Add support for query info using posix extensions (level 100)
      smb311: Add support for SMB311 query info (non-compounded)
      smb311: Add support for lookup with posix extensions query info
      smb311: add support for using info level for posix extensions query
      smb311: Add tracepoints for new compound posix query info
      smb3: allow uid and gid owners to be set on create with
idsfromsid mount option
      cifs: fix chown and chgrp when idsfromsid mount option enabled
      smb3: Add debug message for new file creation with idsfromsid mount option

 fs/cifs/cache.c      |   9 +---
 fs/cifs/cifs_debug.c |   4 +-
 fs/cifs/cifsacl.c    |  79 ++++++++++++++++++++++++------
 fs/cifs/cifsacl.h    |  15 ++++++
 fs/cifs/cifsfs.c     |   2 +-
 fs/cifs/cifsglob.h   |  18 +++++++
 fs/cifs/cifsproto.h  |   3 ++
 fs/cifs/dir.c        |   5 +-
 fs/cifs/file.c       |   5 +-
 fs/cifs/fscache.c    |  17 ++++++-
 fs/cifs/fscache.h    |   9 ++++
 fs/cifs/inode.c      | 185
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 fs/cifs/link.c       |   4 +-
 fs/cifs/smb2glob.h   |   1 +
 fs/cifs/smb2inode.c  | 105 ++++++++++++++++++++++++++++++++++++++++
 fs/cifs/smb2pdu.c    | 131 ++++++++++++++++++++++++++++++++++++++++---------
 fs/cifs/smb2pdu.h    |  27 ++++++++++-
 fs/cifs/smb2proto.h  |   6 +++
 fs/cifs/trace.h      |   3 ++
 19 files changed, 571 insertions(+), 57 deletions(-)


--
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2020-04-26 14:23 Steve French
@ 2020-04-26 19:20 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-04-26 19:20 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sun, 26 Apr 2020 09:23:51 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2020-04-26 14:23 Steve French
  2020-04-26 19:20 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-04-26 14:23 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
ae83d0b416db002fe95601e7f97f64b59514d936:

  Linux 5.7-rc2 (2020-04-19 14:35:30 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 0fe0781f29dd8ab618999e6bda33c782ebbdb109:

  cifs: fix uninitialised lease_key in open_shroot() (2020-04-22 20:29:11 -0500)

----------------------------------------------------------------
Five cifs/smb3 fixes: two for DFS reconnect failover,  one lease fix
for stable and the others to
fix a missing spinlock during reconnect

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/345
----------------------------------------------------------------
Paulo Alcantara (3):
      cifs: do not share tcons with DFS
      cifs: ensure correct super block for DFS reconnect
      cifs: fix uninitialised lease_key in open_shroot()

Ronnie Sahlberg (1):
      cifs: protect updating server->dstaddr with a spinlock

Steve French (1):
      cifs: minor update to comments around the cifs_tcp_ses_lock mutex

 fs/cifs/cifsglob.h |  3 +-
 fs/cifs/connect.c  |  6 ++++
 fs/cifs/misc.c     | 82 +++++++++++++++++++++++++++++++++++++++++++-----------
 fs/cifs/smb2ops.c  |  5 ++++
 4 files changed, 78 insertions(+), 18 deletions(-)


-- 
Thanks,

Steve

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

* Re: [GIT PULL] cifs/smb3 fixes
  2020-04-12  2:26 [GIT PULL] cifs/smb3 fixes Steve French
@ 2020-04-12 17:25 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-04-12 17:25 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, LKML, CIFS

The pull request you sent on Sat, 11 Apr 2020 21:26:01 -0500:

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

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

Thank you!

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

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

* [GIT PULL] cifs/smb3 fixes
@ 2020-04-12  2:26 Steve French
  2020-04-12 17:25 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-04-12  2:26 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, CIFS

Please pull the following changes since commit
645c248d6fc4350562766fefd8ba1d7defe4b5e7:

  Merge tag '5.7-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2020-03-31 14:30:10 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3:

  smb3: enable swap on SMB3 mounts (2020-04-10 13:32:32 -0500)

----------------------------------------------------------------
10 cifs/smb3 fixes
  - five RDMA (smbdirect) related
  - add experimental support for swap over SMB3 mounts
  - also adds fix which improves performance of signed connections

Regression testing results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/343
----------------------------------------------------------------
Aurelien Aptel (1):
      cifs: ignore cached share root handle closing errors

Long Li (6):
      cifs: smbd: Merge code to track pending packets
      cifs: smbd: Check send queue size before posting a send
      cifs: smbd: Update receive credits before sending and deal with
credits roll back on failure before sending
      cifs: Allocate crypto structures on the fly for calculating
signatures of incoming packets
      cifs: smbd: Properly process errors on ib_post_send
      cifs: smbd: Do not schedule work to send immediate packet on every receive

Steve French (3):
      smb3: smbdirect support can be configured by default
      smb3: change noisy error message to FYI
      smb3: enable swap on SMB3 mounts

 fs/cifs/Kconfig         |   2 +-
 fs/cifs/cifs_debug.c    |   6 +-
 fs/cifs/cifsfs.c        |   4 +
 fs/cifs/cifsglob.h      |   4 +-
 fs/cifs/file.c          |  61 ++++++++++
 fs/cifs/inode.c         |   4 +
 fs/cifs/readdir.c       |   2 +-
 fs/cifs/smb2misc.c      |  14 +++
 fs/cifs/smb2proto.h     |   6 +-
 fs/cifs/smb2transport.c |  87 +++++++++-----
 fs/cifs/smbdirect.c     | 313 +++++++++++++++++++-----------------------------
 fs/cifs/smbdirect.h     |   7 +-
 12 files changed, 272 insertions(+), 238 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2020-03-31 19:14 [GIT PULL] CIFS/SMB3 fixes Steve French
@ 2020-03-31 21:50 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-03-31 21:50 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Tue, 31 Mar 2020 14:14:12 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 fixes
@ 2020-03-31 19:14 Steve French
  2020-03-31 21:50 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-03-31 19:14 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
16fbf79b0f83bc752cee8589279f1ebfe57b3b6e:

  Linux 5.6-rc7 (2020-03-22 18:31:56 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f460c502747305258ccc8a028adfa55e2c9d2435:

  cifs: update internal module version number (2020-03-29 16:59:31 -0500)

----------------------------------------------------------------
First part of cifs/smb3 changes for merge window (others are still being tested)

- Addition of SMB3.1.1 POSIX support in readdir
- Fixes
    -  various RDMA (smbdirect) fixes,
    -  fix for flock
    - fallocate fix
    - some improved mount warnings
    - two timestamp related fixes
    - reconnect fix
    - 3 fixes for stable

Test results: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/338
----------------------------------------------------------------
Aurelien Aptel (4):
      cifs: rename posix create rsp
      cifs: add smb2 POSIX info level
      cifs: plumb smb2 POSIX dir enumeration
      cifs: add SMB2_open() arg to return POSIX data

Eric Biggers (1):
      cifs: clear PF_MEMALLOC before exiting demultiplex thread

Gustavo A. R. Silva (2):
      cifs: cifspdu.h: Replace zero-length array with flexible-array member
      cifs: smb2pdu.h: Replace zero-length array with flexible-array member

Long Li (3):
      cifs: smbd: Calculate the correct maximum packet size for
segmented SMBDirect send/receive
      cifs: smbd: Check and extend sender credits in interrupt context
      cifs: Allocate encryption header through kmalloc

Murphy Zhou (2):
      cifs: allow unlock flock and OFD lock across fork
      CIFS: check new file size when extending file by fallocate

Paulo Alcantara (SUSE) (1):
      cifs: handle prefix paths in reconnect

Qiujun Huang (1):
      fs/cifs: fix gcc warning in sid_to_id

Stefan Metzmacher (3):
      cifs: call wake_up(&server->response_q) inside of cifs_reconnect()
      cifs: use mod_delayed_work() for &server->reconnect if already queued
      cifs: make use of cap_unix(ses) in cifs_reconnect_tcon()

Steve French (10):
      cifs: do not ignore the SYNC flags in getattr
      smb3: fix performance regression with setting mtime
      cifs: print warning mounting with vers=1.0
      cifs: do d_move in rename
      CIFS: Warn less noisily on default mount
      SMB3: Add new compression flags
      SMB3: Additional compression structures
      SMB3: Minor cleanup of protocol definitions
      smb3: use SMB2_SIGNATURE_SIZE define
      cifs: update internal module version number

Yilu Lin (1):
      CIFS: Fix bug which the return value by asynchronous read is error

 fs/cifs/cifsacl.c       |   5 +-
 fs/cifs/cifsfs.c        |   4 +-
 fs/cifs/cifsfs.h        |   2 +-
 fs/cifs/cifspdu.h       |  19 ++---
 fs/cifs/cifsproto.h     |   5 ++
 fs/cifs/cifssmb.c       |  22 ++++--
 fs/cifs/connect.c       |  89 +++++++--------------
 fs/cifs/dfs_cache.c     |  38 +++++++++
 fs/cifs/dfs_cache.h     |   4 +
 fs/cifs/file.c          |   2 +-
 fs/cifs/inode.c         |  47 +++++++----
 fs/cifs/link.c          |   4 +-
 fs/cifs/misc.c          |  80 +++++++++++++++++++
 fs/cifs/readdir.c       |  82 ++++++++++++++++++++
 fs/cifs/smb2file.c      |   9 ++-
 fs/cifs/smb2ops.c       |  68 ++++++++--------
 fs/cifs/smb2pdu.c       | 202 ++++++++++++++++++++++++++++++++++++++++++------
 fs/cifs/smb2pdu.h       | 138 +++++++++++++++++++++++++--------
 fs/cifs/smb2proto.h     |   7 +-
 fs/cifs/smb2transport.c |   8 +-
 fs/cifs/smbdirect.c     |  41 ++++------
 fs/cifs/smbdirect.h     |   1 -
 fs/cifs/transport.c     |  28 ++++---
 23 files changed, 673 insertions(+), 232 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2020-03-19  4:51 Steve French
  2020-03-19 17:03 ` Linus Torvalds
@ 2020-03-19 17:25 ` pr-tracker-bot
  1 sibling, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-03-19 17:25 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Wed, 18 Mar 2020 23:51:13 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git 5.6-rc6-smb3-fixes

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

Thank you!

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

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2020-03-19 17:03 ` Linus Torvalds
@ 2020-03-19 17:15   ` Steve French
  0 siblings, 0 replies; 72+ messages in thread
From: Steve French @ 2020-03-19 17:15 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

I forgot to push the tag.   Now tag is pushed.  Sorry about that

On Thu, Mar 19, 2020 at 12:03 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> On Wed, Mar 18, 2020 at 9:51 PM Steve French <smfrench@gmail.com> wrote:
> >
> >   git://git.samba.org/sfrench/cifs-2.6.git 5.6-rc6-smb3-fixes
>
> Forgot to push?
>
>    fatal: couldn't find remote ref 5.6-rc6-smb3-fixes
>
> I do see the commit you reference in the "for-linus" branch, but then
> I wouldn't get the tag with signature.
>
> Please push it out,
>
>               Linus



-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  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
  1 sibling, 1 reply; 72+ messages in thread
From: Linus Torvalds @ 2020-03-19 17:03 UTC (permalink / raw)
  To: Steve French; +Cc: CIFS, LKML

On Wed, Mar 18, 2020 at 9:51 PM Steve French <smfrench@gmail.com> wrote:
>
>   git://git.samba.org/sfrench/cifs-2.6.git 5.6-rc6-smb3-fixes

Forgot to push?

   fatal: couldn't find remote ref 5.6-rc6-smb3-fixes

I do see the commit you reference in the "for-linus" branch, but then
I wouldn't get the tag with signature.

Please push it out,

              Linus

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

* [GIT PULL] CIFS/SMB3 fixes
@ 2020-03-19  4:51 Steve French
  2020-03-19 17:03 ` Linus Torvalds
  2020-03-19 17:25 ` pr-tracker-bot
  0 siblings, 2 replies; 72+ messages in thread
From: Steve French @ 2020-03-19  4:51 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
fb33c6510d5595144d585aa194d377cf74d31911:

  Linux 5.6-rc6 (2020-03-15 15:01:23 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git 5.6-rc6-smb3-fixes

for you to fetch changes up to 979a2665eb6c603ddce0ab374041ab101827b2e7:

  CIFS: fiemap: do not return EINVAL if get nothing (2020-03-17 13:27:06 -0500)

----------------------------------------------------------------
Three small cifs/smb3 fixes, 2 for stable

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/323
----------------------------------------------------------------
Dan Carpenter (1):
      cifs: potential unintitliazed error code in cifs_getattr()

Murphy Zhou (1):
      CIFS: fiemap: do not return EINVAL if get nothing

Shyam Prasad N (1):
      CIFS: Increment num_remote_opens stats counter even in case of
smb2_query_dir_first

 fs/cifs/inode.c   | 2 +-
 fs/cifs/smb2ops.c | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)


-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2020-03-03 20:22 Steve French
@ 2020-03-03 23:35 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-03-03 23:35 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS

The pull request you sent on Tue, 3 Mar 2020 14:22:30 -0600:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 fixes
@ 2020-03-03 20:22 Steve French
  2020-03-03 23:35 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-03-03 20:22 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Please pull the following changes since commit
f8788d86ab28f61f7b46eb6be375f8a726783636:

  Linux 5.6-rc3 (2020-02-23 16:17:42 -0800)

are available in the Git repository at:

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

for you to fetch changes up to fb4b5f13464c468a9c10ae1ab8ba9aa352d0256a:

  cifs: Use #define in cifs_dbg (2020-02-24 14:20:38 -0600)

----------------------------------------------------------------
five small cifs/smb3 fixes, two for stable (one for a reconnect problem
and the other fixes a use case when renaming an open file)

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/320
----------------------------------------------------------------
Aurelien Aptel (1):
      cifs: fix rename() by ensuring source handle opened with DELETE bit

Joe Perches (1):
      cifs: Use #define in cifs_dbg

Paulo Alcantara (SUSE) (1):
      cifs: fix potential mismatch of UNC paths

Ronnie Sahlberg (1):
      cifs: don't leak -EAGAIN for stat() during reconnect

Steve French (1):
      cifs: add missing mount option to /proc/mounts

 fs/cifs/cifs_dfs_ref.c |  2 ++
 fs/cifs/cifsfs.c       |  2 ++
 fs/cifs/cifsglob.h     |  7 +++++++
 fs/cifs/cifsproto.h    |  5 +++--
 fs/cifs/cifssmb.c      |  3 ++-
 fs/cifs/file.c         | 19 ++++++++++++-------
 fs/cifs/inode.c        | 16 ++++++++++------
 fs/cifs/smb1ops.c      |  2 +-
 fs/cifs/smb2inode.c    |  4 ++--
 fs/cifs/smb2ops.c      |  3 ++-
 fs/cifs/smb2pdu.c      |  1 +
 11 files changed, 44 insertions(+), 20 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2020-02-16  2:58 [GIT PULL] CIFS/SMB3 Fixes Steve French
@ 2020-02-16 19:50 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-02-16 19:50 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 15 Feb 2020 20:58:53 -0600:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2020-02-16  2:58 Steve French
  2020-02-16 19:50 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-02-16  2:58 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9:

  Linux 5.6-rc1 (2020-02-09 16:08:48 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 85db6b7ae65f33be4bb44f1c28261a3faa126437:

  cifs: make sure we do not overflow the max EA buffer size
(2020-02-14 11:10:24 -0600)

----------------------------------------------------------------
Four small CIFS/SMB3 fixes.  One (ie the EA overflow fix) for stable.

Automated test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/315
----------------------------------------------------------------
Frank Sorenson (1):
      cifs: Fix mode output in debugging statements

Petr Pavlu (1):
      cifs: fix mount option display for sec=krb5i

Ronnie Sahlberg (1):
      cifs: make sure we do not overflow the max EA buffer size

Steve French (1):
      cifs: enable change notification for SMB2.1 dialect

 fs/cifs/cifsacl.c |  4 ++--
 fs/cifs/cifsfs.c  |  6 +++++-
 fs/cifs/connect.c |  2 +-
 fs/cifs/inode.c   |  2 +-
 fs/cifs/smb2ops.c | 36 +++++++++++++++++++++++++++++++++++-
 5 files changed, 44 insertions(+), 6 deletions(-)


--
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2020-02-09  1:45 Steve French
@ 2020-02-09 21:30 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2020-02-09 21:30 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 8 Feb 2020 19:45:26 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.6-rc-smb3-plugfest-patches

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2020-02-09  1:45 Steve French
  2020-02-09 21:30 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2020-02-09  1:45 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
94f2630b18975bb56eee5d1a36371db967643479:

  Merge tag '5.6-rc-small-smb3-fix-for-stable' of
git://git.samba.org/sfrench/cifs-2.6 (2020-02-01 11:22:41 -0800)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.6-rc-smb3-plugfest-patches

for you to fetch changes up to 51d92d69f77b121d8093af82eb3bd2e8e631be55:

  smb3: Add defines for new information level, FileIdInformation
(2020-02-06 17:32:24 -0600)

----------------------------------------------------------------
13 cifs/smb3 patches (most from testing at the SMB3 plugfest this week)

Important fix for multichannel and for modefromsid mounts.
Two reconnect fixes
Addition of SMB3 change notify support
Backup tools fix
A few additional minor debug improvements (tracepoints and additional
logging found useful during testing this week)

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

An additional set of important improvements for SMB3.1.1 POSIX
Extensions that was being worked on and tested at the recent SNIA test
event is still under testing and is not included in this pull request.
----------------------------------------------------------------
Amir Goldstein (1):
      SMB3: Backup intent flag missing from some more ops

Aurelien Aptel (3):
      cifs: make multichannel warning more visible
      cifs: fix channel signing
      cifs: fix mode bits from dir listing when mounted with modefromsid

Ronnie Sahlberg (2):
      cifs: fail i/o on soft mounts if sessionsetup errors out
      cifs: fix soft mounts hanging in the reconnect code

Steve French (7):
      smb3: fix problem with null cifs super block with previous patch
      cifs: log warning message (once) if out of disk space
      cifs: Add tracepoints for errors on flush or fsync
      cifs: add SMB3 change notification support
      smb3: add one more dynamic tracepoint missing from strict fsync path
      smb3: print warning once if posix context returned on open
      smb3: Add defines for new information level, FileIdInformation

 fs/cifs/cifs_ioctl.h    |   6 +++++
 fs/cifs/cifsacl.c       |  14 +++--------
 fs/cifs/cifsfs.c        |   2 +-
 fs/cifs/cifsglob.h      |   8 ++++--
 fs/cifs/cifsproto.h     |   8 ++++++
 fs/cifs/cifssmb.c       |   2 +-
 fs/cifs/connect.c       |   2 +-
 fs/cifs/dir.c           |   5 +---
 fs/cifs/file.c          |  21 ++++++++--------
 fs/cifs/inode.c         |   8 +++---
 fs/cifs/ioctl.c         |  18 +++++++++++++-
 fs/cifs/link.c          |  18 +++-----------
 fs/cifs/readdir.c       |   3 ++-
 fs/cifs/sess.c          |   2 +-
 fs/cifs/smb1ops.c       |  19 +++++++-------
 fs/cifs/smb2inode.c     |   9 ++-----
 fs/cifs/smb2ops.c       | 145
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------
 fs/cifs/smb2pdu.c       |  36 +++++++++++++++++++++++++--
 fs/cifs/smb2pdu.h       |  16 ++++++++++++
 fs/cifs/smb2proto.h     |   2 +-
 fs/cifs/smb2transport.c |   5 ++--
 fs/cifs/trace.h         |  27 ++++++++++++++++++++
 22 files changed, 247 insertions(+), 129 deletions(-)


--
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2019-11-30 19:13 ` Linus Torvalds
@ 2019-11-30 21:20   ` Steve French
  0 siblings, 0 replies; 72+ messages in thread
From: Steve French @ 2019-11-30 21:20 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

On Sat, Nov 30, 2019 at 1:13 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> On Wed, Nov 27, 2019 at 3:49 PM Steve French <smfrench@gmail.com> wrote:
> >
> > Various smb3 fixes (including 12 for stable) and also features
> > (addition of multichannel support).
>
> That's a _very_ weak explanation for many hundreds of lines of code changed:
>
> >  23 files changed, 1340 insertions(+), 529 deletions(-)
>
> Please spend more time explaining what you send me, so that I can
> write better merge messages or what is actually going on.

Sorry about leaving that out. Will have more detail in subsequent
pull requests.


-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2019-11-27 23:49 Steve French
  2019-11-30 19:13 ` Linus Torvalds
@ 2019-11-30 19:40 ` pr-tracker-bot
  1 sibling, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2019-11-30 19:40 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Wed, 27 Nov 2019 17:49:32 -0600:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.5-rc-smb3-fixes

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

Thank you!

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

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  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
  1 sibling, 1 reply; 72+ messages in thread
From: Linus Torvalds @ 2019-11-30 19:13 UTC (permalink / raw)
  To: Steve French; +Cc: CIFS, LKML

On Wed, Nov 27, 2019 at 3:49 PM Steve French <smfrench@gmail.com> wrote:
>
> Various smb3 fixes (including 12 for stable) and also features
> (addition of multichannel support).

That's a _very_ weak explanation for many hundreds of lines of code changed:

>  23 files changed, 1340 insertions(+), 529 deletions(-)

Please spend more time explaining what you send me, so that I can
write better merge messages or what is actually going on.

                Linus

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2019-11-27 23:49 Steve French
  2019-11-30 19:13 ` Linus Torvalds
  2019-11-30 19:40 ` pr-tracker-bot
  0 siblings, 2 replies; 72+ messages in thread
From: Steve French @ 2019-11-27 23:49 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
219d54332a09e8d8741c1e1982f5eae56099de85:

  Linux 5.4 (2019-11-24 16:32:01 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 68464b88cc0a735eaacd2c69beffb85d36f25292:

  CIFS: fix a white space issue in cifs_get_inode_info() (2019-11-27
11:31:49 -0600)

----------------------------------------------------------------
Various smb3 fixes (including 12 for stable) and also features
(addition of multichannel support).  This includes the first set of
CIFS/SMB3 changes for 5.5.

Buildbot automated regression testing results (passed):
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/286

There are additional fixes for DFS (global name space) support and
some multichannel enhancements and POSIX fixes that are still being
tested and are not included in
this pull request.
----------------------------------------------------------------
Aurelien Aptel (8):
      cifs: sort interface list by speed
      cifs: add multichannel mount options and data structs
      cifs: add server param
      cifs: switch servers depending on binding state
      CIFS: refactor cifs_get_inode_info()
      cifs: try opening channels after mounting
      cifs: try harder to open new channels
      cifs: dump channel info in DebugData

Dan Carpenter (1):
      cifs: rename a variable in SendReceive()

Dan Carpenter via samba-technical (1):
      CIFS: fix a white space issue in cifs_get_inode_info()

Long Li (7):
      cifs: Don't display RDMA transport on reconnect
      cifs: smbd: Invalidate and deregister memory registration on
re-send for direct I/O
      cifs: smbd: Return -EINVAL when the number of iovs exceeds
SMBDIRECT_MAX_SGE
      cifs: smbd: Add messages on RDMA session destroy and reconnection
      cifs: smbd: Return -ECONNABORTED when trasnport is not in connected state
      cifs: smbd: Only queue work for error recovery on memory registration
      cifs: smbd: Return -EAGAIN when transport is reconnecting

Markus Elfring (3):
      CIFS: Use memdup_user() rather than duplicating its implementation
      CIFS: Use common error handling code in smb2_ioctl_query_info()
      CIFS: Return directly after a failed build_path_from_dentry() in
cifs_do_create()

Paulo Alcantara (SUSE) (5):
      cifs: Fix use-after-free bug in cifs_reconnect()
      cifs: Fix lookup of root ses in DFS referral cache
      cifs: Fix potential softlockups while refreshing DFS cache
      cifs: Fix retrieval of DFS referrals in cifs_mount()
      cifs: Always update signing key of first channel

Pavel Shilovsky (6):
      CIFS: Respect O_SYNC and O_DIRECT flags during reconnect
      CIFS: Close open handle after interrupted close
      CIFS: Fix NULL pointer dereference in mid callback
      CIFS: Do not miss cancelled OPEN responses
      CIFS: Fix SMB2 oplock break processing
      CIFS: Properly process SMB3 lease breaks

Ronnie Sahlberg (4):
      cifs: close the shared root handle on tree disconnect
      smb3: add debug messages for closing unmatched open
      cifs: don't use 'pre:' for MODULE_SOFTDEP
      cifs: move cifsFileInfo_put logic into a work-queue

Steve French (4):
      cifs: add support for flock
      smb3: remove confusing dmesg when mounting with encryption ("seal")
      smb3: dump in_send and num_waiters stats counters by default
      cifs: update internal module version number

YueHaibing (2):
      cifs: remove unused variable 'sid_user'
      CIFS: remove set but not used variables 'cinode' and 'netfid'

 fs/cifs/cifs_debug.c    |  43 +++++++++-
 fs/cifs/cifs_spnego.c   |   2 +-
 fs/cifs/cifsacl.c       |   2 -
 fs/cifs/cifsfs.c        |  44 ++++++++---
 fs/cifs/cifsfs.h        |   3 +-
 fs/cifs/cifsglob.h      |  90 +++++++++++++++------
 fs/cifs/cifsproto.h     |   8 ++
 fs/cifs/connect.c       | 191 +++++++++++++++++++++++++++++++++-----------
 fs/cifs/dfs_cache.c     |   3 +-
 fs/cifs/dir.c           |   6 +-
 fs/cifs/file.c          | 159 +++++++++++++++++++++++++++++--------
 fs/cifs/inode.c         | 333
++++++++++++++++++++++++++++++++++++++++++++++-------------------------------
 fs/cifs/misc.c          |  17 +---
 fs/cifs/sess.c          | 230
++++++++++++++++++++++++++++++++++++++++++++++++++++-
 fs/cifs/smb1ops.c       |   8 +-
 fs/cifs/smb2misc.c      | 175 ++++++++++++++++++++++++----------------
 fs/cifs/smb2ops.c       | 141 +++++++++++++++++++--------------
 fs/cifs/smb2pdu.c       | 168 ++++++++++++++++++++++++++-------------
 fs/cifs/smb2pdu.h       |   2 +-
 fs/cifs/smb2proto.h     |   6 +-
 fs/cifs/smb2transport.c | 165 +++++++++++++++++++++++++++++---------
 fs/cifs/smbdirect.c     |  36 +++++----
 fs/cifs/transport.c     |  37 +++++++--
 23 files changed, 1340 insertions(+), 529 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2019-10-27  2:40 Steve French
@ 2019-10-27 11:30 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2019-10-27 11:30 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML

The pull request you sent on Sat, 26 Oct 2019 21:40:04 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2019-10-27  2:40 Steve French
  2019-10-27 11:30 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2019-10-27  2:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

Please pull the following changes since commit
7d194c2100ad2a6dded545887d02754948ca5241:

  Linux 5.4-rc4 (2019-10-20 15:56:22 -0400)

are available in the Git repository at:

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

for you to fetch changes up to d46b0da7a33dd8c99d969834f682267a45444ab3:

  cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs
(2019-10-24 21:35:04 -0500)

----------------------------------------------------------------
Seven small cifs/smb3 fixes, including three for stable

Buildbot regression test run:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/272
----------------------------------------------------------------
Chuhong Yuan (1):
      cifs: Fix missed free operations

Dave Wysochanski (1):
      cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs

Paulo Alcantara (SUSE) (1):
      cifs: Handle -EINPROGRESS only when noblockcnt is set

Pavel Shilovsky (2):
      CIFS: Fix retry mid list corruption on reconnects
      CIFS: Fix use after free of file info structures

Roberto Bergantinos Corpas (1):
      CIFS: avoid using MID 0xFFFF

Steve French (1):
      cifs: clarify comment about timestamp granularity for old servers

 fs/cifs/cifsfs.c    |  8 +++++++-
 fs/cifs/cifsglob.h  |  5 +++++
 fs/cifs/cifsproto.h |  1 +
 fs/cifs/connect.c   | 18 +++++++++++++++---
 fs/cifs/file.c      | 29 ++++++++++++++++++-----------
 fs/cifs/inode.c     |  4 ++--
 fs/cifs/smb1ops.c   |  3 +++
 fs/cifs/smb2file.c  |  2 +-
 fs/cifs/transport.c | 42 +++++++++++++++++++++++-------------------
 9 files changed, 75 insertions(+), 37 deletions(-)


-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2019-08-29 22:54 [GIT PULL] CIFS/SMB3 fixes Steve French
@ 2019-08-30  1:00 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2019-08-30  1:00 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS

The pull request you sent on Thu, 29 Aug 2019 17:54:38 -0500:

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

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 fixes
@ 2019-08-29 22:54 Steve French
  2019-08-30  1:00 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2019-08-29 22:54 UTC (permalink / raw)
  To: Linus Torvalds, CIFS

Please pull the following changes since commit
a55aa89aab90fae7c815b0551b07be37db359d76:

  Linux 5.3-rc6 (2019-08-25 12:01:23 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 36e337744c0d9ea23a64a8b62bddec6173e93975:

  cifs: update internal module number (2019-08-27 17:29:56 -0500)

----------------------------------------------------------------
a few small SMB3 fixes, and a larger one to fix the problem you
noticed for older cifs string handling.

When the next merge window opens up, we will send a followon patch for
the other, UTF-16, string handling issue you noticed.
----------------------------------------------------------------
Dan Carpenter (1):
      cifs: Use kzfree() to zero out the password

Ronnie Sahlberg (2):
      cifs: set domainName when a domain-key is used in multiuser
      cifs: replace various strncpy with strscpy and similar

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

 fs/cifs/cifsfs.h    |   2 +-
 fs/cifs/cifsproto.h |   1 +
 fs/cifs/cifssmb.c   | 197
++++++++++++++++++++++++++++++++++---------------------------------------------------------------------
 fs/cifs/connect.c   |  29 ++++++++++++++--
 fs/cifs/dir.c       |   5 ++-
 fs/cifs/misc.c      |  22 ++++++++++++
 fs/cifs/sess.c      |  26 +++++++++-----
 7 files changed, 135 insertions(+), 147 deletions(-)

-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 Fixes
  2019-07-18  6:10 [GIT PULL] CIFS/SMB3 Fixes Steve French
@ 2019-07-18 18:30 ` pr-tracker-bot
  0 siblings, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2019-07-18 18:30 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS

The pull request you sent on Thu, 18 Jul 2019 01:10:02 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/4.3-rc-smb3-fixes

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

Thank you!

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

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2019-07-18  6:10 Steve French
  2019-07-18 18:30 ` pr-tracker-bot
  0 siblings, 1 reply; 72+ messages in thread
From: Steve French @ 2019-07-18  6:10 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS

Please pull the following changes since commit
0ecfebd2b52404ae0c54a878c872bb93363ada36:

  Linux 5.2 (2019-07-07 15:41:56 -0700)

are available in the Git repository at:

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

for you to fetch changes up to e9630660bd9253b3ed3926e18278b740cf218365:

  smb3: smbdirect no longer experimental (2019-07-15 22:36:51 -0500)

----------------------------------------------------------------
smb3/cifs fixes (3 for stable) and improvements including much faster
encryption (SMB3.1.1 GCM)

----------------------------------------------------------------
Aurelien Aptel (2):
      cifs: add missing GCM module dependency
      smb3: minor cleanup of compound_send_recv

Colin Ian King (1):
      cifs: fix typo in debug message with struct field ia_valid

Hariprasad Kelam (1):
      fs: cifs: cifsssmb: Change return type of convert_ace_to_cifs_ace

Kefeng Wang (1):
      fs: cifs: Drop unlikely before IS_ERR(_OR_NULL)

Paulo Alcantara (SUSE) (1):
      cifs: Properly handle auto disabling of serverino option

Ronnie Sahlberg (6):
      cifs: always add credits back for unsolicited PDUs
      cifs: Fix a race condition with cifs_echo_request
      cifs: refactor and clean up arguments in the reparse point parsing
      cifs: fix parsing of symbolic link error response
      cifs: fix crash in cifs_dfs_do_automount
      cifs: fix crash in smb2_compound_op()/smb2_set_next_command()

Steve French (14):
      SMB3: Add SMB3.1.1 GCM to negotiated crypto algorigthms
      SMB3.1.1: Add GCM crypto to the encrypt and decrypt functions
      Fix match_server check to allow for auto dialect negotiate
      smb3: if max_credits is specified then display it in /proc/mounts
      cifs: Fix check for matching with existing mount
      cifs: simplify code by removing CONFIG_CIFS_ACL ifdef
      CIFS: Fix module dependency
      add some missing definitions
      smb3: Allow query of symlinks stored as reparse points
      smb3: add new mount option to retrieve mode from special ACE
      smb3: do not send compression info by default
      smb3: Send netname context during negotiate protocol
      SMB3: query inode number on open via create context
      smb3: smbdirect no longer experimental

YueHaibing (1):
      cifs: Use kmemdup in SMB2_ioctl_init()

 fs/cifs/Kconfig         |  18 ++----
 fs/cifs/Makefile        |   3 +-
 fs/cifs/cifs_debug.c    |   2 -
 fs/cifs/cifs_fs_sb.h    |   6 ++
 fs/cifs/cifsfs.c        |  14 +++--
 fs/cifs/cifsglob.h      |   7 ++-
 fs/cifs/cifssmb.c       |  16 +-----
 fs/cifs/connect.c       |  61 ++++++++++++++++-----
 fs/cifs/dfs_cache.c     |   2 +-
 fs/cifs/inode.c         |   8 +--
 fs/cifs/misc.c          |   1 +
 fs/cifs/smb1ops.c       |   3 +-
 fs/cifs/smb2inode.c     |  12 ++++
 fs/cifs/smb2ops.c       | 143 +++++++++++++++++++++++++++++++++---------------
 fs/cifs/smb2pdu.c       |  96 +++++++++++++++++++++++++++-----
 fs/cifs/smb2pdu.h       |  36 ++++++++++--
 fs/cifs/smb2transport.c |  10 +++-
 fs/cifs/transport.c     |  46 ++++++++--------
 fs/cifs/xattr.c         |   4 --
 19 files changed, 335 insertions(+), 153 deletions(-)


-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2019-05-08 20:37 ` Linus Torvalds
  2019-05-08 20:46   ` Linus Torvalds
@ 2019-05-08 21:47   ` Steve French
  1 sibling, 0 replies; 72+ messages in thread
From: Steve French @ 2019-05-08 21:47 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML

On Wed, May 8, 2019 at 3:37 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> On Wed, May 8, 2019 at 11:32 AM Steve French <smfrench@gmail.com> wrote:
> >
> >    [..] Our
> > build verification tests passed (and continue to be extended to
> > include more tests).  See e.g. our 'buildbot' results at:
> > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/199
>
> Still, is there any reason for that very late rebase?
>
> Why are all the commits so recent?

Most of the commits were from April, three from March, only a few more
recent. I rebased
yesterday (bad idea it seems based on your note) simply to avoid any potential
merge conflict with the two broad VFS changes (unrelated to my PR)
that hit cifs code yesterday (albeit they turned out to be very small).

> And perhaps even more importantly, why is the base for that rebase is
> some completely random and inappropriate commit in the middle of the
> merge window?

Understood. I had originally based it on v5.1 tag, but changed that
for testing after
I saw two other PR's hit I wanted to run the regression tests on
'current' mainline
with the changes in for-next code just in case (very unlikely) the other two
changes that I hadn't seen that hit cifs since 5.1 broke anything or
caused conflicts.

> So don't do the whole "rebase the day before" in the first place, but
> *DEFINITELY* don't do it when you then pick a random and bad point to
> rebase things on top of!

Understood - will do the rebase for our verification testing only
(e.g. to spot any
regressions in recent global or VFS changes) but not for
sending to you.   So for future, will try to send with base as that of
mainline kernel
as of he last cifs PR  merge or new kernel version or rc (e.g.
v5.2-rc1 or v5.1 etc)
whichever is more recent.  Is that ok?



-- 
Thanks,

Steve

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2019-05-08 20:37 ` Linus Torvalds
@ 2019-05-08 20:46   ` Linus Torvalds
  2019-05-08 21:47   ` Steve French
  1 sibling, 0 replies; 72+ messages in thread
From: Linus Torvalds @ 2019-05-08 20:46 UTC (permalink / raw)
  To: Steve French; +Cc: CIFS, LKML

On Wed, May 8, 2019 at 1:37 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> So don't do the whole "rebase the day before" in the first place, but
> *DEFINITELY* don't do it when you then pick a random and bad point to
> rebase things on top of!

I've pulled, but I really hope this never happens again.

You could have rebased your work on top of 5.1 if you needed to.

Or you could have just tried to avoid rebasing in the first place.

But picking a random commit that was the top-of-the-tree on the second
day of the merge window (pretty much when things are at their most
chaotic) is just about the worst thing you can do.

I'm considering adding some automation to my pull requests to warn
about craziness like this. Because maybe you've consistently done
something like this in the past, and I've just not noticed how crazy
the pull request was.

               Linus

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  2019-05-08 18:32 [GIT PULL] CIFS/SMB3 fixes Steve French
  2019-05-08 20:37 ` Linus Torvalds
@ 2019-05-08 20:45 ` pr-tracker-bot
  1 sibling, 0 replies; 72+ messages in thread
From: pr-tracker-bot @ 2019-05-08 20:45 UTC (permalink / raw)
  To: Steve French; +Cc: CIFS, Linus Torvalds, LKML

The pull request you sent on Wed, 8 May 2019 13:32:35 -0500:

> git://git.samba.org/sfrench/cifs-2.6.git tags/5.2-smb3

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

Thank you!

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

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

* Re: [GIT PULL] CIFS/SMB3 fixes
  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
  1 sibling, 2 replies; 72+ messages in thread
From: Linus Torvalds @ 2019-05-08 20:37 UTC (permalink / raw)
  To: Steve French; +Cc: CIFS, LKML

On Wed, May 8, 2019 at 11:32 AM Steve French <smfrench@gmail.com> wrote:
>
>    [..] Our
> build verification tests passed (and continue to be extended to
> include more tests).  See e.g. our 'buildbot' results at:
> http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/199

Still, is there any reason for that very late rebase?

Why are all the commits so recent?

And perhaps even more importantly, why is the base for that rebase is
some completely random and inappropriate commit in the middle of the
merge window?

That's *INSANE*. And it's against everything I've always told people to do:

    DO NOT BASE YOUR DEVELOPMENT WORK ON SOME RANDOM "KERNEL OF THE DAY"
    DURING THE MERGE WINDOW !!

who knows what horrendous bugs we've introduced at that random point
in the merge window, and you now based all your work on that unstable
random commit.

There is *no* excuse for this kind of crazy development. Even if you
use something else than git to develop (some patch-queue based
inferior system or whatever) and even if you then import it into git
later

     PICK A SANE AND STABLE IMPORT POINT

and if you *do* use git for development, but you have to rebase
because you've made some silly mistake and need to undo something

    PICK A SANE AND STABLE REBASE POINT

I don't know how much clearer I can be about this, and I do not
understand why this keeps on happening. We've been using git for just
about 15 years now, and I've said this for pretty much all that time.

Some random googling found this lwn article based on some random old
email of mine from ten years ago:

    https://lwn.net/Articles/328436/

and while it is about general rebasing and merging issues, it does
talk about how to "allow development to be based on a (hopefully)
relatively stable point where the issues are known". That is as
important for a rebase point as it is for a merge point.

Rebasing on top of random kernel versions should not be done. EVER.

And if you did it to avoid some merge conflict, DON'T. I'd much rather
get a pull request for something that is *STABLE* and *WELL-TESTED*,
than get a pull request that has been syntactically cleaned up, but is
based on something that might not work at all under certain
circumstances.

Even if *your* code were to be perfect, that doesn't matter if the
thing you based your code on is a quicksand of memory corruption and
general flakiness.

So don't do the whole "rebase the day before" in the first place, but
*DEFINITELY* don't do it when you then pick a random and bad point to
rebase things on top of!

                   Linus

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

* [GIT PULL] CIFS/SMB3 fixes
@ 2019-05-08 18:32 Steve French
  2019-05-08 20:37 ` Linus Torvalds
  2019-05-08 20:45 ` pr-tracker-bot
  0 siblings, 2 replies; 72+ messages in thread
From: Steve French @ 2019-05-08 18:32 UTC (permalink / raw)
  To: CIFS, Linus Torvalds; +Cc: LKML

Please pull the following changes since commit
d3511f53bb2475f2a4e8460bee5a1ae6dea2a433:

  Merge branch 'parisc-5.2-1' of
git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
(2019-05-07 19:34:17 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/5.2-smb3

for you to fetch changes up to cb4f7bf6be10b35510e6b2e60f80d85ebc22a578:

  cifs: update module internal version number (2019-05-07 23:24:56 -0500)

----------------------------------------------------------------
CIFS/SMB3 changes, three for stable, adds fiemap support, improves
zero-range support, and includes various RDMA (smb direct fixes).  Our
build verification tests passed (and continue to be extended to
include more tests).  See e.g. our 'buildbot' results at:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/199

Have an additional set of fixes (for improved handling of sparse
files, mode bits, POSIX extensions) that are still being tested that
are not included in this pull request but I expect to send in the next
week.
----------------------------------------------------------------
Aurelien Aptel (1):
      CIFS: check CIFS_MOUNT_NO_DFS when trying to reuse existing sb

Christoph Probst (1):
      cifs: fix strcat buffer overflow and reduce raciness in
smb21_set_oplock_level()

Jeff Layton (1):
      cifs: remove superfluous inode_lock in cifs_{strict_}fsync

Kenneth D'souza (1):
      CIFS: Show locallease in /proc/mounts for cifs shares mounted
with locallease feature.

Long Li (7):
      smbd: Make upper layer decide when to destroy the transport
      cifs: smbd: Don't destroy transport on RDMA disconnect
      cifs: smbd: Return EINTR when interrupted
      cifs: smbd: Indicate to retry on transport sending failure
      cifs: smbd: Retry on memory registration failure
      cifs: Call MID callback before destroying transport
      cifs: smbd: take an array of reqeusts when sending upper layer data

Paulo Alcantara (SUSE) (1):
      cifs: Fix DFS cache refresher for DFS links

Ronnie Sahlberg (8):
      cifs: Add support for FSCTL passthrough that write data to the server
      cifs: fix bi-directional fsctl passthrough calls
      cifs: add fiemap support
      cifs: zero-range does not require the file is sparse
      cifs: fix smb3_zero_range for Azure
      cifs: fix credits leak for SMB1 oplock breaks
      cifs: rename and clarify CIFS_ASYNC_OP and CIFS_NO_RESP
      SMB3: Clean up query symlink when reparse point

Sergey Senozhatsky (1):
      cifs: don't use __constant_cpu_to_le32()

Steve French (8):
      SMB3: Track total time spent on roundtrips for each SMB3 command
      SMB3: update comment to clarify enumerating snapshots
      SMB3: Add handling for different FSCTL access flags
      SMB3: Add defines for new negotiate contexts
      Add new flag on SMB3.1.1 read
      smb3: Add protocol structs for change notify support
      Negotiate and save preferred compression algorithms
      cifs: update module internal version number

 fs/cifs/cifs_debug.c |   33 +-
 fs/cifs/cifsfs.c     |    3 +
 fs/cifs/cifsfs.h     |    4 +-
 fs/cifs/cifsglob.h   |   27 +-
 fs/cifs/cifsproto.h  |    9 +
 fs/cifs/cifssmb.c    |   98 +--
 fs/cifs/connect.c    |   63 +-
 fs/cifs/dfs_cache.c  |  140 ++++-
 fs/cifs/dfs_cache.h  |    5 +-
 fs/cifs/file.c       |    5 -
 fs/cifs/inode.c      |   37 ++
 fs/cifs/link.c       |   13 +-
 fs/cifs/smb1ops.c    |    9 +-
 fs/cifs/smb2ops.c    |  309 ++++++---
 fs/cifs/smb2pdu.c    |   72 ++-
 fs/cifs/smb2pdu.h    |   71 +++
 fs/cifs/smb2status.h | 3480
++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------
 fs/cifs/smbdirect.c  |  292 ++++-----
 fs/cifs/smbdirect.h  |   19 +-
 fs/cifs/smbfsctl.h   |   29 +-
 fs/cifs/transport.c  |   48 +-
 21 files changed, 2582 insertions(+), 2184 deletions(-)


-- 
Thanks,

Steve

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2014-10-18 20:25 Steve French
  0 siblings, 0 replies; 72+ messages in thread
From: Steve French @ 2014-10-18 20:25 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA

Improved SMB3 support (symlink and device emulation, and remapping by default
the 7 reserved posix characters) and a workaround for cifs mounts to Mac
(working around a commonly encountered Mac server bug)

Please pull the following changes since commit
0429fbc0bdc297d64188483ba029a23773ae07b0:

  Merge branch 'for-3.18-consistent-ops' of
git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu (2014-10-15
07:48:18 +0200)

are available in the git repository at:


  git://git.samba.org/sfrench/cifs-2.6.git for-linus

for you to fetch changes up to ff273cb879fbc6cd3c5d03a56cfc33f5830e2837:

  [CIFS] Remove obsolete comment (2014-10-17 17:17:12 -0500)

----------------------------------------------------------------
Steve French (10):
      add defines for two new file attributes
      Allow mknod and mkfifo on SMB2/SMB3 mounts
      Add mfsymlinks support for SMB2.1/SMB3. Part 1 create symlink
      mfsymlinks support for SMB2.1/SMB3. Part 2 query symlink
      Allow conversion of characters in Mac remap range. Part 1
      Allow conversion of characters in Mac remap range (part 2)
      Remap reserved posix characters by default (part 3/3)
      Workaround Mac server problem
      Check minimum response length on query_network_interface
      [CIFS] Remove obsolete comment

 fs/cifs/cifs_fs_sb.h   |   1 +
 fs/cifs/cifs_unicode.c | 203 +++++++++++++++++++++++++++++++++++++------------
 fs/cifs/cifs_unicode.h |  31 +++++++-
 fs/cifs/cifsencrypt.c  |   2 +-
 fs/cifs/cifsglob.h     |   6 +-
 fs/cifs/cifssmb.c      |  16 ++--
 fs/cifs/connect.c      |  46 +++++++++--
 fs/cifs/dir.c          |  22 ++++--
 fs/cifs/file.c         |   6 +-
 fs/cifs/inode.c        |  57 ++++++++------
 fs/cifs/link.c         | 145 +++++++++++++++++++++++++++++++++--
 fs/cifs/readdir.c      |   8 +-
 fs/cifs/smb1ops.c      |  33 ++++----
 fs/cifs/smb2misc.c     |  12 ++-
 fs/cifs/smb2ops.c      |  27 ++++---
 fs/cifs/smb2pdu.c      |   2 +
 fs/cifs/smb2pdu.h      |   2 +
 fs/cifs/smb2proto.h    |   8 +-
 fs/cifs/smbencrypt.c   |   1 +
 fs/cifs/xattr.c        |  32 +++-----
 20 files changed, 489 insertions(+), 171 deletions(-)

-- 
Thanks,

Steve

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2014-10-03 19:56 Steve French
  0 siblings, 0 replies; 72+ messages in thread
From: Steve French @ 2014-10-03 19:56 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA, LKML

Fix for CIFS/SMB3 oops on reconnect during readpages (3.17 regression)
and for incorrectly closing file handle in symlink error cases

Please pull the following changes since commit
50dddff3cb9af328dd42bafe3437c7f47e8b38a9:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
(2014-10-01 21:29:06 -0700)

are available in the git repository at:


  git://git.samba.org/sfrench/cifs-2.6.git for-linus

for you to fetch changes up to 1209bbdff2f6bbffa6eb5823033bbd7b8799a5e2:

  CIFS: Fix readpages retrying on reconnects (2014-10-02 14:17:41 -0500)

----------------------------------------------------------------
Pavel Shilovsky (1):
      CIFS: Fix readpages retrying on reconnects

Steve French (1):
      Fix problem recognizing symlinks

 fs/cifs/file.c         | 8 +-------
 fs/cifs/smb1ops.c      | 2 +-
 fs/cifs/smb2maperror.c | 2 ++
 3 files changed, 4 insertions(+), 8 deletions(-)

-- 
Thanks,

Steve

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

* [GIT PULL] CIFS/SMB3 Fixes
@ 2014-09-18 17:00 Steve French
  0 siblings, 0 replies; 72+ messages in thread
From: Steve French @ 2014-09-18 17:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA, Arnd Bergmann

Fixes for problems found during testing and debugging at the SMB3 storage
test event (plugfest) this week.

Please pull the following changes since commit
1536340e7c67694b134cbbc07168e5a524e49d08:

  Merge branches 'locking-urgent-for-linus' and
'timers-urgent-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2014-09-13
14:22:12 -0700)

are available in the git repository at:


  git://git.samba.org/sfrench/cifs-2.6.git for-linus

for you to fetch changes up to 364d42930d96a872b2076deeb9c24f9ff132de34:

  Fix mfsymlinks file size check (2014-09-16 06:48:20 -0500)

----------------------------------------------------------------
Arnd Bergmann (1):
      cifs: remove dead code

Steve French (5):
      [CIFS] Fix setting time before epoch (negative time values)
      [SMB3] Fix oops when creating symlinks on smb3
      Revert "cifs: No need to send SIGKILL to demux_thread during umount"
      Update version number displayed by modinfo for cifs.ko
      Fix mfsymlinks file size check

 fs/cifs/cifsfs.h  |  2 +-
 fs/cifs/connect.c | 19 +++++++++++++++++++
 fs/cifs/link.c    | 12 +++++++++---
 fs/cifs/netmisc.c | 20 ++++++++++++++++----
 fs/cifs/sess.c    | 17 -----------------
 5 files changed, 45 insertions(+), 25 deletions(-)

-- 
Thanks,

Steve

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

end of thread, other threads:[~2021-08-14  1:12 UTC | newest]

Thread overview: 72+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-24 22:20 [GIT PULL] CIFS/SMB3 Fixes Steve French
2021-07-25  0:34 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2021-08-13 21:41 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-17  0:17 [GIT PULL] CIFS/SMB3 Fixes 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-04-26 19:50 [GIT PULL] CIFS/SMB3 fixes Steve French
2021-04-26 20:57 ` pr-tracker-bot
2021-03-28  0:07 [GIT PULL] CIFS/SMB3 Fixes 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

This is a public inbox, see mirroring instructions
on how to clone and mirror all data and code used for this inbox