Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1055893ybb; Wed, 1 Apr 2020 14:56:36 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtww5COqHKMnqAu9FmlDPMrO2DRBGSCuRRZTniYV4VsH7+SQFhLzbD4/l4Yk8sdPxvL5uy1 X-Received: by 2002:a9d:2c01:: with SMTP id f1mr18953299otb.67.1585778196446; Wed, 01 Apr 2020 14:56:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585778196; cv=pass; d=google.com; s=arc-20160816; b=J3hoNGMnxaLuYscGPq+5omZJ2tqmzn6qD2dGzitdUZO8jMwq5v/urmFEjrNts4YYp7 7AYyJrNFizjTcA9kw9r9J1F/ex7gnpM5q7280HMyT4v5IVVEZUXfOIkqoT2uAz69o4BM g/vZH/9F5G+y134odPopGkjLyEFPU3MhcZsdfaFTVJ1I+hNk5VM2ByvNwgB3lvfyRB5B nZM4qZWwdhx3SwnB0efzHy/X/rDPA1qZjn0seir2ivgnIoGw304tPnKJxbq13QgP9MfZ FKU1qBv0zUgYel8xTnEuwVDL/hZXSxU5XNKs/gTM6X3O/eN45JcRJuLJhmx4uYzpfFua QDvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :dkim-signature; bh=IKuIZr10NwD0IRUmjwE4zH5lk16GX1+5RhhFNLfyKPg=; b=vNWyrfOUugBKj+U9lINALGVHMFmzdUBM2HeH73tCYqqI7wswnGl92LS4pQT8irrAGf 9VuJXMX98SUWcklywQOMhqSvj97pXTgnBAqVmcn4YtmgnFYMxv152gZNzM/fbv0td0Xp Gaq27tGu5uWP0aV1IK1DleyjpxkGxrgfFZAOyGek0eEF+8NPVnI8BBBUCRBkKrfKQftT UptfOw83JwLzFUxftNzDi/tL2LZqJby0LZ75RpMs2NRpkjE3LSBeK3p3lOdi33T+vs5x KKB+lHp6lgoe9yumur//gj1a5vG/CtcUEyHNX0BVnQp45xUSrXnuDj9+eHmKqb3imPUK ocXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=WWmnUl2i; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l43si1387345ooi.79.2020.04.01.14.56.13; Wed, 01 Apr 2020 14:56:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=WWmnUl2i; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732357AbgDAVz3 (ORCPT + 99 others); Wed, 1 Apr 2020 17:55:29 -0400 Received: from mail-dm6nam12on2102.outbound.protection.outlook.com ([40.107.243.102]:15424 "EHLO NAM12-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733095AbgDAVz2 (ORCPT ); Wed, 1 Apr 2020 17:55:28 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eYX8ycdnoYBOTWRWuUx3e/zEIfs1OFIvEZ+H7VKXpZSSC/ogP+Boc+wOYDjMam7FOo1MHN9WM1/3YKbfJsHjPEyFwKl4LuhgljgQnfvxMr7Ctyn7N2NtSA+XE6N+Cu8fmNt/ZOvhceakiP82PjpdusHdX1V6aEjUDoDCVBe5rNAInHkzuLqB0mqB6yrCP9kcJjvC5GCWt4pHDVXsJRTLlZ+KsDJs5FiiSycnRdgnS0aUqM2ihkQkJ4ZQS3W47CZqud1i7DM/kT2jqFCI67c09eFgVlTrQvSjOb/zSX4KNMcPs7fFfMpIaPcf6pv/ob85J+DL72v5+pr7QN0Sg8llig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IKuIZr10NwD0IRUmjwE4zH5lk16GX1+5RhhFNLfyKPg=; b=VmcxV/uSco/W+0EOHbQSlGe+PfOPOPfbxJ/DHFw8Hk8iUvfR7FUMql07xGDqn/V3texl6A+vP56WpIYMEkCR0kBjUwRSquDLSc7aRwL/n5s0OTZNIpi7Rg/NRDuucU+BnEvQ7zoQ+Or50vtUqnKzoh1Nm9kstTwxIQe9yzwndj5TSu28a0KcvJfo7QVGzw1HST2ybKrrFhriQWQBKJmSvIHRT0HtH9FyfYnmVYMQLPTVVEksPPZBeY0P7DhH7rj2cnAKZZCGQyWAjhivxY7uAD0NxOXpS3J4dQkZkq2IMzOIouj/jKD1wXVHAXDvMqx8WfRncDD30FuoMAqL9PYoJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IKuIZr10NwD0IRUmjwE4zH5lk16GX1+5RhhFNLfyKPg=; b=WWmnUl2i/0+JhMsApBZ0a7P7nVxRZ27gGFx0vV/w4eeqKqm17KfaGsfqsfww2Pesvq2GprzMQ/KL4+WD+7rHi/sS/HTdRvc10wQTCtCBh8NHOT6GxS2+zLfwwhBzuY/SSlMkRxdJ6hbaRjNqSwtTn+NbJakmIo99LHjfzgAUbDQ= Received: from CH2PR13MB3398.namprd13.prod.outlook.com (2603:10b6:610:2a::33) by CH2PR13MB3302.namprd13.prod.outlook.com (2603:10b6:610:25::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15; Wed, 1 Apr 2020 21:55:26 +0000 Received: from CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::9570:c1b8:9eb3:1c36]) by CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::9570:c1b8:9eb3:1c36%7]) with mapi id 15.20.2878.012; Wed, 1 Apr 2020 21:55:26 +0000 From: Trond Myklebust To: "linux-nfs@vger.kernel.org" , "chuck.lever@oracle.com" Subject: Re: [PATCH RFC] sunrpc: Ensure signalled RPC tasks exit Thread-Topic: [PATCH RFC] sunrpc: Ensure signalled RPC tasks exit Thread-Index: AQHWCF0MlHCtjD63TkyOwrXd+41btahkz8WA Date: Wed, 1 Apr 2020 21:55:26 +0000 Message-ID: <6d1e88145119587069a0077df8b31c9b80656d68.camel@hammerspace.com> References: <20200401193559.6487.55107.stgit@manet.1015granger.net> In-Reply-To: <20200401193559.6487.55107.stgit@manet.1015granger.net> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=trondmy@hammerspace.com; x-originating-ip: [68.36.133.222] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f60d5371-d0fd-45f0-6f88-08d7d6876307 x-ms-traffictypediagnostic: CH2PR13MB3302: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 03607C04F0 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR13MB3398.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10019020)(376002)(396003)(39830400003)(366004)(346002)(136003)(76116006)(81156014)(91956017)(81166006)(66946007)(6506007)(8676002)(71200400001)(8936002)(2616005)(110136005)(316002)(186003)(478600001)(86362001)(6512007)(36756003)(26005)(5660300002)(66476007)(66556008)(64756008)(66446008)(2906002)(6486002);DIR:OUT;SFP:1102; received-spf: None (protection.outlook.com: hammerspace.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Mi5vN7EPJWRkeBCutwUAaDdyeqbgScb9cRZXtvKG0stiUAUhGrxF1gFDQAt9sK8BQzoXuPGcNp9puFBU/bBDsCTU4WniiuD9XYvP2sZ6EIuBEPnj9puxdP+9/8HAaVgHD0ZTmcLsFNFns/MD/Mz2cjv2LCV6rlsU+72jSxHXl1IUYmvqjW4p4mpnGzO2WSHGtDLjLHaMuNtOuhrWoQ4YQNrXwpM6ueJ6Vz0f5SwSzpQsgHx/xX2fRSYUeqWo7n4gVxIq2JdodrNZ5KLnCs43pcw+W5AcF53XYSYct9PckrbPtyHmMAmKmDfOE0IbfU4Ysj711/p2LOT+ES8Y+t2vHVvO4A/lrZ41KYn8ErLrmVtIJAr85cBCJODzKSigwVc0bx0nxvEoLj+asBHRjSJ75NCQmmlVrZk8Y0Emdgl4hh1Whzyh6jeuswhQtBLrOPbB x-ms-exchange-antispam-messagedata: Fu52UcZam816Vxh19HWIUxzm4H/0CefZzgMjydglMJ+cMzaLrFh+yIIYZ9kZPECuhWk0SEo4eeC+SMD81OZpZIi88qphPT8W+cgmvN2ZG4IqoiXLhPD1jW6zalgodoaXGfa320r+tBhW/5XH7KvM7g== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: f60d5371-d0fd-45f0-6f88-08d7d6876307 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2020 21:55:26.5136 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7Ipn5E9jN9SMgF6lPC4Yc210bjkL3WQyGB0ThmHljBy/GYHhhIBRnaZBCvKJqYNH5nI8awDc2ZeLfwwwWL8Wkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3302 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gV2VkLCAyMDIwLTA0LTAxIGF0IDE1OjM3IC0wNDAwLCBDaHVjayBMZXZlciB3cm90ZToNCj4g SWYgYW4gUlBDIHRhc2sgaXMgc2lnbmFsZWQgd2hpbGUgaXQgaXMgcnVubmluZyBhbmQgdGhlIHRy YW5zcG9ydCBpcw0KPiBub3QgY29ubmVjdGVkLCBpdCB3aWxsIG5ldmVyIHNsZWVwIGFuZCBuZXZl ciBiZSB0ZXJtaW5hdGVkLiBUaGlzIGNhbg0KPiBoYXBwZW4gd2hlbiBhIFJQQyB0cmFuc3BvcnQg aXMgc2h1dCBkb3duOiB0aGUgcmVtYWluaW5nIHRhc2tzIGFyZQ0KPiBzaWduYWxsZWQsIGJ1dCB0 aGUgdHJhbnNwb3J0IGlzIGRpc2Nvbm5lY3RlZC4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IENodWNr IExldmVyIDxjaHVjay5sZXZlckBvcmFjbGUuY29tPg0KPiAtLS0NCj4gIG5ldC9zdW5ycGMvc2No ZWQuY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