Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1452CC433EF for ; Mon, 20 Dec 2021 18:22:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233631AbhLTSWl (ORCPT ); Mon, 20 Dec 2021 13:22:41 -0500 Received: from mail-sn1anam02lp2049.outbound.protection.outlook.com ([104.47.57.49]:6205 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S236184AbhLTSWk (ORCPT ); Mon, 20 Dec 2021 13:22:40 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PSjkweB69j/uw04zvHJN9rrbZ0y4kGVwjXOnV41EG0PF2DGL9GkFjxtWxfcryMOuPPIOnkDSTeecPnaPFdBDQeYFzZXiYH31AlxDtyu0TecARMnnl5LYxDcH9caCz3rwxUBRIjF2Wc0bzgmHOvIK2yfGEyVvPXietOQTCnzimAKzWqG4UzxtuE+qQeuMdCMVslSPuombEfEP4RPc3u7vHik9XKqkgJB4LbAvPLs8pUUm8ronYlfAn4ExxZrQrJiHLsk8GFa0tulLDqLwx+B5jl5vN8aR1Y+np+2YDTA9B+FT/WD7chhXLR98/swZBUxL5rDmXCIuQI9XHgE6DIQVBA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=u5aobPowduKJ+fOnKO8zOP+lB2q0Bwnz3uK3+RR1A84=; b=Ao1XSQ2xwpbvvJB5zw6B6AoZ6r+EuRZCPZrTjQa26sKWt+QqMRsjaCcOHGhknXdofB7wKGMOCGuLCBwHP7+w4WHZG3SjqkrKHYrrTMSQCpbyrc+lL7vUC9e6w1+6yWPZm+rtLr5dbswH2or1mv0FPgnqPEBoD7mgDEB3I49vn0mQL3blU3D8raot/dO+FUiT5odKfQwXNuQaAojW0cj1YumRUub+M7fUkprxj37UsKhborHv8yU9Z0R4SVJmN1b2krt1/2MtfdGSt0Vziiv7SIFc3/NTgXWba6zXtcS+fbZsQn7Y/uzzfL8x3Ivk42wBqBCxwBdXQx5VS0fNZobVWw== 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=u5aobPowduKJ+fOnKO8zOP+lB2q0Bwnz3uK3+RR1A84=; b=LB0F+UJGj87qaJX460Ai9KDMPvn46nOU461ydc8fYJvdvsHXfuko3q/oxCjCfJdnp/irBrwQYHdZuqYLLrswqTxrTTRtLjlGzjv/u4I4OtgdnlinwMjzjt3tdy1Lr7QBaEe1+HDlXRfTSyH4VkQi/jnJ9qVTEgSelBa0lgyVLPo= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by BY5PR13MB3111.namprd13.prod.outlook.com (2603:10b6:a03:183::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.14; Mon, 20 Dec 2021 18:22:27 +0000 Received: from CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::288c:e4f1:334a:a08]) by CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::288c:e4f1:334a:a08%3]) with mapi id 15.20.4823.014; Mon, 20 Dec 2021 18:22:27 +0000 From: Trond Myklebust To: "cuibixuan@linux.alibaba.com" , "linux-nfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" CC: "anna.schumaker@netapp.com" , "xiaoh.peixh@alibaba-inc.com" , "davem@davemloft.net" , "chuck.lever@oracle.com" , "kuba@kernel.org" , "bfields@fieldses.org" , "wenan.mwa@alibaba-inc.com" , "weipu.zy@alibaba-inc.com" , "pete.wl@alibaba-inc.com" Subject: Re: [PATCH -next] SUNRPC: Clean XPRT_CONGESTED of xprt->state when rpc task is killed Thread-Topic: [PATCH -next] SUNRPC: Clean XPRT_CONGESTED of xprt->state when rpc task is killed Thread-Index: AQHX8PIF1uk7AUWrmE+w9HCnnE9qfaw6xHsAgAD2qIA= Date: Mon, 20 Dec 2021 18:22:27 +0000 Message-ID: References: <1639490018-128451-1-git-send-email-cuibixuan@linux.alibaba.com> <1639490018-128451-2-git-send-email-cuibixuan@linux.alibaba.com> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hammerspace.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 136a5e73-9a78-43c3-7874-08d9c3e5ad40 x-ms-traffictypediagnostic: BY5PR13MB3111:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wCQcZKUBlQNaCfF7dcsknD4JzhU9TwVw2TBpRxwOF7y/MwbpNNsJs07ac48Gc041Gmcw7zoMIEE33wyTDf2Yb5lq95Uw963kK4Ua2Kl4UIdLWzNtMqW4T2rgLy906oNNmyV8VQarmTikN3QGKpzvO1K7Q7DZpQEsn4VXdhjFc1qLrv/+fYqecyKnvffM8MixuZ44WZQwOy4Jtxitg56QGMXsnTOK/bSezhrEz/XDYOWdMfziCycA3smFCu4BOERSXwQ2iKllNyTYqvWzghT/T0UUm1dJDkZ2fpQU9Xa8P0Dgib1YHrebfxDtYK2RUyTg76hIwyq57aX0Wuq84fPiaonA9ayh/g/8d51lb+o8VSp2EY61W+HWssPAYJFPiO3Q424ESm9/DTOpJe17jiMzLqzgeGoihSG7T2F439mifp6REBpPi2kpSl1pAZZKCoFI/DpBGG+/U5P1CHfGUfHifG7CX9cNjVbS9wK4UPm4yaRwTLq7jmUH1nc2Ljn65u/GSNmqRAltV3La9c++ocsSI01INh6n9FFCNO4rZzdKJ1c1D/VpknZ7vgUQGf8vy5BcSJpjKfltWVdDMFuAm49k5PPZR5sh3CiINOM3stwglTz6PX+K1VjHpOf+Kpt8RjEC/p7JLsw7hF9tlIDWx2DewNtOU70PK6cHjLxX+WBwrhS4gf9A32Bv39KzfPEnscN1R9YIUbZHFBf34bkTg7VrNI9VaOL+LY1OSz34pcDD8PKmaQlBOhk9JvwIn36E7CZT x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR13MB5084.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(136003)(396003)(39830400003)(346002)(376002)(2906002)(5660300002)(71200400001)(36756003)(7416002)(4001150100001)(508600001)(86362001)(38070700005)(8676002)(6486002)(2616005)(38100700002)(122000001)(66946007)(8936002)(66476007)(64756008)(6506007)(4326008)(76116006)(66446008)(66556008)(316002)(110136005)(54906003)(186003)(26005)(6512007)(20210929001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NFM3NEhoMTZna3N3NWxVcU9ERGJyd0V2M3p4SVhKNXZTV0hkdFpLdnBsWExK?= =?utf-8?B?TTJObGs5bUNOMTlBVy9nNG1UOG50ZzJQdm9YVUp0cXpMbEY4dWE0YmJYK3Nl?= =?utf-8?B?N1ZPZXhPczN1RTFEZmc4dklodGlCdWtBdWpNcnU1NHYrUHZBNUROLzVKT2t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FwU2t6RTlQS3BOSEo3ZjFTMW1MdDFmZm5idXAwQW9kVXRKNXpneTJW?= =?utf-8?B?K3M1N0pHOW5odVlCbFh2Qjh1MzRObnJYMzJmaE12cGc1OEpTeHN5RjZLOXhs?= =?utf-8?B?dkF1K3NPNXNSZ2Q2N1FjVEgrb0c2WXh0U2UwUUxmdnFnTEkvQzlCeEdIcnRt?= =?utf-8?B?Q1drSU1qNWJwM2JPb0tFT1ROVGhseXhGeHpoNDBqUjlKdmkwVzd2ZHU0cVpB?= =?utf-8?Q?JR7Arsaf0PbuqFaySJtztAI=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <7A26B39FDEDC0D4E83E565CEC3365C8A@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR13MB5084.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 136a5e73-9a78-43c3-7874-08d9c3e5ad40 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2021 18:22:27.0240 (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: JXs9q2uJOlxQz0gYXWQDdBLpI8TH8RwO8fDsmlsTQeAv6sU9FxBA6f/oMzUgRxGlpJ0AP9ovCmtO/da80mGVZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR13MB3111 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gTW9uLCAyMDIxLTEyLTIwIGF0IDExOjM5ICswODAwLCBCaXh1YW4gQ3VpIHdyb3RlOg0KPiBw aW5nfg0KPiANCj4g5ZyoIDIwMjEvMTIvMTQg5LiL5Y2IOTo1MywgQml4dWFuIEN1aSDl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