From owner-freebsd-stable@freebsd.org Fri Mar 9 01:19:00 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 8757CF43EFB for ; Fri, 9 Mar 2018 01:19:00 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660042.outbound.protection.outlook.com [40.107.66.42]) (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 10D207B33A for ; Fri, 9 Mar 2018 01:18:59 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM (52.132.66.153) by YQBPR0101MB0836.CANPRD01.PROD.OUTLOOK.COM (52.132.65.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Fri, 9 Mar 2018 01:18:58 +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.0567.012; Fri, 9 Mar 2018 01:18:58 +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+IhJZhNDgQAnzopHABn27/AAIBzCQgAP8SUgAAmzYWAADy6jKgAZTvpAABQ08bcAKLRnLwArPwd4AAPK4ZAAFJa1tQAZS9wAABYVQqI= Date: Fri, 9 Mar 2018 01:18:58 +0000 Message-ID: References: , , , , , <2feda1e2-16d5-43b5-98eb-dcc71cc67c6f@frequentis.com> , , 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; YQBPR0101MB0836; 7:0DNq6YsteiANYeMLWbbg2HWf530bF1LcQiMIzQLdS8peAfn15jv6qcb9pQ/ipDqRa/jjbUTQadpAZv9bZI+RNCFfpRSufYeNYiUzQ2L6nRlvzpST4sCcl6mYyJaL8CBkbTrE5ADIk1hCGUql3Mf+T/4nyBo59zriCTOCEJ03nm0i8W8clj3vog/8RBS/vNzRJXDhgBPLBLr0C+SEVn0XpiqseechPb+dDKP2T1slsWok3ThT5LOW6ZuTdAHLyP6P x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: f223d4ab-12b7-4be8-3fc3-08d5855bbc19 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989060)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(49563074)(7193020); SRVR:YQBPR0101MB0836; x-ms-traffictypediagnostic: YQBPR0101MB0836: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415395)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231220)(944501244)(52105095)(6041310)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:YQBPR0101MB0836; BCL:0; PCL:0; RULEID:; SRVR:YQBPR0101MB0836; x-forefront-prvs: 0606BBEB39 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(366004)(346002)(396003)(39380400002)(189003)(199004)(5890100001)(86362001)(3280700002)(68736007)(2950100002)(59450400001)(786003)(25786009)(316002)(6436002)(74482002)(8936002)(9686003)(93886005)(6506007)(102836004)(186003)(55016002)(26005)(478600001)(229853002)(5250100002)(5660300001)(97736004)(2906002)(2900100001)(14454004)(99936001)(106356001)(76176011)(305945005)(33656002)(74316002)(81166006)(53936002)(6246003)(110136005)(99286004)(105586002)(81156014)(3660700001)(7696005)(491001); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB0836; H:YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: U7EN8ZKO8Q/U7zHntswwRkZncq993v1DHvfsCF66ZV+gRFwQWv175jx4c1w028UDGEbVnxZOrWl+nx5wY9wKDtHmFV0DNXJC9iBtevMypLQUZYPR3fPpmRwysaN0/tTnSrF+IyndX30j71szpcj64kNjEMUsN2OoN7o+9SPBhoxZBSpHipJYoMoUpKfzG1CMRipNTUO9PxemFuU4f/yOLEzl00sbs8RlRLLd8Mq6Ru7pGGAAD9cBsdB/VJG4jvHY0BTR+uYMiHVtowKO9SsSWcvdf61tPyoE03wLZTL9YY+Y9JLLKenky8CMi7BTxcPl3LpPmpq2WcKEpPd90Xek1A== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/mixed; boundary="_002_YQBPR0101MB104272F35F3BBD095BAE61E8DDDE0YQBPR0101MB1042_" MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: f223d4ab-12b7-4be8-3fc3-08d5855bbc19 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2018 01:18:58.5988 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB0836 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: Fri, 09 Mar 2018 01:19:00 -0000 --_002_YQBPR0101MB104272F35F3BBD095BAE61E8DDDE0YQBPR0101MB1042_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable NAGY Andreas wrote: >Actually I have only made some quick benchmarks with ATTO in a Windows VM = >which has a vmdk on the NFS41 datastore which is mounted over two 1GB link= s in >different subnets. >Read is nearly the double of just a single connection and write is just a = bit faster. >Don't know if write speed could be improved, actually the shar= e is UFS on a HW >raid controller which has local write speeds about 500MB/= s. I took a quick look at your packet trace and it appears that this client does all write FILESYNC. As such, setting vfs.nfsd.async=3D1 won't have any= affect. If you apply the attached patch, it should change the FILESYNC->UNSTABLE so that vfs.nfsd.async=3D1 will make a difference. Again, doing this does put = data at risk when the server crashes. rick --_002_YQBPR0101MB104272F35F3BBD095BAE61E8DDDE0YQBPR0101MB1042_ Content-Type: application/octet-stream; name="writeasync.patch" Content-Description: writeasync.patch Content-Disposition: attachment; filename="writeasync.patch"; size=739; creation-date="Fri, 09 Mar 2018 01:18:51 GMT"; modification-date="Fri, 09 Mar 2018 01:18:51 GMT" Content-Transfer-Encoding: base64 LS0tIGZzL25mc3NlcnZlci9uZnNfbmZzZHNlcnYuYy5zYXYyCTIwMTgtMDMtMDggMjA6NDQ6NDMu MTYzMDgwMDAwIC0wNTAwCisrKyBmcy9uZnNzZXJ2ZXIvbmZzX25mc2RzZXJ2LmMJMjAxOC0wMy0w OCAyMDo1NDo1MC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