From owner-freebsd-current@freebsd.org Mon Nov 25 15:15:35 2019 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 079961AFCDD for ; Mon, 25 Nov 2019 15:15:35 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660069.outbound.protection.outlook.com [40.107.66.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47M9Zs1LXTz4XJP for ; Mon, 25 Nov 2019 15:15:32 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tl7aiM1DNBOxf5j8x/am0ilghibUfcAQt23gJVzvdvdhpW5hRsFcVw5JZFkrNuh2w5nGGKPtmgVVr6BPu/JljElr5Q3hET47YveMWB8mc2r3FZC6KW3S2S9vcxIcYqbub/gp0ZeED8oIqw0JNGAEGTyH5D+14UkY3exIdkTVDWIITI7KQaq4iKcbgm5WOYhmE841BircFsmIFa+e2Mpexbs05o1EZXapIQvP2D/QIe0EA1gUso/NzNerQ80rF7Ei6UrEmEsLnLfOp3YA+a4ovM97dHfg0znI+4Kh9zfoqyZoe9SJKTkV2kZQtGLUzLOBy5NzqJss/s8nSbxwHN4n2g== 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=b2Xqayar/ILZrdEmfTk8YQYpSELgqTP5ekCGKdvWqlM=; b=T8FCED5lnORvCgJdCpU6MvcyyqA6nAwKaMCIEe3uMkRs0oZVpACiF0vI0RYlwnDnOEXeH81I5dV24T3CkZLMXK+lqLtAU7kyzgfigp4aI2gL6fAOryYkESSV6Fqulj88NyY+UUllpXTcUovcwpBsIGjTKIzPa+h/W4zBD8Db0dlcjYR7WQn5hTnZZSCsyGWvoAwMOl0Ewhyj82v/Uk7Dx1+KJ9mdkfbBaUSQGSddr5/M95k7CzJqrOMNKnGax6U6XI51boRrUrXHdS631basFzInTI+zIhspZHC9qj3kWp3x5oVDEawzAN7M6rIGO+HXgL74iFpkbtzmTnNi7KKbzQ== 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 Received: from YQBPR0101MB1427.CANPRD01.PROD.OUTLOOK.COM (52.132.69.153) by YQBPR0101MB1284.CANPRD01.PROD.OUTLOOK.COM (52.132.71.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.22; Mon, 25 Nov 2019 15:15:29 +0000 Received: from YQBPR0101MB1427.CANPRD01.PROD.OUTLOOK.COM ([fe80::9504:a50d:ee12:b75]) by YQBPR0101MB1427.CANPRD01.PROD.OUTLOOK.COM ([fe80::9504:a50d:ee12:b75%5]) with mapi id 15.20.2474.023; Mon, 25 Nov 2019 15:15:29 +0000 From: Rick Macklem To: "freebsd-current@FreeBSD.org" Subject: merge of NFSv4.2 support into head/current Thread-Topic: merge of NFSv4.2 support into head/current Thread-Index: AQHVo6GRwVWVdgDktki1lUrbSQEWpg== Date: Mon, 25 Nov 2019 15:15:29 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:569:fac0:e900:b4af:a03b:7354:e4d6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f7232f0a-a3c4-451b-60eb-08d771ba4ee9 x-ms-traffictypediagnostic: YQBPR0101MB1284: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0232B30BBC x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(346002)(136003)(396003)(366004)(199004)(189003)(5660300002)(2501003)(46003)(186003)(99286004)(7736002)(6116002)(8676002)(55016002)(33656002)(305945005)(81166006)(316002)(8936002)(786003)(25786009)(5640700003)(256004)(7696005)(478600001)(6436002)(14454004)(2351001)(71200400001)(71190400001)(74316002)(81156014)(6916009)(9686003)(6506007)(86362001)(64756008)(102836004)(66446008)(66556008)(52536014)(66946007)(66476007)(2906002)(76116006); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB1284; H:YQBPR0101MB1427.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fGcFPVBJ0/h3tLjSCbqEFNOiypHroZqJLWNN4fBc0J985Ux9JE57iSVesm1iYpNv/og3l1zLxhp4GBN0CznO9eTpCPhDAcRhCXyt2mhS2+q0p2+n15+A6n5IWo4W0371sHTOc3daw9WJCEtgM7vB0anA+m26C53m4A9TqyOqvcEzMBBYh3gA3Sq+sJt4FFfEnyRdxoIhvhUXZHX6czUqqdR3dmJxrZ0OkQmQTjSLApM5I6sT72ct0ioDwNxHIf7rwyrgorni1eU3dK3ffExIA5WPydUIZhGmSlO2vOZEtQLNVFpzQ41ZzqBRDimRWBY76JptuERgy3Q4sYHXJv1LR0dQav0sDviV5jgfOU8dYxSNBREhCJVd27tNoaDmia5aa1AhRl8JJQFii9AcC0H8PJF7LoCsGRU8MoFTroV/i4p2GHoKYGEfxJ17l5JG0VoA 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-Network-Message-Id: f7232f0a-a3c4-451b-60eb-08d771ba4ee9 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Nov 2019 15:15:29.7368 (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: goA+vTkpAumGQRRD1RYevkZpFxGbz4xCulJO+UjyvWyWYBQJjraqI4rSqD0Ov+z2uekZPIKCzbdJGHx3ouRncA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB1284 X-Rspamd-Queue-Id: 47M9Zs1LXTz4XJP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.66.69 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-4.65 / 15.00]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[uoguelph.ca]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.35)[ipnet: 40.64.0.0/10(-3.85), asn: 8075(-2.83), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[69.66.107.40.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; ARC_ALLOW(-1.00)[i=1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 25 Nov 2019 15:15:35 -0000 Hi,=0A= =0A= I have completed development and a testing cycle for the NFSv4.2 (RFC-7862)= =0A= code in base/projects/nfsv42 on subversion.=0A= =0A= NFSv4.2 is a minor revision to NFSv4.1 and adds support for the following o= ptional=0A= features:=0A= - lseek(SEEK_DATA/SEEK_HOLE)=0A= - posix_fallocate()=0A= - posix_fadvise(POSIX_FADV_WILLNEED/POSIX_FADV_DONTNEED)=0A= - Server side copy of byte ranges between two files on the same NFS mount= =0A= point when the copy_file_range(2) syscall is used.=0A= - Extended attribute support as specified by RFC-8276.=0A= (There are some other optional features, but I do not intend to implement t= hose=0A= at this time.)=0A= =0A= Although this patch is fairly large, it should not affect the other version= s of=0A= NFS.=0A= =0A= If anyone would like to do testing of it now, all you need is a fairly curr= ent=0A= FreeBSD-current system, with the kernel replaced by one built from the=0A= sources found in the above projects area. (And then you specify "minorversi= on=3D2"=0A= as a mount option.=0A= =0A= If anyone sees a problem with merging this code into head/current over=0A= the next few weeks, please let me know.=0A= =0A= Thanks, rick=0A= =0A=