Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DE9CC43381 for ; Tue, 12 Mar 2019 20:04:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F0CDE20449 for ; Tue, 12 Mar 2019 20:04:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=netapp.onmicrosoft.com header.i=@netapp.onmicrosoft.com header.b="mIqeE1vp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726685AbfCLUEk (ORCPT ); Tue, 12 Mar 2019 16:04:40 -0400 Received: from mail-eopbgr700069.outbound.protection.outlook.com ([40.107.70.69]:2785 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726585AbfCLUEk (ORCPT ); Tue, 12 Mar 2019 16:04:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WrWfO+xJQDBOD8vqY+ReMt2+I45xAA97Aw1Gp3KXBpo=; b=mIqeE1vplOMVPzmBQ6EHTVCpf2ZACBWMUduffaRXTIvQJt8oKIjrqU7O8fguAXYG11ktQTVjYN2wHOeNkXir3si9pNcJg0AGFV2uYlUPOPQi0+W8O1smwWOGJjSexXyBTOoFGfzPxsOwQVmq3xz6Ck4QAVo5rbVt+5Xbv9JGv00= Received: from BN8PR06MB6228.namprd06.prod.outlook.com (20.178.217.156) by BN8PR06MB5891.namprd06.prod.outlook.com (20.179.139.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.21; Tue, 12 Mar 2019 20:04:36 +0000 Received: from BN8PR06MB6228.namprd06.prod.outlook.com ([fe80::c5ec:66d7:6a15:7d95]) by BN8PR06MB6228.namprd06.prod.outlook.com ([fe80::c5ec:66d7:6a15:7d95%2]) with mapi id 15.20.1686.021; Tue, 12 Mar 2019 20:04:36 +0000 From: "Schumaker, Anna" To: "trondmy@gmail.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 1/4] pNFS: Ensure we return the error if someone kills a waiting layoutget Thread-Topic: [PATCH 1/4] pNFS: Ensure we return the error if someone kills a waiting layoutget Thread-Index: AQHURUOSbiYf/nGVe0OLLNqxofWpZaYJkxmA Date: Tue, 12 Mar 2019 20:04:36 +0000 Message-ID: <233f58676bee06fe87fae6c6ca04708a24716187.camel@netapp.com> References: <20180905180715.99485-1-trond.myklebust@hammerspace.com> In-Reply-To: <20180905180715.99485-1-trond.myklebust@hammerspace.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.30.5 authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anna.Schumaker@netapp.com; x-originating-ip: [73.145.169.100] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: befc0a54-6abb-405e-bd18-08d6a725f3a5 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7193020);SRVR:BN8PR06MB5891; x-ms-traffictypediagnostic: BN8PR06MB5891: x-microsoft-exchange-diagnostics: =?utf-8?B?MTtCTjhQUjA2TUI1ODkxOzIz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RUJsNVNy?= =?utf-8?B?eTBCeWFjellJc3EydXgvL3NyV3R5amV5dU5WL1c3Y08zNi81dVdVRVNuRnNw?= =?utf-8?Q?DY46D9vL1zc=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09749A275C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(376002)(136003)(396003)(39860400002)(346002)(199004)(189003)(6506007)(7736002)(25786009)(14454004)(1411001)(26005)(5660300002)(58126008)(478600001)(72206003)(6916009)(229853002)(5640700003)(86362001)(99286004)(71190400001)(118296001)(316002)(2501003)(4326008)(71200400001)(14444005)(256004)(66066001)(97736004)(5024004)(8936002)(6436002)(6486002)(6116002)(1361003)(76176011)(36756003)(53936002)(3846002)(476003)(11346002)(2616005)(6512007)(186003)(102836004)(106356001)(105586002)(68736007)(81166006)(81156014)(1730700003)(8676002)(486006)(2351001)(2906002)(305945005)(446003)(6246003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN8PR06MB5891;H:BN8PR06MB6228.namprd06.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: netapp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 1Tx3Q89sURkMSgYOR38KlDpuhhY+lO8IsUTsHVsvgkxSKfEBPe2h/iOLdyvyOcvl8LsXCSFTXzMaXQ0dVM7ZUgw0LekPCPDOxY9C/Ap53TWQb5ZDrwDBwF7RVB8Yo+1BZJf+/vukpkCbh0GvjPWgq6RAbDxsDxItqBTaX04PRkWT8eteN0CsKy1ze6cMLY0HSkDXX+YAj/JEqTGOeAJC9q1kVDhPEsIUU6eOq73oiuia5inxdOVkIRIVPK9FZ/tTPf1iGkNeaQp4fx2NJmBNZ9uzijwlM/WKKpWtSTCowDSlt979Ij7Czli7XpLmppPfd/uvnwbxtFjj6MCD3xmfmJP64li7I2dwZABKc+MmjFqgfIkaxAYwLFXoUkcRr7703I0aealiCEZJV/fdXE8uKWT54mN9zxU5u6Z/KtrgdkU= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: netapp.com X-MS-Exchange-CrossTenant-Network-Message-Id: befc0a54-6abb-405e-bd18-08d6a725f3a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2019 20:04:36.2287 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR06MB5891 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org SGkgVHJvbmQsDQoNCkknbSBzZWVpbmcgYSBoYW5nIHdoZW4gdGVzdGluZyB4ZnN0ZXN0cyBnZW5l cmljLzAxMyBvbiB2NC4xIHdpdGggcE5GUyBhZnRlciB0aGlzDQpwYXRjaDoNCg0KT24gV2VkLCAy MDE4LTA5LTA1IGF0IDE0OjA3IC0wNDAwLCBUcm9uZCBNeWtsZWJ1c3Qgd3JvdGU6DQo+IElmIHNv bWVvbmUgaW50ZXJydXB0cyBhIHdhaXQgb24gb25lIG9yIG1vcmUgb3V0c3RhbmRpbmcgbGF5b3V0 Z2V0cyBpbg0KPiBwbmZzX3VwZGF0ZV9sYXlvdXQoKSB0aGVuIHJldHVybiB0aGUgRVJFU1RBUlRT WVMvRUlOVFIgZXJyb3IuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBUcm9uZCBNeWtsZWJ1c3QgPHRy b25kLm15a2xlYnVzdEBoYW1tZXJzcGFjZS5jb20+DQo+IC0tLQ0KPiAgZnMvbmZzL3BuZnMuYyB8 IDI2ICsrKysrKysrKysrKysrKystLS0tLS0tLS0tDQo+ICAxIGZpbGUgY2hhbmdlZCwgMTYgaW5z ZXJ0aW9ucygrKSwgMTAgZGVsZXRpb25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