Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([63.128.21.194]:47471 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932277AbcHKQUi (ORCPT ); Thu, 11 Aug 2016 12:20:38 -0400 From: Trond Myklebust To: Jeff Layton CC: List Linux NFS Mailing , Thomas Haynes , hch , Fields Bruce James Subject: Re: CB_LAYOUTRECALL "deadlock" with in-kernel flexfiles server and XFS Date: Thu, 11 Aug 2016 16:20:30 +0000 Message-ID: <66A7F612-4704-43CB-AE93-6C1A8A52D6DA@primarydata.com> References: <1470929036.30238.14.camel@redhat.com> <1470931603.30238.25.camel@redhat.com> In-Reply-To: <1470931603.30238.25.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: DQo+IE9uIEF1ZyAxMSwgMjAxNiwgYXQgMTI6MDYsIEplZmYgTGF5dG9uIDxqbGF5dG9uQHJlZGhh dC5jb20+IHdyb3RlOg0KPiANCj4gT24gVGh1LCAyMDE2LTA4LTExIGF0IDE1OjU1ICswMDAwLCBU cm9uZCBNeWtsZWJ1c3Qgd3JvdGU6DQo+Pj4gDQo+Pj4gT24gQXVnIDExLCAyMDE2LCBhdCAxMToy MywgSmVmZiBMYXl0b24gPGpsYXl0b25AcmVkaGF0LmNvbT4gd3JvdGU6DQo+Pj4gDQo+Pj4gSSB3 YXMgcGxheWluZyBhcm91bmQgd2l0aCB0aGUgaW4ta2VybmVsIGZsZXhmaWxlcyBzZXJ2ZXIgdG9k YXksIGFuZA0KPj4+IEkNCj4+PiBzZWVtIHRvIGJlIGhpdHRpbmcgYSBkZWFkbG9jayB3aGVuIHVz aW5nIGl0IG9uIGFuIFhGUy1leHBvcnRlZA0KPj4+IGZpbGVzeXN0ZW0uIEhlcmUncyB0aGUgc3Rh Y2sgdHJhY2Ugb2YgaG93IHRoZSBDQl9MQVlPVVRSRUNBTEwNCj4+PiBvY2N1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