All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Support multiple ips per hostname
@ 2021-05-11 16:36 Paulo Alcantara
  2021-05-11 16:36 ` [PATCH 1/3] cifs: introduce smb3_options_for_each() helper Paulo Alcantara
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Paulo Alcantara @ 2021-05-11 16:36 UTC (permalink / raw)
  To: linux-cifs, smfrench; +Cc: Paulo Alcantara

Steve,

Follow a series to handle multiple ip addresses per hostame when
mounting, chasing DFS referrals and reconnecting.

We've defined a maximum number of 16 addresses a hostname can handle
as we did in mount.cifs (resolve_host.c::resolve_host).  If that's not
OK, then we could make it flexible by creating a new mount option like
'maxaddrs=N' or just increase it in both sides.

The mount.cifs(8) patch that passes multiple 'ip=' options to handle
all resolved addresses will be posted soon.

Paulo Alcantara (3):
  cifs: introduce smb3_options_for_each() helper
  cifs: handle multiple ip addresses per hostname
  cifs: fix find_root_ses() when refresing dfs cache

 fs/cifs/cifs_dfs_ref.c |   48 +-
 fs/cifs/cifsglob.h     |   24 +-
 fs/cifs/connect.c      | 1042 ++++++++++++++++++++++++----------------
 fs/cifs/dfs_cache.c    |   12 +-
 fs/cifs/dns_resolve.c  |   72 +--
 fs/cifs/dns_resolve.h  |    5 +-
 fs/cifs/fs_context.c   |   22 +-
 fs/cifs/fs_context.h   |    4 +-
 fs/cifs/misc.c         |   95 +++-
 9 files changed, 828 insertions(+), 496 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-05-11 18:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 16:36 [PATCH 0/3] Support multiple ips per hostname Paulo Alcantara
2021-05-11 16:36 ` [PATCH 1/3] cifs: introduce smb3_options_for_each() helper Paulo Alcantara
2021-05-11 18:15   ` kernel test robot
2021-05-11 18:15     ` kernel test robot
2021-05-11 16:36 ` [PATCH 2/3] cifs: handle multiple ip addresses per hostname Paulo Alcantara
2021-05-11 18:47   ` kernel test robot
2021-05-11 18:47     ` kernel test robot
2021-05-11 18:47   ` kernel test robot
2021-05-11 18:47     ` kernel test robot
2021-05-11 16:36 ` [PATCH 3/3] cifs: fix find_root_ses() when refresing dfs cache Paulo Alcantara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.