Return-Path: Received: from mx143.netapp.com ([216.240.21.24]:5685 "EHLO mx143.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbeHPV5X (ORCPT ); Thu, 16 Aug 2018 17:57:23 -0400 From: "Schumaker, Anna" To: "trond.myklebust@hammerspace.com" , "Bill.Baker@Oracle.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH v2] NFSv4 client live hangs after live data migration recovery Date: Thu, 16 Aug 2018 18:57:08 +0000 Message-ID: References: <1529443498-24846-1-git-send-email-bill.baker@oracle.com> <0b76bdfc-7712-2c20-2d43-7ddd5406e057@Oracle.com> In-Reply-To: <0b76bdfc-7712-2c20-2d43-7ddd5406e057@Oracle.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDE4LTA4LTE2IGF0IDEwOjU5IC0wNTAwLCBCaWxsIEJha2VyIHdyb3RlOg0KPiBI aSwgVHJvbmQsIGV0IGFsLA0KDQpIaSBCaWxsLA0KDQo+IA0KPiBIYXZlIHlvdSBoYWQgYSBjaGFu Y2UgdG8gbG9vayBhdCB0aGlzIHBhdGNoPyAgSSdkIGxpa2UgdG8gZ2V0IHNvbWUNCj4gZmVlZGJh Y2sgKG9yIGFjY2VwdGFuY2UgaW50byB0aGUgbmV4dCBtZXJnZSB3aW5kb3cpLiAgQXMgaXQgc3Rh bmRzDQo+IG5vdywgdGhlIGxpdmUgZGF0YSBtaWdyYXRpb24gZmVhdHVyZSBpcyBjb21wbGV0ZWx5 IGJyb2tlbiBpbiB0aGUNCj4gTkZTdjQgY2xpZW50IGluIHRoZSBjdXJyZW50IHVwc3RyZWFtIGtl cm5lbC4NCg0KSSBoYXZlIHRoaXMgcGF0Y2ggcXVldWVkIHVwIGluIG15IGxpbnV4LW5leHQgYnJh bmNoIGZvciA0LjE5DQoNClRoYW5rcyBmb3IgY2hlY2tpbmchDQpBbm5hDQoNCj4gDQo+IFR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