Skip to content

dfs fixes

Paulo Alcantara linux-cifs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7cifs: do not send tree disconnect to ipc sharesfs/cifs/connect.c+1 -110 replies
2/7cifs: get rid of @noreq param in __dfs_cache_find()fs/cifs/dfs_cache.c+3 -140 replies
3/7cifs: keep referral server sessions alivefs/cifs/cifs_fs_sb.h fs/cifs/connect.c fs/cifs/dfs_cache.c +1 more+285 -4760 replies
4/7cifs: handle different charsets in dfs cachefs/cifs/cifs_fs_sb.h fs/cifs/cifsglob.h fs/cifs/connect.c +2 more+138 -1390 replies
5/7cifs: fix path comparison and hash calcfs/cifs/dfs_cache.c+93 -751 reply
6/7cifs: set a minimum of 2 minutes for refreshing dfs cachefs/cifs/dfs_cache.c+2 -10 replies
7/7cifs: do not share tcp servers with dfs mountsfs/cifs/connect.c+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] dfs fixes

Hi Steve,

Follow a series with dfs fixes and improvements.

- correctly handle different charsets when passing around DFS paths by converting them all to a default enconding in cache (utf8).

- keep SMB sessions alive as long as dfs mounts are actives in order to refresh cached entries by using IPC tcons.

- set a mininum of 2 minutes for refreshing cached entries

- fix broken hash of case sensitive DFS paths

- skip unnecessary tree disconnect of IPCs when shutting down SMB sessions (it didn't even work before).

- do not share tcp servers when mounting dfs shares because they may failover to completely different targets (use nosharesock).

Paulo Alcantara (7):
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

 fs/cifs/cifs_fs_sb.h |    7 +-
 fs/cifs/cifsglob.h   |    3 +-
 fs/cifs/connect.c    |  132 +++---
 fs/cifs/dfs_cache.c  | 1004 +++++++++++++++++-------------------------
 fs/cifs/dfs_cache.h  |   45 +-
 5 files changed, 498 insertions(+), 693 deletions(-)
Signature · 1 line
2.31.1