Return-Path: Received: from mail-bn3nam01on0097.outbound.protection.outlook.com ([104.47.33.97]:10944 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727796AbeILDNu (ORCPT ); Tue, 11 Sep 2018 23:13:50 -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: Tue, 11 Sep 2018 22:12:26 +0000 Message-ID: <624981c3fe62c3df744f769d46dc9921cc2826ce.camel@hammerspace.com> References: <20180911213913.ABE8B322562@apps1.cs.toronto.edu> In-Reply-To: <20180911213913.ABE8B322562@apps1.cs.toronto.edu> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVHVlLCAyMDE4LTA5LTExIGF0IDE3OjM5IC0wNDAwLCBDaHJpcyBTaWViZW5tYW5uIHdyb3Rl Og0KPiA+IFRoaXMgaGFzIG5vdGhpbmcgdG8gZG8gd2l0aCBtb3VudCBvcHRpb25zLiBCdWZmZXJl ZCByZWFkcyBvZiBhIGZpbGUNCj4gPiB0aGF0IGlzIGJlaW5nIHdyaXR0ZW4gdG8gb3ZlciBORlMg d2l0aG91dCB1c2luZyBsb2NraW5nIGlzDQo+ID4gaW5oZXJlbnRseQ0KPiA+IHVuc2FmZS4gVGhh dCBhbHdheXMgaGFzIGJlZW4gdGhlIGNhc2UuLi4NCj4gPiANCj4gPiBCb3RoIHdyaXRlcyBhbmQg cmVhZHMgY2FuIGJlIHJlb3JkZXJlZCBieSB0aGUgUlBDIGxheWVyIG9uIGJvdGggdGhlDQo+ID4g Y2xpZW50IGFuZCB0aGUgc2VydmVyLCBhbmQgdGhleSBjYW4gYmUgZnVydGhlciByZW9yZGVyZWQg YnkgdGhlDQo+ID4gTkZTIGxheWVyIG9uIHRoZSBzZXJ2ZXIuIEluIHByYWN0aWNlL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