Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([216.205.24.194]:55162 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbdHRTF5 (ORCPT ); Fri, 18 Aug 2017 15:05:57 -0400 From: Trond Myklebust To: "anna.schumaker@netapp.com" , "neilb@suse.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 2/8] NFSv4: don't let hanging mounts block other mounts Date: Fri, 18 Aug 2017 19:05:52 +0000 Message-ID: <1503083150.11511.4.camel@primarydata.com> References: <150304014011.30218.1636255532744321171.stgit@noble> <150304037188.30218.6679182255685764801.stgit@noble> In-Reply-To: <150304037188.30218.6679182255685764801.stgit@noble> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gRnJpLCAyMDE3LTA4LTE4IGF0IDE3OjEyICsxMDAwLCBOZWlsQnJvd24gd3JvdGU6DQo+IElm IHlvdSB0cnkgYW4gTkZTdjQgbW91bnQgZnJvbSBhbiBpbmFjY2Vzc2libGUgc2VydmVyLCBpdCB3 aWxsIGhhbmcNCj4gYXMNCj4geW91IHdvdWxkIGV4cGVjdC4NCj4gSWYgeW91IHRoZW4gdHJ5IGFu IE5GU3Y0IG1vdW50IGZyb20gYSBkaWZmZXJlbnQgYWNjZXNzaWJsZSBzZXJ2ZXIsDQo+IGl0IHdp bGwgYWxzbyBoYW5nLiAgVGhpcyBpcyBub3QgZXhwZWN0ZWQuDQo+IA0KPiBUaGUgc2Vjb25kIG1v dW50IGlzIGJsb2NrZWQgaW4NCj4gICBuZnM0X2luaXRfY2xpZW50KCkNCj4gICAtPiBuZnM0X2Rp c2NvdmVyX3NlcnZlcl90cnVua2luZygpDQo+ICAgLT4gbmZzNDBfZGlzY292ZXJfc2VydmVyX3Ry dW5raW5nKCkNCj4gICAtPiBuZnM0MF93YWxrX2NsaWVudF9saXN0KCkNCj4gICAtPiBuZnM0X21h dGN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