From owner-freebsd-stable@freebsd.org Tue Dec 24 03:02:20 2019 Return-Path: Delivered-To: freebsd-stable@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 E547B1D9483 for ; Tue, 24 Dec 2019 03:02:20 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660087.outbound.protection.outlook.com [40.107.66.87]) (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 47hgxR5Wgfz4MPN for ; Tue, 24 Dec 2019 03:02:19 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=npMgOHJxx8k3oazY6690I7WYLKTvMVcwpDRvSPz1yceOiFHeaQkvl3ORwVNZlq47lfcgmpzBldkaiImwZ5TSjZD9+4ojX14sanG60tFP5FG0VKuRnwzwDpl9wf7Fw1baJMg9Hy+AQGPbf8LSfbGAT5s9VOOa3pSc7U84x2y6aFSdX9aoptjVh+NrGHPpYUFodAr4dsqCMXdEv+KpKSImr7Rw5dEQQSxv2hW6NBQMdsrBEH8QApdyH5ymwAljUPkUyrrLXhUhBL0LwOJoS+InrCo9LBb9Sqy2N1g8A4bvRBVtaoxBJyt/zhdyeXkI75RaPr2rjfe/gEpMVyL8czB4uQ== 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=xdtP6UZq6AZh4rsLh0vNhPWxqrl7m3JcrFfBYJlGa1U=; b=AWLHBvwMt75ouAyzUfKN6enrtuUPhoJWVPnlbMddjzf4Dh7JjK/GVlDbuELPEbQLQR3se3f7xKwKDo/9Y0QHnjYbzr5e2w9neJ8KURtmmGMCyUZFKNfbZHgZnxBsKd/4vMkclG7nO2WcrXMR6CbjE6qRgn8GsmzFvANJB1PyFHdLH0IwkqFWrFbomW1OPF3xwICTkMb5MVvVvp0aJvKZ6PhldfEr65lOIUsTdFq4EVe7t7sr7ZcYVhq4a5xpDqQJUhuLv/gfFlw/mfFW/OYN7rUi97OX8lEGFing5tx6NlOPUqeQ3WjTfN7EuCUOX4ON4XRWd+L4SrvnPJj2WSt4Rw== 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 YQBPR0101MB0707.CANPRD01.PROD.OUTLOOK.COM (52.132.73.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.13; Tue, 24 Dec 2019 03:02:17 +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.2538.023; Tue, 24 Dec 2019 03:02:17 +0000 From: Rick Macklem To: Richard P Mackerras , Adam McDougall CC: "freebsd-stable@freebsd.org" Subject: Re: nfs lockd errors after NetApp software upgrade. Thread-Topic: nfs lockd errors after NetApp software upgrade. Thread-Index: AQHVtawq+ga5QLcdVkqBDG/GW9zFg6e/+Am+gAARTACAAANHAIAAi7Y3gACf34CAAEVO6IAABk4AgADWGACAAO1eZYAA7uGAgACmPw2AANdsAIAAsCi6gAF3uACAAC25gIAAlUcY Date: Tue, 24 Dec 2019 03:02:17 +0000 Message-ID: References: <0121E289-D2AE-44BA-ADAC-4814CAEE676F@cs.huji.ac.il> <854B6E5A-C6BC-44B3-A656-FC9B8EF19881@cs.huji.ac.il> <8770BD0D-4B72-431A-B4F5-A29D4DBA03B1@cs.huji.ac.il> <8A78F67B-C244-45CF-B9BF-D7062669B33B@cs.huji.ac.il> , In-Reply-To: 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: 792a707e-385b-4897-8f6d-08d7881daf9f x-ms-traffictypediagnostic: YQBPR0101MB0707: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0261CCEEDF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(39860400002)(136003)(346002)(366004)(199004)(189003)(54094003)(66556008)(64756008)(81156014)(81166006)(7696005)(2906002)(8936002)(33656002)(86362001)(4326008)(52536014)(66446008)(66476007)(66946007)(8676002)(5660300002)(76116006)(71200400001)(110136005)(55016002)(6506007)(9686003)(316002)(478600001)(966005)(26005)(786003)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB0707; 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: 5WrSspnVaQgxX5qiB9+eKMvjJO2Pd7cOOlg6DA13ORS12bSZs31cl4yfCDGD8k+nuIc2uCjlSxkiYLNpRAALc5ZxFG4OIeGcpyXLSekQkvj3w1dNIlyCF9jlVMoms0hywR8KqqUEBe1L7gl0wmiZEtebjkvtRzcukIOLxnRYdiEC7pGpBwx3/avdsENPuOVGdhQ97ZYZ3cg2aVGurJDKXnTkQFWyhA7hUWVQNY1XzgVVibbg9Rv8aUtP5rzsjFgsKQNqDIYdg/QLsVgZUElJ591qzQaUt7Lb3r/u8OlIRBgf1pJO0cPT9/34uon7cmI7P4+1qcsWBcWXQ2/2FadJcmr1aPfOrnLejWbpujVzbCID5PMp9xyzVjrd97o5nkXopfw1okrsde3gvjhC/8YfeWDIelkfmKZNkOMETFHOUaeQ3XxWhEtSGo6OnLRnumzNzyvYfdg9qOTAZ4im/NIJ23M3u+nzye8CWkv5XEIjlxSuXKAPlN1WLnYBMcwJeY9K3C0TiWkWvIA8rdHnbODmBB0Qtf+Q/WerBgNlc7e324k= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 792a707e-385b-4897-8f6d-08d7881daf9f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Dec 2019 03:02:17.7373 (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: 7szHPYE0aBXIHyfh0J5w6IUZh9GbJFcR1l/nL2GhtQZeLDo7CJb01WmUdg4PbZV0VKKWca236r8NnYVeiD535w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB0707 X-Rspamd-Queue-Id: 47hgxR5Wgfz4MPN 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.87 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-4.66 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[uoguelph.ca]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[87.66.107.40.list.dnswl.org : 127.0.3.0]; IP_SCORE(-1.36)[ipnet: 40.64.0.0/10(-3.83), asn: 8075(-2.93), country: US(-0.05)]; FREEMAIL_TO(0.00)[gmail.com]; 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-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2019 03:02:21 -0000 Richard P Mackerras wrote:=0A= >Hi,=0A= >=0A= >We had some bully type workloads emerge when we moved a lot of block=0A= >storage from old XIV to new all flash 3PAR. I wonder if your IMAP issue=0A= >might have emerged just because suddenly there was the opportunity with al= l=0A= >flash. QOS is good on 9.x ONTAP. If anyone says it=92s not then they last= =0A= >looked on 8.x. So I suggest you QOS the IMAP workload.=0A= >=0A= > Nobody should be using UDP with NFS unless they have a very specific set= =0A= >of circumstances. TCP was a real step forward.=0A= Well, I can't argue with this, considering I did the first working implemen= tation=0A= of NFS over TCP. It was actually Mike Karels that suggested I try doing so,= =0A= There's a paper in a very old Usenix Conference Proceedings, but it is so o= ld=0A= that it isn't on the Usenix web page (around 1988 in Denver, if I recall). = I don't=0A= even have a copy myself, although I was the author.=0A= =0A= Now, having said that, I must note that the Network Lock Manager (NLM) and= =0A= Network Status Monitor (NSM) were not NFS. They were separate stateful=0A= protocols (poorly designed imho) that Sun never published.=0A= =0A= NFS as Sun designed it (NFSv2 and NFSv3) were "stateless server" protocols,= =0A= so that they could work reliably without server crash recovery.=0A= However, the NLM was inherently stateful, since it was dealing with file lo= cks.=0A= =0A= So, you can't really lump the NLM with NFS (and you should avoid use of the= =0A= NLM over any transport imho).=0A= =0A= NFSv4 tackled the difficult problem of having a "stateful server" and crash= recovery,=0A= which resulted in a much more complex protocol (compare the size of RFC-181= 3=0A= vs RFC-5661 to get some idea of this).=0A= =0A= rick=0A= =0A= Cheers=0A= =0A= Richard=0A= _______________________________________________=0A= freebsd-stable@freebsd.org mailing list=0A= https://lists.freebsd.org/mailman/listinfo/freebsd-stable=0A= To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"= =0A=