Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:65005 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756545Ab2EITP5 (ORCPT ); Wed, 9 May 2012 15:15:57 -0400 Received: from vmwexceht02-prd.hq.netapp.com (vmwexceht02-prd.hq.netapp.com [10.106.76.240]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q49JF2KU026565 for ; Wed, 9 May 2012 12:15:41 -0700 (PDT) From: "Myklebust, Trond" To: "Adamson, Dros" CC: linux-nfs list , "Isaman, Fred" Subject: Re: [PATCH] NFS: Prevent a deadlock in the new read and write code Date: Wed, 9 May 2012 19:15:14 +0000 Message-ID: <1336590915.3127.135.camel@lade.trondhjem.org> References: <1336582284-8558-1-git-send-email-Trond.Myklebust@netapp.com> <31612217-5DE3-43D0-BFAF-40A23530FEC8@netapp.com> In-Reply-To: <31612217-5DE3-43D0-BFAF-40A23530FEC8@netapp.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gV2VkLCAyMDEyLTA1LTA5IGF0IDE4OjIyICswMDAwLCBBZGFtc29uLCBEcm9zIHdyb3RlOg0K PiBPbiBNYXkgOSwgMjAxMiwgYXQgMjoyMCBQTSwgQWRhbXNvbiwgRHJvcyB3cm90ZToNCj4gDQo+ ID4gQUNLIC0gVGhpcyBmaXhlcyB0aGUgZXJyYW50IGJlaGF2aW9yIEkgd2FzIHNlZWluZy4NCj4g PiANCj4gPiBCZWZvcmUgKG9uIGFueSBwcm90b2NvbCB2ZXJzaW9uIG1vdW50ZWQgYXQgL21udCk6 DQo+ID4gJCBkZCBpZj0vZGV2L3plcm8gb2Y9emVyb2ZpbGUgYnM9MTAwMjQgY291bnQ9MTAwMCA7 IHdoaWxlIHRydWU7IGRvIChybSAtcmYgL21udC9mb28gJiYgZWNobyBybSBvaykgfHwgbHMgLWxh IC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