Return-Path: Received: from mail-eopbgr700135.outbound.protection.outlook.com ([40.107.70.135]:40861 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733128AbeGTSzN (ORCPT ); Fri, 20 Jul 2018 14:55:13 -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:05:46 +0000 Message-ID: <7cccfa69267c44dbb629b154ee942df8280875bc.camel@hammerspace.com> References: In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gRnJpLCAyMDE4LTA3LTIwIGF0IDEzOjI2IC0wNDAwLCBPbGdhIEtvcm5pZXZza2FpYSB3cm90 ZToNCj4gSGkgVHJvbmQsDQo+IA0KPiBJIHdvdWxkIHNvbWUgaGVscCB1bmRlcnN0YW5kaW5nIGF0 dHJpYnV0ZXMgbWFuYWdlbWVudC4NCj4gDQo+IFJpZ2h0IG5vdywgYW55IHRpbWUgYSBkaXJlY3Rv cnkgaW5vZGUgdGhhdCB3YXMgbWFya2VkIHdpdGgNCj4gSU5WQUxJRF9BQ0NFU1MgKHNheSB0byBh IGNoYW5nZV9hdHRyaWJ1dGUgY2hhbmdlZCkgZW5kcyB1cCB0cmlnZ2VyaW5nDQo+IHNlbmRpbmcg YSBkdXBsaWNhdGUgR0VUQVRUUi4gSSBkb24ndCB0aGluayB0aGF0J3MgY29ycmVjdC4NCj4gDQo+ IEluIG5mc19leGVjdXRlX29rKCkgd2UgY2hlY2sgaWYgKG5mc19jaGVja19jYWNoZV9pbnZhbGlk KGlub2RlLA0KPiBORlNfSU5PX0lOVkFMSURfQUNDRVNTKSkgYW5kIHRoZSBjYWxsIF9fbmZzX3Jl dmFsaWRhdGVfaW5vZGUoKSB3aGljaA0KPiB3aWxsIHRyaWdnZXIgR0VUQVRUUi4gSSBkb24ndC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