fs: dlm: add functionality to re-transmit a message
authorAlexander Aring <aahringo@redhat.com>
Fri, 21 May 2021 19:08:43 +0000 (15:08 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 25 May 2021 14:22:20 +0000 (09:22 -0500)
commit2874d1a68c4ec5623a05c8118f5dbaefb30b37ff
tree817dc2575b02c9de3a5e5d25c16a7a384f3cd6ef
parent8f2dc78dbc2010b497bb58e0460cb44c678a3c5b
fs: dlm: add functionality to re-transmit a message

This patch introduces a retransmit functionality for a lowcomms message
handle. It's just allocates a new buffer and transmit it again, no
special handling about prioritize it because keeping bytestream in order.

To avoid another connection look some refactor was done to make a new
buffer allocation with a preexisting connection pointer.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c
fs/dlm/lowcomms.h