From owner-freebsd-stable@freebsd.org Sat Mar 3 02:01:19 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29CD8F37150 for ; Sat, 3 Mar 2018 02:01:19 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660045.outbound.protection.outlook.com [40.107.66.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9FFE86307 for ; Sat, 3 Mar 2018 02:01:18 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM (52.132.66.153) by YQBPR0101MB1553.CANPRD01.PROD.OUTLOOK.COM (52.132.69.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.548.13; Sat, 3 Mar 2018 02:01:17 +0000 Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::3531:c817:d6f:9b93]) by YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::3531:c817:d6f:9b93%13]) with mapi id 15.20.0548.014; Sat, 3 Mar 2018 02:01:17 +0000 From: Rick Macklem To: NAGY Andreas , "freebsd-stable@freebsd.org" Subject: =?iso-8859-1?Q?Re:_NFS_4.1_RECLAIM=5FCOMPLETE_FS=A0failed_error_in_combin?= =?iso-8859-1?Q?ation_with_ESXi_client?= Thread-Topic: =?iso-8859-1?Q?NFS_4.1_RECLAIM=5FCOMPLETE_FS=A0failed_error_in_combinatio?= =?iso-8859-1?Q?n_with_ESXi_client?= Thread-Index: AdOx8zAe5+TceuOWQkax+IhJZhNDgQAnzopH Date: Sat, 3 Mar 2018 02:01:17 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQBPR0101MB1553; 7:aZjTG8JmCS0hK6JV+EB8Zu6R7TYFTdgqVKPJAwJHGQ8/TCbOwFgKwV+0PSmojPiffA0wd4d5jQpnbz2NiDDNGFDON7SwGhPkWZKqJVPPewirpaxqBopJHwslw3FBYIC5LTrpg01KP0YKUIEA4vFKawvjAmUoxAcmiH0W5dKl8EpOZTh95fepGJwcdMWQxXt3gyBR6D+BBzLYgAj0Y+k8k7VBk3sK++srlPUi4ZcjSsk3WJBqLUWdd4DlFo9aAJ0U x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: ccbbc149-abf7-42a4-212b-08d580aaa6a6 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989060)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603307)(7153060)(49563074)(7193020); SRVR:YQBPR0101MB1553; x-ms-traffictypediagnostic: YQBPR0101MB1553: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415395)(6040501)(2401047)(8121501046)(5005006)(10201501046)(3231220)(944501244)(52105095)(93006095)(93001095)(3002001)(6041288)(20161123558120)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:YQBPR0101MB1553; BCL:0; PCL:0; RULEID:; SRVR:YQBPR0101MB1553; x-forefront-prvs: 0600F93FE1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(39380400002)(376002)(396003)(346002)(199004)(189003)(97736004)(6246003)(76176011)(5660300001)(74316002)(25786009)(81166006)(81156014)(305945005)(26005)(2900100001)(229853002)(68736007)(33656002)(110136005)(7696005)(106356001)(99936001)(74482002)(105586002)(8936002)(6436002)(2501003)(478600001)(186003)(53936002)(6506007)(3280700002)(55016002)(3660700001)(9686003)(86362001)(99286004)(2906002)(14454004)(5250100002)(2950100002)(786003)(102836004)(316002)(5890100001); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB1553; H:YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: a0/XZoN68dIsNxEy/GlQGe6iqLMlAvHe+112p+snsz2OrWjGVC6YTFwXDDEVTQBD1PXQEetVaKscHFtu6SywSas+QjUZJf/PGNdhP0sTCinmDFXAcgspfSxqlXxzl3bBo9dadeVFa9+RJvvMTeW++lu/b4ZlVl3eVgiOdq4zT9I= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/mixed; boundary="_002_YQBPR0101MB1042DEF0825996764CBCA829DDC40YQBPR0101MB1042_" MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: ccbbc149-abf7-42a4-212b-08d580aaa6a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 02:01:17.0869 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB1553 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2018 02:01:19 -0000 --_002_YQBPR0101MB1042DEF0825996764CBCA829DDC40YQBPR0101MB1042_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable NAGY Andreas wrote: >I am trying to get a FreeBSD NFS 4.1 export working with VMware Esxi 6.5u1= , but >it is always mounted as read only. > >After some research, I found out that this is a known problem, and there a= re >threads about this from 2015 also in the mailinglist archive. > >As it seems VMware will not change the bahvior of there NFS 4.1 client I w= anted >to ask here if there is a patch or workaround for this available. I believe the attached small patch deals with the ReclaimComplete issue. However, someone else who tested this had additional issues with the mount: - The client logged a couple of things (that sounded weird to me;-) - Something about Readdir seeing directories change too much.. - Something about "wrong reason for not issuing a delegation"... (I don't what either of these are caused by or whether they result in seri= ous breakage of the mount.) They also ran into a hang when transferring a large file. It sounded to me = like something that might be a network interface device driver issue and I sugge= sted they disable TSO, LRO and jumbo frames, but I never heard back from them, so I don't know more about this. So, feel free to test with the attached patch and if you run into problems with the mount, email w.r.t. what they are. If we persevere we might get it going ok. rick [stuff snipped]= --_002_YQBPR0101MB1042DEF0825996764CBCA829DDC40YQBPR0101MB1042_ Content-Type: application/octet-stream; name="reclaimcom2.patch" Content-Description: reclaimcom2.patch Content-Disposition: attachment; filename="reclaimcom2.patch"; size=526; creation-date="Sat, 03 Mar 2018 02:01:05 GMT"; modification-date="Sat, 03 Mar 2018 02:01:05 GMT" Content-Transfer-Encoding: base64 LS0tIGZzL25mc3NlcnZlci9uZnNfbmZzZHNlcnYuYy5zYXZyZWNsCTIwMTgtMDItMTAgMjA6MzQ6 MzEuMTY2NDQ1MDAwIC0wNTAwCisrKyBmcy9uZnNzZXJ2ZXIvbmZzX25mc2RzZXJ2LmMJMjAxOC0w Mi0xMCAyMDozNjowNy45NDc0OTAwMDAgLTA1MDAKQEAgLTQyMjYsMTAgKzQyMjYsOSBAQCBuZnNy dmRfcmVjbGFpbWNvbXBsZXRlKHN0cnVjdCBuZnNydl9kZXNjCiAJCWdvdG8gbmZzbW91dDsKIAl9 CiAJTkZTTV9ESVNTRUNUKHRsLCB1aW50MzJfdCAqLCBORlNYX1VOU0lHTkVEKTsKKwluZC0+bmRf cmVwc3RhdCA9IG5mc3J2X2NoZWNrcmVjbGFpbWNvbXBsZXRlKG5kKTsKIAlpZiAoKnRsID09IG5l d25mc190cnVlKQotCQluZC0+bmRfcmVwc3RhdCA9IE5GU0VSUl9OT1RTVVBQOwotCWVsc2UKLQkJ bmQtPm5kX3JlcHN0YXQgPSBuZnNydl9jaGVja3JlY2xhaW1jb21wbGV0ZShuZCk7CisJCW5kLT5u ZF9yZXBzdGF0ID0gMDsKIG5mc21vdXQ6CiAJTkZTRVhJVENPREUyKGVycm9yLCBuZCk7CiAJcmV0 dXJuIChlcnJvcik7Cg== --_002_YQBPR0101MB1042DEF0825996764CBCA829DDC40YQBPR0101MB1042_--