Return-Path: Received: from mail-sn1nam01on0097.outbound.protection.outlook.com ([104.47.32.97]:10464 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388006AbeGTTdh (ORCPT ); Fri, 20 Jul 2018 15:33:37 -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:43:11 +0000 Message-ID: <8a5c7929db33580dfe70beaff423c75f0db6a253.camel@hammerspace.com> 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: T24gRnJpLCAyMDE4LTA3LTIwIGF0IDE0OjE3IC0wNDAwLCBPbGdhIEtvcm5pZXZza2FpYSB3cm90 ZToNCj4gT24gRnJpLCBKdWwgMjAsIDIwMTggYXQgMjowNSBQTSwgVHJvbmQgTXlrbGVidXN0DQo+ IDx0cm9uZG15QGhhbW1lcnNwYWNlLmNvbT4gd3JvdGU6DQo+ID4gT24gRnJpLCAyMDE4LTA3LTIw IGF0IDEzOjI2IC0wNDAwLCBPbGdhIEtvcm5pZXZza2FpYSB3cm90ZToNCj4gPiA+IEhpIFRyb25k LA0KPiA+ID4gDQo+ID4gPiBJIHdvdWxkIHNvbWUgaGVscCB1bmRlcnN0YW5kaW5nIGF0dHJpYnV0 ZXMgbWFuYWdlbWVudC4NCj4gPiA+IA0KPiA+ID4gUmlnaHQgbm93LCBhbnkgdGltZSBhIGRpcmVj dG9yeSBpbm9kZSB0aGF0IHdhcyBtYXJrZWQgd2l0aA0KPiA+ID4gSU5WQUxJRF9BQ0NFU1MgKHNh eSB0byBhIGNoYW5nZV9hdHRyaWJ1dGUgY2hhbmdlZCkgZW5kcyB1cA0KPiA+ID4gdHJpZ2dlcmlu Zw0KPiA+ID4gc2VuZGluZyBhIGR1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