Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:30420 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032506Ab2CPAgK (ORCPT ); Thu, 15 Mar 2012 20:36:10 -0400 Received: from vmwexceht01-prd.hq.netapp.com (vmwexceht01-prd.hq.netapp.com [10.106.76.239]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q2G0ZsDW020727 for ; Thu, 15 Mar 2012 17:35:54 -0700 (PDT) From: "Myklebust, Trond" To: "Adamson, Andy" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH Version 1 11/11] NFSv4.1 de reference a disconnected data server client record Date: Fri, 16 Mar 2012 00:35:54 +0000 Message-ID: <1331858152.24392.12.camel@lade.trondhjem.org> References: <1331836850-5195-1-git-send-email-andros@netapp.com> <1331836850-5195-12-git-send-email-andros@netapp.com> In-Reply-To: <1331836850-5195-12-git-send-email-andros@netapp.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDEyLTAzLTE1IGF0IDE0OjQwIC0wNDAwLCBhbmRyb3NAbmV0YXBwLmNvbSB3cm90 ZToNCj4gRnJvbTogQW5keSBBZGFtc29uIDxhbmRyb3NAbmV0YXBwLmNvbT4NCj4gDQo+IFdoZW4g dGhlIGxhc3QgRFMgaW8gaXMgcHJvY2Vzc2VkLCB0aGUgZGF0YSBzZXJ2ZXIgY2xpZW50IHJlY29y ZCB3aWxsIGJlDQo+IGZyZWVkLg0KPiANCj4gU2lnbmVkLW9mZi1ieTogQW5keSBBZGFtc29uIDxh bmRyb3NAbmV0YXBwLmNvbT4NCj4gLS0tDQo+ICBmcy9uZnMvbmZzNGZpbGVsYXlvdXQuYyAgICB8 ICAgIDQgKysrKw0KPiAgZnMvbmZzL25mczRmaWxlbGF5b3V0LmggICAgfCAgICAxICsNCj4gIGZz L25mcy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