Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([63.128.21.194]:28404 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750961AbcETVWI (ORCPT ); Fri, 20 May 2016 17:22:08 -0400 From: Trond Myklebust To: Thomas Haynes , 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:22:01 +0000 Message-ID: <942F69E5-B9EA-48BD-8F7E-6E81B8FBAE6E@primarydata.com> References: <66555AD3-4421-4C3E-AC60-4AEC31CE8177@primarydata.com> In-Reply-To: <66555AD3-4421-4C3E-AC60-4AEC31CE8177@primarydata.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: DQoNCk9uIDUvMjAvMTYsIDE3OjExLCAibGludXgtbmZzLW93bmVyQHZnZXIua2VybmVsLm9yZyBv biBiZWhhbGYgb2YgVGhvbWFzIEhheW5lcyIgPGxpbnV4LW5mcy1vd25lckB2Z2VyLmtlcm5lbC5v cmcgb24gYmVoYWxmIG9mIGxvZ2h5ckBwcmltYXJ5ZGF0YS5jb20+IHdyb3RlOg0KDQo+DQo+PiBP biBNYXkgMjAsIDIwMTYsIGF0IDE6MzggUE0sIE9sZ2EgS29ybmlldnNrYWlhIDxhZ2xvQHVtaWNo LmVkdT4gd3JvdGU6DQo+PiANCj4+IEhpIGZvbGtzLA0KPj4gDQo+PiBJ4oCZbSBzZWVpbmcgYSBj bGllbnQgYmVoYXZpb3IgdGhhdCBJIGNhbuKAmXQgZXhwbGFpbiB0aGUgcmVhc29uIGJlaGluZA0K Pj4gKGkuZS4gc3BlYykgc28gd2FudCB0byBhc2sgZm9yIGhlbHAuDQo+PiANCj4+IFF1ZXN0aW9u ICMxOiBTaG91bGQgYSByZWNsYWltIG9mIG9wZW4gc3RhdGUgaGFuZGxlIEJBRF9TRVFJRCB0aGUg c2FtZQ0KPj4gd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