public inbox for linux-cifs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] Witness protocol support for transparent failover
@ 2020-10-22 18:13 Samuel Cabrero
  2020-10-22 18:13 ` [PATCH 01/11] cifs: Make extract_hostname function public Samuel Cabrero
                   ` (10 more replies)
  0 siblings, 11 replies; 18+ messages in thread
From: Samuel Cabrero @ 2020-10-22 18:13 UTC (permalink / raw)
  To: linux-cifs

This patchset adds witness protocol support, enabling transparent
client failover for clustered shares. Both, regular and scale-out
clustered file servers are supported.

In summary, the client side of the protocol is implemented in userspace,
specifically in the samba's swnclient library, and a new daemon called
swnd provides the interface for the cifs module via netlink. This
reduces the kernel changes to just sending the commands to register and
unregister to receive the notifications and process these notifications
received from swnd.

[PATCH 01/11] cifs: Make extract_hostname function public
[PATCH 02/11] cifs: Make extract_sharename function public
[PATCH 03/11] cifs: Register generic netlink family
[PATCH 04/11] cifs: add witness mount option and data structs
[PATCH 05/11] cifs: Send witness register and unregister commands to
[PATCH 06/11] cifs: Set witness notification handler for messages
[PATCH 07/11] cifs: Add witness information to debug data dump
[PATCH 08/11] cifs: Send witness register messages to userspace
[PATCH 09/11] cifs: Simplify reconnect code when dfs upcall is
[PATCH 10/11] cifs: Handle witness client move notification
[PATCH 11/11] cifs: Handle witness share moved notification

 fs/cifs/Kconfig                        |  11 +
 fs/cifs/Makefile                       |   2 +
 fs/cifs/cache.c                        |  24 -
 fs/cifs/cifs_debug.c                   |  13 +
 fs/cifs/cifs_swn.c                     | 723 +++++++++++++++++++++++++
 fs/cifs/cifs_swn.h                     |  25 +
 fs/cifs/cifsfs.c                       |  22 +-
 fs/cifs/cifsglob.h                     |   8 +
 fs/cifs/cifsproto.h                    |   2 +
 fs/cifs/connect.c                      | 141 +++--
 fs/cifs/fscache.c                      |   1 +
 fs/cifs/fscache.h                      |   1 -
 fs/cifs/misc.c                         |  56 ++
 fs/cifs/netlink.c                      |  88 +++
 fs/cifs/netlink.h                      |  16 +
 include/uapi/linux/cifs/cifs_netlink.h |  63 +++
 16 files changed, 1117 insertions(+), 79 deletions(-)


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

end of thread, other threads:[~2020-10-23  9:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-22 18:13 [PATCH 00/11] Witness protocol support for transparent failover Samuel Cabrero
2020-10-22 18:13 ` [PATCH 01/11] cifs: Make extract_hostname function public Samuel Cabrero
2020-10-23  8:54   ` Aurélien Aptel
2020-10-22 18:13 ` [PATCH 02/11] cifs: Make extract_sharename " Samuel Cabrero
2020-10-23  8:54   ` Aurélien Aptel
2020-10-22 18:13 ` [PATCH 03/11] cifs: Register generic netlink family Samuel Cabrero
2020-10-22 19:23   ` kernel test robot
2020-10-22 20:12   ` kernel test robot
2020-10-23  9:58   ` Aurélien Aptel
2020-10-22 18:13 ` [PATCH 04/11] cifs: add witness mount option and data structs Samuel Cabrero
2020-10-23  9:19   ` Aurélien Aptel
2020-10-22 18:13 ` [PATCH 05/11] cifs: Send witness register and unregister commands to userspace daemon Samuel Cabrero
2020-10-22 18:13 ` [PATCH 06/11] cifs: Set witness notification handler for messages from " Samuel Cabrero
2020-10-22 18:13 ` [PATCH 07/11] cifs: Add witness information to debug data dump Samuel Cabrero
2020-10-22 18:13 ` [PATCH 08/11] cifs: Send witness register messages to userspace daemon in echo task Samuel Cabrero
2020-10-22 18:13 ` [PATCH 09/11] cifs: Simplify reconnect code when dfs upcall is enabled Samuel Cabrero
2020-10-22 18:13 ` [PATCH 10/11] cifs: Handle witness client move notification Samuel Cabrero
2020-10-22 18:13 ` [PATCH 11/11] cifs: Handle witness share moved notification Samuel Cabrero

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