From owner-freebsd-current@freebsd.org Fri May 14 14:45:02 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1182964AB75 for ; Fri, 14 May 2021 14:45:02 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-qb1can01on0616.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5c::616]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FhWX9671Cz3sbH; Fri, 14 May 2021 14:44:57 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O4gDlmpBiqzhNJAfBMF+LMacPS7kPUi+vdsx8GN5/wLWBdeCV3VmykW1FstlfnJeugyZ1et6f5baceAbsCtC/PzzBPkigZJmUuAVMNjSC9394+3QQ4ET3F2FCU2UMOIslsQ4pI5BO83OCTR0F/y8r2AhHFcKa2TQXO9U/T8VKETkDs6/iL9iqOUlr/dJp54jaiKpPJSyKaDLZKOkJDzsksEm9rO2rtY9Pn8ebYzlGPgPs3TB0pmprXbAinaqlYC/SZEFS/22nCzxa5koJImp6UiTdDpNDTRh7pa3KGojUs4SEbnpwV2Jto+jT+QRx1ito/ZTna34vZChLW7ctiLmXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8e/3dsRRvQBkE239IvEeRPI0VDmNpHxkqDT3wpiyQIY=; b=f4mX4cxmgZxs4oZZc/SBTysfQFg5HMlFJNH9qU/GdbRJ9dkizN4oZstGPlNGrHqrHLWvLUEYLPK+2YZ5n+G4LZ57Kief+8/l9RDNxIXZUVfFvoSCgJHSE1J9b4o3Wt+4DhnaEGTTRZkemi2ebCNuVYQSkjZscgpVNgZsLSdnT8LeadlXR78z24dWnHMR9XajSlcl5BRJaRskbiUjFEyszdX51y3leWKzhHxlhEmJK3kUt0cXZZVqYp9z0pz3QtbduRzFmJ0sE1X24lCK7ssORhebp6QCx5yjn5qa/+ulYP3WiZdE5DX3Hj2qE9ZO6gbvMPwDbYCunHGZ1BxNtyrnUQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uoguelph.ca; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8e/3dsRRvQBkE239IvEeRPI0VDmNpHxkqDT3wpiyQIY=; b=EcouFQUFp+kPDKZNQAHWlg3a+OtmrqDYYwMHaii7l97LDi6U/NQh3nh94LqKBXwRBy22a4NBePyGAW268tSMyn7Ltl2dSkLZr1taX97bfT6uADnVQRs0I1aBH4c2g9rNtbV3Xho6smBbCwo1DIFX5NQjNPyUBppG0Gv7wLBAv+37pxevOdlKAAGQ6VE57lCgxTr5xL57ognvkTD8YqSxutirXMv48ZmG+kJk3hWgwFeM4s+3EUeZOyi8z/XMi4FGwmGbwtr9Wpwfptn91rP+fLjY1F+cLyeH4fC2UmxY1/6rlCdTjlLiyfVWHsq1FJzShslL0QAVIYk5VDTf45vvBQ== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQXPR0101MB2245.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.31; Fri, 14 May 2021 14:44:55 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::1c05:585a:132a:f08e]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::1c05:585a:132a:f08e%4]) with mapi id 15.20.4087.053; Fri, 14 May 2021 14:44:49 +0000 From: Rick Macklem To: Daniel Ebdrup Jensen , "freebsd-current@FreeBSD.org" Subject: Re: RFC: changing the default NFSv4 minor version? Thread-Topic: RFC: changing the default NFSv4 minor version? Thread-Index: AQHXSJq9MbLimECHB02vv7jxf4DTXarjDBUx Date: Fri, 14 May 2021 14:44:49 +0000 Message-ID: References: ,<20210514082538.wbbrhhkwebvos6qc@nerd-thinkpad.local> In-Reply-To: <20210514082538.wbbrhhkwebvos6qc@nerd-thinkpad.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0d9598cd-b021-4bc5-d148-08d916e6d3a5 x-ms-traffictypediagnostic: YQXPR0101MB2245: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: N9qCTCUMVUvgKZiJFYNvVtr12cFdRKYVLm8Odg3eeogyPhiQ00hoC++plRdm6i3V3VGCdF+RlKZ+l4uDE7g2aFX8rCqpVx0k8G2hFTPDL5aCSXcg9QaYufX6gdeMAFLoH6XtPcIl0gYws6OqHlgrInlsv8Y7TRaCVdc+CM0RvSXX/CIpeN+PRMELJkalg/ujqjEvd30xPWvWrfNvQMfdRZfMBtvIhQTvniWcuHzhTyq122wgdObNhdBhxiBb4FMgQX5JnuhJ+8yrVT/tkRGa2M3gFkzBeQza2aUv9F71qTcm6n9OpzBz3RaRvSQmuX7STWlezXtJ5NRAzohepFNxAXbqSP0TBpRzxlNjsLyIbKpR5YgZ2no15xg+R1+ZLcGXOL58+Wd8K8RjbI52NzZOecMmKZrL0zmTFpob5+fbwHaSpYISZt64L/I6B9sbuS55S8iuW6MBVsL2eNz5Kit0+KQoi+Lx8CcDyTv6VkHS+gwAM0ApEC5HdZAyIQimgyq0db+fusZQGBzURvR9yhfjUxSBgz9VMxPeSIQNxqjY75I1XyVVEuvGKc4OzUDzgrADYnWCgi/voHitm/poJckHMYylT4wNKTSrTlHpLuSohVcHzEJHiHb6en4p1/UErUvAKNiQdwQctD94rS5rr4QBAx3VIJUnj02Vu98UCanWZ3tiFlmg+I3xwwnbrPSN9xXg x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(39850400004)(396003)(366004)(346002)(376002)(136003)(122000001)(38100700002)(52536014)(33656002)(110136005)(86362001)(55016002)(316002)(8676002)(2906002)(64756008)(76116006)(66556008)(66476007)(66946007)(66446008)(83380400001)(450100002)(9686003)(186003)(8936002)(478600001)(71200400001)(7696005)(6506007)(5660300002)(786003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?8hIOfdT6CkVGpjBNy3gu6CfFr3EDuBFIARmUcLroYjrmUOBLVN6/fNxQ3O?= =?iso-8859-1?Q?2jqGppsgml7bKKIkDsgj9HQaK5zN0AeCRgYDqO1LkgxKOSeFVnDdIagq3Y?= =?iso-8859-1?Q?pY0AXS/o30iBu/piAPtLpMgHwVHiuOCwJ1/GN0VLuwh8XQhRdlReqSYed3?= =?iso-8859-1?Q?eBWE2F8uquJRvestu9zmpMkhp2No4HNiirA3YDiXeatSkAVLAZ8ThmWgtG?= =?iso-8859-1?Q?3Ai4HehIcZAyRSUwLXRAm2TXh1y6ldYKSiIU7of+i/0TzHz9iOCnyDHN3J?= =?iso-8859-1?Q?Xe+AxSNSapTJ4RsnxgRwdrcoqpwTZHkexau8ttAsJkl0x2FtzAOLKbtGz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WdCRXebHsKPdWfSHtUebKW9JSHAQ5b5Y6se7NP1?= =?iso-8859-1?Q?tqGUmjAHfQgmNnzH25LqWh2H0Wlqnu/YBdn3hfJmSc8MePP6kgFurug1b5?= =?iso-8859-1?Q?8E4imSGAAUOe5AVH6Y+9O7ZTJ+NjnllIfd5bVL3WEEcz1dvMZc0hgFDsYx?= =?iso-8859-1?Q?gMWJNbW3QRMRiasL2m4iXYlnEZfJeWcniL+qIX9Qm0o+IimBUCSXg=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 0d9598cd-b021-4bc5-d148-08d916e6d3a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2021 14:44:49.7195 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: z6Hcvdxa7cHReMn9ep26JTwSFAXUlNukZw0h5nWdwh4amZQ++DFZ/uXGPn5yzMPTkJFusdodYzngYcRVqUt4DQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR0101MB2245 X-Rspamd-Queue-Id: 4FhWX9671Cz3sbH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=uoguelph.ca header.s=selector1 header.b=EcouFQUF; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=uoguelph.ca; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 2a01:111:f400:fe5c::616 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-5.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:111:f400:fe5c::616:from]; R_DKIM_ALLOW(-0.20)[uoguelph.ca:s=selector1]; FREEFALL_USER(0.00)[rmacklem]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2a01:111:f400:fe5c::616:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[uoguelph.ca:dkim]; DKIM_TRACE(0.00)[uoguelph.ca:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[uoguelph.ca,none]; NEURAL_HAM_SHORT(-1.00)[-0.998]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2021 14:45:02 -0000 Daniel Ebdrup Jensen wrote:=0A= >On Thu, May 13, 2021 at 11:02:35PM +0000, Rick Macklem wrote:=0A= >>Hi,=0A= >>=0A= >>I believe that NFSv4.1 and NFSv4.2 are now mature in freebsd-current/main= .=0A= >>I also believe that NFSv4.1/4.2 is a better protocol than NFSv4.0.=0A= >>(In particular, the sessions mechanism for "exactly once RPC semantics"= =0A= >> is a significant improvement over the duplicate request cache for NFSv4.= 0,=0A= >> plus other improvements.)=0A= >>=0A= >>Right now, the FreeBSD NFSv4 client will use NFSv4.0 unless the=0A= >>"minorversion" mount option is used to set the minor version to 1 or 2.= =0A= >>=0A= >>The Linux client uses the highest minor version supported by both=0A= >>client and server by default.=0A= >>I'd like to propose that the default behaviour of the FreeBSD client=0A= >>be changed to do the same, so that NFSv4.1/4.2 will be used when possible= .=0A= >>--> The "minorversion" mount option could still be used to override the= =0A= >> above default.=0A= >>=0A= >>I have hesitated doing this change because it could be considered a POLA= =0A= >>violation, but I think the change from 4.0->4.1/4.2 will normally be a=0A= >>neutral to positive experience. (To be honest, I suspect most won't notic= e=0A= >>the change.)=0A= >>=0A= >>How do others feel about this change?=0A= >>=0A= >>rick=0A= >>_______________________________________________=0A= >>freebsd-current@freebsd.org mailing list=0A= >>https://lists.freebsd.org/mailman/listinfo/freebsd-current=0A= >>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= =0A= >=0A= >Hi Rick,=0A= >=0A= > If I understand your plans correctly, you're not going to be making= =0A= > it so that minorversion=3DN complains?=0A= If by "complains" you mean "mount fails if the minor version is not support= ed=0A= by the server" then, yes, I am not planning on changing that.=0A= =0A= > In that case, I don't quite understand how it can be a POLA=0A= > violation, since presumably it'll fall back to NFSv4.0 if that's=0A= > the only thing that's supported by ntpd on some other system.=0A= The POLA violation is that, now, a mount without "minorversion" always=0A= uses NFSv4.0 and fails to mount if the server does not support NFSv4.0.=0A= =0A= > At any rate, I'm all for it since I'm already using NFSv4.2. :)=0A= Thanks for the input, rick=0A= =0A= Yours,=0A= Daniel Ebdrup Jensen=0A=