Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([216.205.24.194]:37002 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750989AbdAXVLt (ORCPT ); Tue, 24 Jan 2017 16:11:49 -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:11:34 +0000 Message-ID: <1485292292.12087.2.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> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVHVlLCAyMDE3LTAxLTI0IGF0IDE1OjQ4IC0wNTAwLCBPbGdhIEtvcm5pZXZza2FpYSB3cm90 ZToNCj4gT24gVHVlLCBKYW4gMjQsIDIwMTcgYXQgMzozNSBQTSwgVHJvbmQgTXlrbGVidXN0DQo+ IDx0cm9uZG15QHByaW1hcnlkYXRhLmNvbT4gd3JvdGU6DQo+ID4gDQo+ID4gPiBPbiBKYW4gMjQs IDIwMTcsIGF0IDE0OjUwLCBPbGdhIEtvcm5pZXZza2FpYSA8YWdsb0B1bWljaC5lZHU+DQo+ID4g PiB3cm90ZToNCj4gPiA+IA0KPiA+ID4gT24gVHVlLCBKYW4gMjQsIDIwMTcgYXQgMjo0NCBQTSwg VHJvbmQgTXlrbGVidXN0DQo+ID4gPiA8dHJvbmRteUBwcmltYXJ5ZGF0YS5jb20+IHdyb3RlOg0K PiA+ID4gPiANCj4gPiA+ID4gPiBPbiBKYW4gMjQsIDIwMTcsIGF0IDE0OjQwLCBPbGdhIEtvcm5p ZXZza2FpYSA8YWdsb0B1bWljaC5lZHU+DQo+ID4gPiA+ID4gd3JvdGU6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