Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([216.205.24.194]:47699 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752017AbcIWT5p (ORCPT ); Fri, 23 Sep 2016 15:57:45 -0400 From: Trond Myklebust To: Kornievskaia Olga CC: List Linux NFS Mailing Subject: Re: reuse of slot and seq# when RPC was interrupted Date: Fri, 23 Sep 2016 19:57:35 +0000 Message-ID: <9343A1DB-5895-41F4-8A37-504AA710D696@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+IE9uIFNlcCAyMywgMjAxNiwgYXQgMTU6MjcsIE9sZ2EgS29ybmlldnNrYWlhIDxhZ2xvQHVt aWNoLmVkdT4gd3JvdGU6DQo+IA0KPiBPbiBGcmksIFNlcCAyMywgMjAxNiBhdCAzOjA3IFBNLCBU cm9uZCBNeWtsZWJ1c3QNCj4gPHRyb25kbXlAcHJpbWFyeWRhdGEuY29tPiB3cm90ZToNCj4+IA0K Pj4+IE9uIFNlcCAyMywgMjAxNiwgYXQgMTQ6NDEsIE9sZ2EgS29ybmlldnNrYWlhIDxhZ2xvQHVt aWNoLmVkdT4gd3JvdGU6DQo+Pj4gDQo+Pj4gT24gRnJpLCBTZXAgMjMsIDIwMTYgYXQgMjozNCBQ TSwgVHJvbmQgTXlrbGVidXN0DQo+Pj4gPHRyb25kbXlAcHJpbWFyeWRhdGEuY29tPiB3cm90ZToN Cj4+Pj4gDQo+Pj4+PiBPbiBTZXAgMjMsIDIwMTYsIGF0IDE0OjI1LCBPbGdhIEtvcm5pZXZza2Fp YSA8YWdsb0B1bWljaC5lZHU+IHdyb3RlOg0KPj4+Pj4gDQo+Pj4+PiBPbiBGcmksIFNlcCAyMywg MjAxNiBhdCAyOjA4IFBNLCBUcm9uZCBNeWtsZWJ1c3QNCj4+Pj4+IDx0cm9uZG15QHByaW1hcnlk YX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