Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([63.128.21.194]:29566 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751280AbcETVSK (ORCPT ); Fri, 20 May 2016 17:18:10 -0400 From: Thomas Haynes To: Olga Kornievskaia CC: Mailing List Linux NFS Subject: Re: questions about open state recovery and open owner seq_id management Date: Fri, 20 May 2016 21:11:57 +0000 Message-ID: <66555AD3-4421-4C3E-AC60-4AEC31CE8177@primarydata.com> References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: DQo+IE9uIE1heSAyMCwgMjAxNiwgYXQgMTozOCBQTSwgT2xnYSBLb3JuaWV2c2thaWEgPGFnbG9A dW1pY2guZWR1PiB3cm90ZToNCj4gDQo+IEhpIGZvbGtzLA0KPiANCj4gSeKAmW0gc2VlaW5nIGEg Y2xpZW50IGJlaGF2aW9yIHRoYXQgSSBjYW7igJl0IGV4cGxhaW4gdGhlIHJlYXNvbiBiZWhpbmQN Cj4gKGkuZS4gc3BlYykgc28gd2FudCB0byBhc2sgZm9yIGhlbHAuDQo+IA0KPiBRdWVzdGlvbiAj MTogU2hvdWxkIGEgcmVjbGFpbSBvZiBvcGVuIHN0YXRlIGhhbmRsZSBCQURfU0VRSUQgdGhlIHNh bWUNCj4gd2F5IHRoZSBub3JtYWwgb3BlbiBoYW5kbGVzIEJBRF9TRVFJRCAod2hpY2ggaXM6IGl0 IGp1c3QgcmV0cmllcykuIEkNCj4gY2FuIHNlZSB0aGF0IGR1cmluZyByZWNvdmVyeSB3ZSBtaWdo dCBub3Qgd2FudCB0aGUgcmVjb3ZlcnkgdG8gYmUNCj4gdHJ5aW5nIGZvcmV2ZXIgYW5kIHRoYXTi gJlzIHdoeSB3ZSBmYWlsPyBJIGRvbuKAmXQgc2VlIGFueXRoaW5nIGluIHRoZQ0KPiBzcGVjIHRo YXQgdGFsayBhYm91dC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