Return-Path: Received: from mail-bn3nam01on0130.outbound.protection.outlook.com ([104.47.33.130]:28109 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726428AbeILWQ4 (ORCPT ); Wed, 12 Sep 2018 18:16:56 -0400 From: Trond Myklebust To: "cks@cs.toronto.edu" CC: "linux-nfs@vger.kernel.org" , "chuck.lever@oracle.com" Subject: Re: A NFS client partial file corruption problem in recent/current kernels Date: Wed, 12 Sep 2018 17:11:24 +0000 Message-ID: <901bb9f08b4a675cb8c20b4dff5c405995e4f894.camel@hammerspace.com> References: <20180912030300.696D4322562@apps1.cs.toronto.edu> In-Reply-To: <20180912030300.696D4322562@apps1.cs.toronto.edu> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVHVlLCAyMDE4LTA5LTExIGF0IDIzOjAzIC0wNDAwLCBDaHJpcyBTaWViZW5tYW5uIHdyb3Rl Og0KPiA+ID4gIElmIGEgY2xpZW50IGtlcm5lbCBoYXMgY2FjaGVkIHBhZ2VzIHRoaXMgd2F5LCBp cyB0aGVyZSBhbnkNCj4gPiA+IHNpbXBsZQ0KPiA+ID4gc2VxdWVuY2Ugb2Ygc3lzdGVtIGNhbGxz IG9uIHRoZSBjbGllbnQgdGhhdCB3aWxsIGNhdXNlIGl0IHRvDQo+ID4gPiBkaXNjYXJkDQo+ID4g PiB0aGVzZSBjYWNoZWQgcGFnZXM/IE9yIGRvIHlvdSBuZWVkIHRoZSBmaWxlJ3MgR0VUQVRUUiB0 byBjaGFuZ2UNCj4gPiA+IGFnYWluLA0KPiA+ID4gaW1wbGljaXRseSBmcm9tIGFub3RoZXIgbWFj aGluZT8gKEkgYXNzdW1lIHRoYXQgY2hhbmdpbmcgdGhlDQo+ID4gPiBmaWxlJ3MNCj4gPiA+IGF0 dHJpYnV0ZXMgZnJvbSB0aGUgY2xpZW50IHdpdGggdGhlIGNhY2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