Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:45259 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032236Ab2CPASO (ORCPT ); Thu, 15 Mar 2012 20:18:14 -0400 Received: from vmwexceht03-prd.hq.netapp.com (vmwexceht03-prd.hq.netapp.com [10.106.76.241]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q2G0IEDj010222 for ; Thu, 15 Mar 2012 17:18:14 -0700 (PDT) From: "Myklebust, Trond" To: "Adamson, Andy" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH Version 1 06/11] NFSv4.1: send filelayout DS commits to the MDS on invalid deviceid Date: Fri, 16 Mar 2012 00:18:12 +0000 Message-ID: <1331857092.24392.4.camel@lade.trondhjem.org> References: <1331836850-5195-1-git-send-email-andros@netapp.com> <1331836850-5195-7-git-send-email-andros@netapp.com> In-Reply-To: <1331836850-5195-7-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: SG93IGRvZXMgc2VuZGluZyB0aGUgY29tbWl0IHRvIHRoZSBNRFMgaGVscCBpZiB0aGlzIGlzIGEg Y29tbWl0LXRvLURTDQpzZXR1cD8gQUZBSUNTIHdlIG5lZWQgdG8gcmVzZW5kIGFsbCB0aGUgd3Jp dGVzIHRocm91Z2ggdGhlIE1EUy4NCg0KT24gVGh1LCAyMDEyLTAzLTE1IGF0IDE0OjQwIC0wNDAw LCBhbmRyb3NAbmV0YXBwLmNvbSB3cm90ZToNCj4gRnJvbTogQW5keSBBZGFtc29uIDxhbmRyb3NA bmV0YXBwLmNvbT4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IEFuZHkgQWRhbXNvbiA8YW5kcm9zQG5l dGFwcC5jb20+DQo+IC0tLQ0KPiAgZnMvbmZzL25mczRmaWxlbGF5b3V0LmMgfCAgIDExICsrKys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