Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1726343pxb; Fri, 25 Mar 2022 04:34:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/JgMPqNLmvuoiQ/YHYtv5otAOWmLzvXXKphW3zsjQyV2K1l5+3Quz4Ze1vIct5KapVdT2 X-Received: by 2002:a17:907:7b8b:b0:6da:bad3:88b6 with SMTP id ne11-20020a1709077b8b00b006dabad388b6mr10726933ejc.360.1648208092673; Fri, 25 Mar 2022 04:34:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648208092; cv=none; d=google.com; s=arc-20160816; b=ro5Nm3dCL1N4Mw26aiSXLaLSdChZl6mNslOLzun4fNALvbpzfjI81YT0pDhQe1tkk9 vDkcXFSobYuMYlGHQbAw4+HN7T7ndIdZQUdR7o/vIZNLB/dhynAbO0hUrEV560+cuqJP Mdw5suAU9QXQJV11Y3QeyKMKQ5CX2lrT8f2aWRfFAWHocbtpYp2ByYYGJEiFoXe41slk nRJWZFjFSleDmdXoJDoROd+Ikb6j7xT1K5DlT0E4aX3FDK/Usrm6fq7gtYhzY3X2h+1r LQUs6ZZPLdrKPW8UKB/Jk/GoNxo7ucdkdr4+KkWrDlyRD3hcAqCCibNqFEljm48n6OLH D6wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=uvVftiHkUysW+4Sa9fOaFUvHTE2AXoXuH5qj+spBShA=; b=ypz/yVWxzY2MebkmaqBwqKlHe7EpqUdTQ/BuIcxaHKTWE9188PqhnGtbj5x/mb1hUr ejrSyl3UAt5Pah93qq0v7CNJ69/fkS4GQ7iq+/lPtjWg2lrRn1Bg31J/j62jv2tIZYKM GnPfNg/Pnol+rk2LEycHfr+WSSUMeAnw0J6MSyfeiY3VuQ98Dad8ntXd9SYxKkoIE/S7 wBBil48dTBAIxMQ32xejeMqk5INehyXsAy8jiJJ2aDK/eNtL90IH2ZdG3MZR1dUfXKwq F1h1hcJ7F823Ek0s3PBUjaBbfUzEsrR7Y5pX+zbYpC00/Yyy0UTRc/Ip/be9shxMykuH QA4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd19-20020a170907969300b006df76385d85si2988577ejc.549.2022.03.25.04.34.19; Fri, 25 Mar 2022 04:34:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344151AbiCYGyL (ORCPT + 99 others); Fri, 25 Mar 2022 02:54:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234077AbiCYGyK (ORCPT ); Fri, 25 Mar 2022 02:54:10 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 57F48C6ED8 for ; Thu, 24 Mar 2022 23:52:37 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-308-OWCTSVYVNPyn1nCTkduS5Q-1; Fri, 25 Mar 2022 06:52:34 +0000 X-MC-Unique: OWCTSVYVNPyn1nCTkduS5Q-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Fri, 25 Mar 2022 06:52:33 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.033; Fri, 25 Mar 2022 06:52:33 +0000 From: David Laight To: 'NeilBrown' , Haowen Bai CC: "trond.myklebust@hammerspace.com" , "anna@kernel.org" , "chuck.lever@oracle.com" , "davem@davemloft.net" , "kuba@kernel.org" , "pabeni@redhat.com" , "linux-nfs@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Haowen Bai Subject: RE: [PATCH] SUNRPC: Increase size of servername string Thread-Topic: [PATCH] SUNRPC: Increase size of servername string Thread-Index: AQHYP+2Bp/ily4quQUeZW4BP4EodNKzPqMOg Date: Fri, 25 Mar 2022 06:52:33 +0000 Message-ID: <8723baf426ff4c7fb2027b86aa01fe70@AcuMS.aculab.com> References: <1648103566-15528-1-git-send-email-baihaowen@meizu.com> <164817399413.6096.7103093569920914714@noble.neil.brown.name> In-Reply-To: <164817399413.6096.7103093569920914714@noble.neil.brown.name> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org RnJvbTogTmVpbEJyb3duDQo+IFNlbnQ6IDI1IE1hcmNoIDIwMjIgMDI6MDcNCj4gDQo+IE9uIFRo dSwgMjQgTWFyIDIwMjIsIEhhb3dlbiBCYWkgd3JvdGU6DQo+ID4gVGhpcyBwYXRjaCB3aWxsIGZp eCB0aGUgd2FybmluZyBmcm9tIHNtYXRjaDoNCj4gPg0KPiA+IG5ldC9zdW5ycGMvY2xudC5jOjU2 MiBycGNfY3JlYXRlKCkgZXJyb3I6IHNucHJpbnRmKCkgY2hvcHMgb2ZmDQo+ID4gdGhlIGxhc3Qg Y2hhcnMgb2YgJ3N1bi0+c3VuX3BhdGgnOiAxMDggdnMgNDgNCj4gPg0KPiA+IFNpZ25lZC1vZmYt Ynk6IEhhb3dlbiBCYWkgPGJhaWhhb3dlbkBtZWl6dS5jb20+DQo+ID4gLS0tDQo+ID4gIG5ldC9z dW5ycGMvY2xudC5jIHwgMiArLQ0KPiA+ICAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyks IDEgZGVsZXRpb24oLSkNCj4gPg0KPiA+IGRpZmYgLS1naXQgYS9uZXQvc3VucnBjL2NsbnQuYyBi L25ldC9zdW5ycGMvY2xudC5jDQo+ID4gaW5kZXggYzgzZmU2MS4uNmUwMjA5ZSAxMDA2NDQNCj4g PiAtLS0gYS9uZXQvc3VucnBjL2NsbnQuYw0KPiA+ICsrKyBiL25ldC9zdW5ycGMvY2xudC5jDQo+ ID4gQEAgLTUyNiw3ICs1MjYsNyBAQCBzdHJ1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