Received: by 10.213.65.68 with SMTP id h4csp2998983imn; Mon, 2 Apr 2018 19:04:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx490zA/Et+sacBLPtszxdFOi3qE7Lrd0GaqbJQOlpFkyzke4kCJKBYFSKKCblZMFTQbfgSqG X-Received: by 10.98.210.7 with SMTP id c7mr8964219pfg.92.1522721043840; Mon, 02 Apr 2018 19:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522721043; cv=none; d=google.com; s=arc-20160816; b=I67XxkKhNmVbZFFvZAVO21m0u7N/AqlDw4W/TuuElWf70QetQpj8UDviGCwL6P4U7y tskQT/LN6ft1wrSAZti4LMCpN9JPKlBRsreUuF9gAhYDJmmCP1Bif56iGJJJtRwqcM5u F1zP2FrySPfIjuAtcue2ClEYA/j8cetD16pX+m6mUJYJiPQ6DAlpt0+0ez1AuO2DYU6C Youeelj1mxh5+oK3GKjkIVQMHmDVOIvV0sgP6cZCVs5HJQcor6wuPVDGa5SH4ddJRyxy yEfY31oPySHGx6vX0SliiNfFWIHfgS9D8E9vJ/Vv0VqRrsABSE97/NqhoANgnNdmLNSy OTQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references :subject:cc:to:from:date:message-id:arc-authentication-results; bh=6MqZonfLUc5dmBOYgA+Cbj83sz3/HrMxseokNROeX70=; b=wPV9e5sof0JUz5CWEY7+BGDWdv1z5Cij2QKPogZWz6OCR1X5noe5i6ghqDdNbBD5ab oV/C78lWAsreDSIGaotpfN7L6E2xgoaZF+j3GbF4n5/IoF8iF3eFBLcXdmM450FCxGkh Jaqwhphn2xssbOfMDpLNuIKJprKpOGxZk5+cpJ3VDKC6POcnXT1480NVV5Aaf//D5OP4 oYsfUukQ4JzBy+uFGta2oyLq1qUrCttKCok3/ZphKyzkfYSx1/9NmFrpcOfefPs7f9aX lYlMtjSQFifZKocdHpuDuYtEBFgIMKopRqCTET3IOeHDWubmwSLvCJ3y0hz/oqlSIpN9 0kGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s85si1270921pfi.32.2018.04.02.19.03.49; Mon, 02 Apr 2018 19:04:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754811AbeDCCBi convert rfc822-to-8bit (ORCPT + 99 others); Mon, 2 Apr 2018 22:01:38 -0400 Received: from prv-mh.provo.novell.com ([137.65.248.74]:49119 "EHLO prv-mh.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752109AbeDCCBg (ORCPT ); Mon, 2 Apr 2018 22:01:36 -0400 Received: from INET-PRV-MTA by prv-mh.provo.novell.com with Novell_GroupWise; Mon, 02 Apr 2018 20:01:36 -0600 Message-Id: <5AC350F4020000F9000B342A@prv-mh.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 18.0.0 Date: Mon, 02 Apr 2018 20:01:24 -0600 From: "Gang He" To: Cc: , Subject: Re: [PATCH] dlm: prompt the user SCTP is experimental References: <1521528327-882-1-git-send-email-ghe@suse.com> <5AB4F2CC020000F9000B145C@prv-mh.provo.novell.com> <20180402150315.GA7980@redhat.com> In-Reply-To: <20180402150315.GA7980@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, >>> > On Thu, Mar 22, 2018 at 10:27:56PM -0600, Gang He wrote: >> Hello David, >> >> Do you agree to add this prompt to the user? >> Since sometimes customers attempted to setup SCTP protocol with two rings, >> but they could not get the expected result, then it maybe bring some > concerns to the customer for DLM qualities. > > I don't think the kernel message is a good way to communicate this to users. > Dave OK, I got your point. But, could we have a appropriate way to let the users know SCTP protocol status? Thanks Gang > > >> > As you know, DLM module can use TCP or SCTP protocols to >> > communicate among the cluster. >> > But, according to our testing, SCTP protocol is still considered >> > experimental, since not all aspects are working correctly and >> > it is not full tested. >> > e.g. SCTP connection channel switch needs about 5mins hang in case >> > one connection(ring) is broken. >> > Then, I suggest to add a kernel print, which prompts the user SCTP >> > protocol for DLM should be considered experimental, it is not >> > recommended in production environment. >> > >> > Signed-off-by: Gang He >> > --- >> > fs/dlm/lowcomms.c | 1 + >> > 1 file changed, 1 insertion(+) >> > >> > diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c >> > index cff79ea..18fd85d 100644 >> > --- a/fs/dlm/lowcomms.c >> > +++ b/fs/dlm/lowcomms.c >> > @@ -1307,6 +1307,7 @@ static int sctp_listen_for_all(void) >> > return -ENOMEM; >> > >> > log_print("Using SCTP for communications"); >> > + log_print("SCTP protocol is experimental, use at your own risk"); >> > >> > result = sock_create_kern(&init_net, dlm_local_addr[0]->ss_family, >> > SOCK_STREAM, IPPROTO_SCTP, &sock); >> > -- >> > 1.8.5.6