[Cluster-devel] [RFC PATCH dlm/next 00/16] fs: dlm: introduce dlm retransmission layer
Alexander Aring
aahringo at redhat.com
Fri Nov 13 22:57:58 UTC 2020
Hi,
this is the final patch-series to make dlm reliable when reconnection
occurs. You can easily generate a couple of reconnections by running:
tcpkill -9 -i $IFACE port 21064
on your own to test these patches. At some time dlm will detect message
drops and will retransmit messages if necessary. It introduces a new dlm
protocol behaviour and increases the dlm protocol version. I tested it
with SCTP as well and tried to be backwardscompatible with dlm protocol
version 3.1. However I don't recommend at all to not mix these versions
in a setup since dlm version 3.2 fixes long-term issues.
- Alex
Alexander Aring (16):
fs: dlm: add errno handling to check callback
fs: dlm: add check if dlm is currently running
fs: dlm: add check for minimum allocation length
fs: dlm: public utils header utils
fs: dlm: use GFP_ZERO for page buffer
fs: dlm: simplify writequeue handling
fs: dlm: add more midcomms hooks
fs: dlm: make buffer handling per msg
fs: dlm: make new buffer handling softirq ready
fs: dlm: add functionality to retransmit a message
fs: dlm: move out some hash functionality
fs: dlm: remove unaligned memory access handling
fs: dlm: check on minimum header size
fs: dlm: add union in dlm header for lockspace id
fs: dlm: add reliable connection if reconnect
fs: dlm: don't allow half transmitted messages
fs/dlm/config.c | 60 ++-
fs/dlm/dlm_internal.h | 32 +-
fs/dlm/lock.c | 16 +-
fs/dlm/lockspace.c | 5 +-
fs/dlm/lowcomms.c | 273 +++++++---
fs/dlm/lowcomms.h | 25 +-
fs/dlm/member.c | 16 +
fs/dlm/member.h | 1 +
fs/dlm/midcomms.c | 1094 +++++++++++++++++++++++++++++++++++++++--
fs/dlm/midcomms.h | 10 +
fs/dlm/rcom.c | 61 ++-
fs/dlm/recoverd.c | 4 +
fs/dlm/util.c | 10 +-
fs/dlm/util.h | 2 +
14 files changed, 1438 insertions(+), 171 deletions(-)
--
2.26.2
More information about the Cluster-devel
mailing list