From: Heming Zhao <heming.zhao@suse.com>
To: teigland@redhat.com, aahringo@redhat.com
Cc: Heming Zhao <heming.zhao@suse.com>,
gfs2@lists.linux.dev, glass.su@suse.com, zzhou@suse.com
Subject: [PATCH] dlm: make tcp still work in multi-link env
Date: Mon, 10 Mar 2025 15:36:21 +0800 [thread overview]
Message-ID: <20250310073623.18607-2-heming.zhao@suse.com> (raw)
In-Reply-To: <20250310073623.18607-1-heming.zhao@suse.com>
This patch bypasses multi-link errors in TCP mode, allowing dlm
to operate on the first tcp link.
Signed-off-by: Heming Zhao <heming.zhao@suse.com>
---
fs/dlm/lowcomms.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index d28141829c05..70abd4da17a6 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -1826,8 +1826,8 @@ static int dlm_tcp_listen_validate(void)
{
/* We don't support multi-homed hosts */
if (dlm_local_count > 1) {
- log_print("TCP protocol can't handle multi-homed hosts, try SCTP");
- return -EINVAL;
+ log_print("Detect multi-homed hosts but use only the first IP address.");
+ log_print("Try SCTP, if you want to enable multi-link.");
}
return 0;
--
2.43.0
next prev parent reply other threads:[~2025-03-10 7:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-10 7:36 [PATCH] dlm_controld: remove 'detect' mode from config item 'protocol' Heming Zhao
2025-03-10 7:36 ` Heming Zhao [this message]
2025-03-18 7:35 ` [PATCH] dlm: make tcp still work in multi-link env Heming Zhao
2025-03-18 13:44 ` Alexander Aring
2025-03-18 7:35 ` [PATCH] dlm_controld: remove 'detect' mode from config item 'protocol' Heming Zhao
2025-03-18 13:42 ` Alexander Aring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250310073623.18607-2-heming.zhao@suse.com \
--to=heming.zhao@suse.com \
--cc=aahringo@redhat.com \
--cc=gfs2@lists.linux.dev \
--cc=glass.su@suse.com \
--cc=teigland@redhat.com \
--cc=zzhou@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox