Return-Path: Received: from mail-dm3nam03on0124.outbound.protection.outlook.com ([104.47.41.124]:17604 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388244AbeGTTge (ORCPT ); Fri, 20 Jul 2018 15:36:34 -0400 From: Trond Myklebust To: "aglo@umich.edu" CC: "linux-nfs@vger.kernel.org" Subject: Re: sending duplicate GETATTRs Date: Fri, 20 Jul 2018 18:46:55 +0000 Message-ID: References: <7cccfa69267c44dbb629b154ee942df8280875bc.camel@hammerspace.com> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gRnJpLCAyMDE4LTA3LTIwIGF0IDE0OjQwIC0wNDAwLCBPbGdhIEtvcm5pZXZza2FpYSB3cm90 ZToNCj4gT24gRnJpLCBKdWwgMjAsIDIwMTggYXQgMjoxNyBQTSwgT2xnYSBLb3JuaWV2c2thaWEg PGFnbG9AdW1pY2guZWR1Pg0KPiB3cm90ZToNCj4gPiBPbiBGcmksIEp1bCAyMCwgMjAxOCBhdCAy OjA1IFBNLCBUcm9uZCBNeWtsZWJ1c3QNCj4gPiA8dHJvbmRteUBoYW1tZXJzcGFjZS5jb20+IHdy b3RlOg0KPiA+ID4gT24gRnJpLCAyMDE4LTA3LTIwIGF0IDEzOjI2IC0wNDAwLCBPbGdhIEtvcm5p ZXZza2FpYSB3cm90ZToNCj4gPiA+ID4gSGkgVHJvbmQsDQo+ID4gPiA+IA0KPiA+ID4gPiBJIHdv dWxkIHNvbWUgaGVscCB1bmRlcnN0YW5kaW5nIGF0dHJpYnV0ZXMgbWFuYWdlbWVudC4NCj4gPiA+ ID4gDQo+ID4gPiA+IFJpZ2h0IG5vdywgYW55IHRpbWUgYSBkaXJlY3RvcnkgaW5vZGUgdGhhdCB3 YXMgbWFya2VkIHdpdGgNCj4gPiA+ID4gSU5WQUxJRF9BQ0NFU1MgKHNheSB0byBhIGNoY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