Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3473280pxx; Mon, 2 Nov 2020 09:46:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxINA6M711+De+/0rNKeB68SJR0qTlMZuuq93MXKSM5vjSKAk4pnoSasyQ1ujltPk6NHtKN X-Received: by 2002:a17:907:4302:: with SMTP id nh2mr13051859ejb.451.1604339192283; Mon, 02 Nov 2020 09:46:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1604339192; cv=pass; d=google.com; s=arc-20160816; b=FO8cGfWIl7OeRutCk6XnRpsiT9Qncm+YY3rpRyUWwKMqX3WjW9PWHliw4xS4zNnmkF lsxhEHp81b39D1laBrTE7MPgR4uV07BUPaRt/f7g0CC15kxL27vMjKel85ZMuoI0XRqY 8yw7NVqrWmJkCCHqnjQOIlkkpTCqGy70x2LcogiDHew1QcPq9I2tvKosZcYC44yCd14K Q5zWysX2/XdyW5UvGY8xgYmr52XS3/mAjUGr70ZoImfSy9Z3aYqudXmQyGKfjEjTvePs ggwqsLT7EDhrvayvSLZUVcszUl11dbC1a2owT2PZyZk0udjGZUaoyQU8VFX7ZI4JcLsq +tJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=lqPRKiTGyFwJdgQaxjb64MtyvmzURAP1GMsPEYDXUz0=; b=LIGZ5SQ9OJCJRatGZ2ZLyWhrJ1zNlzrg7XbcmhOCFEyjTID2z1pOfA6cCHQUYKHDEf N7XaO+mR2xxG3DJtr6WM6i3HHa2c3mitEkxav3Nagv8ogbb+GjWozlWUpsfyxYU7vXV1 8B5caa6SHtvxY4i2mxZhTO73vFNPcD49O1L+EcXoL7ISAQzNgnOdEMvjN2E/wCYdIpBK oLUPwvh2Cg3iEgmKAoeCdLpHBpXJrwPLYofkdAZdbthUHm4Q+py3+5pfPlS72Hvx4xnP bB/UsC2F5ty/ENzHZwErbV0dxbZgN2ZEZvTS2oV3//fEm+24/wQuiKTREDZktufcpsHC g0iA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b="G/c7iDPi"; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id ga38si10533711ejc.118.2020.11.02.09.46.03; Mon, 02 Nov 2020 09:46:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b="G/c7iDPi"; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 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 S1725817AbgKBRpv (ORCPT + 99 others); Mon, 2 Nov 2020 12:45:51 -0500 Received: from mail-bn8nam11on2129.outbound.protection.outlook.com ([40.107.236.129]:54560 "EHLO NAM11-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725768AbgKBRpv (ORCPT ); Mon, 2 Nov 2020 12:45:51 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CYcY4qcMK0Khy7eeNACoaeqzLcz95iiodFx/rKyI9ZIrI2mYEaeXfBGOWo+QEDfJAWynUuDUoxjtG1zmZFjjSWRs2/zYDluPqSX0WnvRHUG3u6/MBtZn7ZtYTkjVTJu8aU0CRGihHiAdygQiFHUWbP6jE0FZkVVo6btWHgFZyJ5GbsihFMykcGEegRrOK9RCwvCHjpmZujeDrFt4XakMEeOWZd1Y8yLQu2l2UopJ9iOEvU3gXxsyJMAsxltgsuDemYAtGJLLmvu53aSlVuiK8tHmzDx1N1j23A9kcIMWvWb8UOydGcu3aZLHDhXWOaSM0NqHUZ51ZStMKwd5THXs7A== 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=lqPRKiTGyFwJdgQaxjb64MtyvmzURAP1GMsPEYDXUz0=; b=fx6WzuWxk64EKHpAJO0PprTeoCm6SVkXmD5/rTZcQYuRU7SdhT3Kv3s/iIaKcT73soi0zsig0Tyn/VKM6W/XZqjSZUOx52h1bsreBWqQ/0RmCNIejG1NClcIDFxuSK7fi9NIjgjJG68FFXoIf2OAXjsd/YRKhkCtooQdlyEYRqFDej3D2VVFpVt6lT4zF8YNoBxAGlisrYB+aT8fbP+zhxRearTk++X3FePwxn17tRGOTKE/sGhnFiv3PDmgvnuPnxndtQTsTQv7aKN1144ie9HDf0ika2u/IS1g3iBpKMY12J0+hHlcU1f0cAipgM9xaWwCg025AjoGJQSBgjJOBg== 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=lqPRKiTGyFwJdgQaxjb64MtyvmzURAP1GMsPEYDXUz0=; b=G/c7iDPi8R60PGd3IEP2XW7kIIbwyAbrokBK7bR/0YYF8MjnDKuZCBu+B2hf5v+nrgz7+/aeOrpnTEneHbdn5iRTHqSjJPs4GBefBJ+3pnsqTKfF5hCCDbQj8CDJW4idkK63XxOjmecRrExI72y1DZcQ0N4h52PMGQr5yqXFOyw= Received: from MN2PR13MB3957.namprd13.prod.outlook.com (2603:10b6:208:263::11) by BL0PR13MB4449.namprd13.prod.outlook.com (2603:10b6:208:1cb::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.10; Mon, 2 Nov 2020 17:45:48 +0000 Received: from MN2PR13MB3957.namprd13.prod.outlook.com ([fe80::e989:f666:131a:e210]) by MN2PR13MB3957.namprd13.prod.outlook.com ([fe80::e989:f666:131a:e210%9]) with mapi id 15.20.3541.010; Mon, 2 Nov 2020 17:45:48 +0000 From: Trond Myklebust To: "anna.schumaker@netapp.com" , "solomonchenclever@gmail.com" CC: "chenwenle@huawei.com" , "linux-nfs@vger.kernel.org" , "solachenclever@hotmail.com" , "linux-kernel@vger.kernel.org" , "nixiaoming@huawei.com" , "solachenclever@gmail.com" Subject: Re: [PATCH 2/2] NFS: Limit the number of retries Thread-Topic: [PATCH 2/2] NFS: Limit the number of retries Thread-Index: AQHWsTSzGjVbwL1P20Koha6ceevLkqm1HZMA Date: Mon, 2 Nov 2020 17:45:48 +0000 Message-ID: <8db50c039cb8b8325bb428c60ff005b899654fb4.camel@hammerspace.com> References: <20201102162438.14034-1-chenwenle@huawei.com> <20201102162438.14034-3-chenwenle@huawei.com> In-Reply-To: <20201102162438.14034-3-chenwenle@huawei.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: netapp.com; dkim=none (message not signed) header.d=none;netapp.com; dmarc=none action=none header.from=hammerspace.com; x-originating-ip: [68.36.133.222] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f3bf4fd2-2732-4dbf-9806-08d87f57220e x-ms-traffictypediagnostic: BL0PR13MB4449: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3044; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WhP5ZOTQAi0wznTk2UzduF2TkZVstO/B0nhKf6YralzaA1PvalqqsLlNGZvk6rq3gy9bhDoLMjgdYIL70PAFCzs17i63hoH/DGqytcsQrW73aqRtP7ed7iWiFI6703VRKFr9niUredFFgAVtg9WmhKUubWSCQkYJEf60k32Ql1mRvhZ7SG5tC272mx1mLORhbbjR2W0TwXi3cxqIV7JPNLFDqswGrfeh73+DR+WtskB8lHCvqAKN5wb42Jv43m93C7p7O2Qr7iCa1G76vyUsSexZaIqro+fM4MO8XecRaQiJGClDnk4Mp8ivcYZ3d/S26NxOmwTtwN/JziIdRnZg4Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR13MB3957.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(39830400003)(136003)(366004)(376002)(346002)(396003)(186003)(6486002)(36756003)(71200400001)(66446008)(64756008)(66556008)(2906002)(66476007)(6512007)(66946007)(5660300002)(2616005)(8936002)(316002)(86362001)(26005)(478600001)(6506007)(54906003)(83380400001)(110136005)(76116006)(8676002)(4326008)(91956017);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: An3ruF1k48lUbS/1UzmRhEW9XZiKLRxjHYNNk8k+mP6fizPCDaRoRakl1W/UlR+lWPFug9glWwoXyEUJjzabcCioyo2HpO7skFWwVhv16i9FW7sHp/VIAVo8WiMdcZZF/T4JaV1n07aKHdMKgCmwIdvnB4Fmcm2Zi+cgBCdQOcvy/bCnzYl+bftw1ynHTZsA7sSxPKBEE35EmWN7HQeXQrMJ/aFakqxpkVifInKoOBy88c94X8iua7S+euiiXg5/pB6HU2zmtcEe40Km42yuZioC+4jtQjvWcf9M04Onb+NHqYydumEmucsfKg0LAAkpsu3dNCqg8i1Wx2AzQwX35mAYyh7WgR9fLM6vkgDh9h47jWxEXK3ik/4aF60/aqSlpzY1aa64MoZFXrRNdNL9Q+mqXXPPj6cVUl/OQTyo6hS+X+APTIEuivDHgKwAYMZG1DQ8vbbawO83IrXMxWUMSbsObcSO1JIDyC+ciY1+ErJoEqxfuCOdab1K4JNAR5Eb28XZJt69H+mlN4+zI8pekU010PHRbr33spA1tS3G+Lev7C71JsczQxlM69WcUs/FmUe6ordCa4PV6Z9rVCTLC0oBPNW4SDCedPa8M0CoQx6GEVz4uQ0mlzNzlNR02pSX51AKkWwQCjhi3jqCjfmUtQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <0BBB8973C3DE484881131189EFFF4159@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: MN2PR13MB3957.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f3bf4fd2-2732-4dbf-9806-08d87f57220e X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2020 17:45:48.1675 (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: 2YBXZm0VYkTqWxhBgCgWukW3u8iYJk9nojch3+UPxEXvQdH0uZFfFwns+MRoo2KOVBsWB1Cu6n1BHk2WQWuHJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR13MB4449 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVHVlLCAyMDIwLTExLTAzIGF0IDAwOjI0ICswODAwLCBXZW5sZSBDaGVuIHdy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