Skip to content

RFC fs: dlm: introduce dlm retransmission layer

Alexander Aring cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16fs: dlm: add errno handling to check callbackfs/dlm/config.c+16 -70 replies
2/16fs: dlm: add check if dlm is currently runningfs/dlm/config.c fs/dlm/lowcomms.c fs/dlm/lowcomms.h+36 -30 replies
3/16fs: dlm: add check for minimum allocation lengthfs/dlm/lowcomms.c+2 -10 replies
4/16fs: dlm: public utils header utilsfs/dlm/util.c fs/dlm/util.h+4 -20 replies
5/16fs: dlm: use GFP_ZERO for page bufferfs/dlm/lock.c fs/dlm/lowcomms.c fs/dlm/rcom.c+1 -50 replies
6/16fs: dlm: simplify writequeue handlingfs/dlm/lowcomms.c+43 -400 replies
7/16fs: dlm: add more midcomms hooksfs/dlm/config.c fs/dlm/lock.c fs/dlm/lockspace.c +6 more+116 -280 replies
8/16fs: dlm: make buffer handling per msgfs/dlm/lowcomms.c fs/dlm/lowcomms.h fs/dlm/midcomms.c+101 -120 replies
9/16fs: dlm: make new buffer handling softirq readyfs/dlm/lowcomms.c+14 -140 replies
10/16fs: dlm: add functionality to retransmit a messagefs/dlm/lowcomms.c fs/dlm/lowcomms.h+41 -140 replies
11/16fs: dlm: move out some hash functionalityfs/dlm/lowcomms.c fs/dlm/lowcomms.h+10 -90 replies
12/16fs: dlm: remove unaligned memory access handlingfs/dlm/midcomms.c+1 -110 replies
12/16fs: dlm: remove unaligned memory access handling+0 -00 replies
13/16fs: dlm: check on minimum header sizefs/dlm/midcomms.c+2 -10 replies
14/16fs: dlm: add union in dlm header for lockspace idfs/dlm/dlm_internal.h fs/dlm/lock.c fs/dlm/midcomms.c +2 more+14 -100 replies
15/16fs: dlm: add reliable connection if reconnectfs/dlm/dlm_internal.h fs/dlm/lowcomms.h fs/dlm/midcomms.c+1053 -540 replies
15/16fs: dlm: add reliable connection if reconnect+0 -00 replies
15/16fs: dlm: add reliable connection if reconnect+0 -00 replies
15/16fs: dlm: add reliable connection if reconnect+0 -00 replies
16/16fs: dlm: don't allow half transmitted messagesfs/dlm/lowcomms.c+54 -300 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Cluster-devel] [RFC PATCH dlm/next 00/16] fs: dlm: introduce dlm retransmission layer

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(-)
Signature · 1 line
2.26.2