Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([63.128.21.194]:54023 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752511AbdBIAJP (ORCPT ); Wed, 8 Feb 2017 19:09:15 -0500 From: Trond Myklebust To: "anna.schumaker@netapp.com" , "chuck.lever@oracle.com" CC: "linux-rdma@vger.kernel.org" , "linux-nfs@vger.kernel.org" Subject: Re: [PATCH v3 09/12] sunrpc: Allow xprt->ops->timer method to sleep Date: Wed, 8 Feb 2017 23:48:02 +0000 Message-ID: <1486597679.11028.1.camel@primarydata.com> References: <20170208214854.7152.83331.stgit@manet.1015granger.net> <20170208220051.7152.67740.stgit@manet.1015granger.net> In-Reply-To: <20170208220051.7152.67740.stgit@manet.1015granger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gV2VkLCAyMDE3LTAyLTA4IGF0IDE3OjAwIC0wNTAwLCBDaHVjayBMZXZlciB3cm90ZToNCj4g VGhlIHRyYW5zcG9ydCBsb2NrIGlzIG5lZWRlZCB0byBwcm90ZWN0IHRoZSB4cHJ0X2FkanVzdF9j d25kKCkgY2FsbA0KPiBpbiB4c191ZHBfdGltZXIsIGJ1dCBpdCBpcyBub3QgbmVjZXNzYXJ5IGZv ciBhY2Nlc3NpbmcgdGhlDQo+IHJxX3JlcGx5X2J5dGVzX3JlY3ZkIG9yIHRrX3N0YXR1cyBmaWVs ZHMuIEl0IGlzIGNvcnJlY3QgdG8gc3VibGltYXRlDQo+IHRoZSBsb2NrIGludG8gVURQJ3MgeHNf dWRwX3RpbWVyIG1ldGhvZCwgd2hlcmUgaXQgaXMgcmVxdWlyZWQuDQo+IA0KPiBUaGUgLT50aW1l ciBtZXRob2QgaGFzIHRvIHRha2UgdGhlIHRyYW5zcG9ydCBsb2NrIGlmIG5lZWRlZCwgYnV0IGl0 DQo+IGNhbiBub3cgc2xlZXAgc2FmZWx5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