Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([216.205.24.194]:44735 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbdAXVVN (ORCPT ); Tue, 24 Jan 2017 16:21:13 -0500 From: Trond Myklebust To: "aglo@umich.edu" CC: "linux-nfs@vger.kernel.org" Subject: Re: handling error on RECLAIM_COMPLETE Date: Tue, 24 Jan 2017 21:21:07 +0000 Message-ID: <1485292865.12087.4.camel@primarydata.com> References: <35619FC0-AD46-4BBA-9F5B-9C89364BAF82@primarydata.com> <3EA4DDB3-6C9F-42E2-96BD-FF1AFD99ED09@primarydata.com> <52D13840-C715-4989-A8D8-DAD2F2EFE99A@primarydata.com> <1485292292.12087.2.camel@primarydata.com> In-Reply-To: <1485292292.12087.2.camel@primarydata.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVHVlLCAyMDE3LTAxLTI0IGF0IDE2OjExIC0wNTAwLCBUcm9uZCBNeWtsZWJ1c3Qgd3JvdGU6 DQo+IE9uIFR1ZSwgMjAxNy0wMS0yNCBhdCAxNTo0OCAtMDUwMCwgT2xnYSBLb3JuaWV2c2thaWEg d3JvdGU6DQo+ID4gT24gVHVlLCBKYW4gMjQsIDIwMTcgYXQgMzozNSBQTSwgVHJvbmQgTXlrbGVi dXN0DQo+ID4gPHRyb25kbXlAcHJpbWFyeWRhdGEuY29tPiB3cm90ZToNCj4gPiA+IA0KPiA+ID4g PiBPbiBKYW4gMjQsIDIwMTcsIGF0IDE0OjUwLCBPbGdhIEtvcm5pZXZza2FpYSA8YWdsb0B1bWlj aC5lZHU+DQo+ID4gPiA+IHdyb3RlOg0KPiA+ID4gPiANCj4gPiA+ID4gT24gVHVlLCBKYW4gMjQs IDIwMTcgYXQgMjo0NCBQTSwgVHJvbmQgTXlrbGVidXN0DQo+ID4gPiA+IDx0cm9uZG15QHByaW1h cnlkYXRhLmN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