From: Paulo Alcantara <pc@cjr.nz> To: linux-cifs@vger.kernel.org, smfrench@gmail.com Cc: Paulo Alcantara <pc@cjr.nz> Subject: [PATCH 0/7] dfs fixes Date: Fri, 4 Jun 2021 19:25:26 -0300 [thread overview] Message-ID: <20210604222533.4760-1-pc@cjr.nz> (raw) 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(-) -- 2.31.1
next reply other threads:[~2021-06-04 22:25 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-04 22:25 Paulo Alcantara [this message] 2021-06-04 22:25 ` [PATCH 1/7] cifs: do not send tree disconnect to ipc shares Paulo Alcantara 2021-06-04 22:25 ` [PATCH 2/7] cifs: get rid of @noreq param in __dfs_cache_find() Paulo Alcantara 2021-06-04 22:25 ` [PATCH 3/7] cifs: keep referral server sessions alive Paulo Alcantara 2021-06-04 22:25 ` [PATCH 4/7] cifs: handle different charsets in dfs cache Paulo Alcantara 2021-06-04 22:25 ` [PATCH 5/7] cifs: fix path comparison and hash calc Paulo Alcantara 2021-06-05 21:04 ` Steve French 2021-06-04 22:25 ` [PATCH 6/7] cifs: set a minimum of 2 minutes for refreshing dfs cache Paulo Alcantara 2021-06-04 22:25 ` [PATCH 7/7] cifs: do not share tcp servers with dfs mounts Paulo Alcantara 2021-06-05 21:05 ` [PATCH 0/7] dfs fixes Steve French -- strict thread matches above, loose matches on Subject: below -- 2020-07-06 15:23 [PATCH 0/7] DFS fixes Paulo Alcantara 2019-11-22 15:30 Paulo Alcantara (SUSE)
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210604222533.4760-1-pc@cjr.nz \ --to=pc@cjr.nz \ --cc=linux-cifs@vger.kernel.org \ --cc=smfrench@gmail.com \ --subject='Re: [PATCH 0/7] dfs fixes' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).