Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1585326ybt; Thu, 9 Jul 2020 10:20:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxIVodtTaXZEpaGHg5KqI0iQ4REm3NrDZAK/bZOJf5UkRB0EBp5pfFLxaTw5la1X9oY0Uw X-Received: by 2002:a17:906:2ccf:: with SMTP id r15mr59645267ejr.277.1594315216475; Thu, 09 Jul 2020 10:20:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594315216; cv=pass; d=google.com; s=arc-20160816; b=uCkrgfYFBr36oJwuXhzZkuQBI/uTnjK7hNILpyeW2+EyNWDPiMihdvLHvxoEJhO6LB 1HAv46i1jBu72QkfXjzrC7ww4RLbxIgYmWboZzzwo/mLz1PrZQxIYV3X2oDewiH613Ev wuGgYtmzy21ifZBh3grejJFAghNR7GnzbpwMiH4fS9kgj2rBWiInBu2Y/fcQsWOGmeBa qIx+BCPJhBl0va4iFjbaTPg3zfbjCce+xDPGApIYZjC98Rf9WNQoc9sROSvGpGfWRSeG P57Bui911BnE3m6JAEL9t9r7jRpF64Ug6fgB0+FV9M0YZmovaUqb0gRnpCaXwsq6F93Y KUtA== 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:cc:to:from :dkim-signature; bh=SwSr+nHs/EWjsnnM13hARbfWn7Pj93Rnsui2Cjkoy+M=; b=yxvxZOoENnXkErKI57CB9yLKczZYVXrRKx6vof2NrD2b2fSaG+JtJfA90IH4syGMaN oSlEZoLIYIB4FTH8Q7aXDNgToZs8VMNeDDwN8FVPe9iyhGzm2pphKTraiVsgK1nfC5ea p+ict9AIXVp11rSGbfvfseo66z02LnVHnF6hsnwky78bBx/l4ZNwWyQ4kPN66XnZYQhz IiLKf3a8Jxt/ubsKozSCRsLVCJB3QxrZc5BXIqiWBLWoJTttoxZq8K9tklNEQmQjSjWc LBQYDxX7si3NAEAnkbl9HQ2i753HokjSSysJ2efhcAmSy0ChsyGxMigmd+IugIUhQmfJ qSyQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=Rfph50k4; 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 rn15si2280493ejb.513.2020.07.09.10.19.45; Thu, 09 Jul 2020 10:20:16 -0700 (PDT) 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=Rfph50k4; 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 S1727910AbgGIRTQ (ORCPT + 99 others); Thu, 9 Jul 2020 13:19:16 -0400 Received: from mail-bn7nam10on2103.outbound.protection.outlook.com ([40.107.92.103]:29153 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727061AbgGIRTP (ORCPT ); Thu, 9 Jul 2020 13:19:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kSCDBZZKBmxrQHcEkmaOnuONLxqKpDFkkmbNvuWaKK8ytTE/N1MtswLsetpK+DGj7fG7t/WVPY+KLqUNe4mBzW+Qn6sJTEA23C0CqmqVeHk+wlmrsz1HCgCUIC7xQVU3w0wlKOSyMwZ5XPImK8GBQoQMdzZkazxvuIzJGi+XqLO6gVooG9a4aO+iCsV5H+cWyb8WNTQufkz1S8AvDhcAL5VL7zeXME1+15CNzCgIdOUz3hA1JvRNA72NLKpAgiWpfmY0HS/S2MF8tHqy5WkHlei5RQro8U6dsNuPfMSx7aM+LREann6kxLcW8nCTXMYriglkIqQoty28rM8UIR8khQ== 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=SwSr+nHs/EWjsnnM13hARbfWn7Pj93Rnsui2Cjkoy+M=; b=UEywxpHWKQV89oxb74oyTjcbjHErmb5sWlG0cbDWMzKTdNJ2tKJjlSUgifqybqpdtXhG7A4HEVxjO1WUNjfxNH+cXvWxTbkbMjdXGR3YqoVBU/cJ5VIjmWIo89+7PWvo8blcOLFly6Y24qmKiuXus9IOV8scT5ntADxtTYw5bksBwG9MozkwjR7ueS1FgXC/C1YtT7Xz38dxbmMkUKi5CW8ec78i98cu70xvzoh+o5to98RyUadaOoK/T+eoF/kw9MHAMYNsSqCCd40R+3dTRGEOilAavC4YpEdIQN2CXFK/74513J7Sc5xD2G9jFUgrd/++A3io5TuNxShnhAts+g== 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=SwSr+nHs/EWjsnnM13hARbfWn7Pj93Rnsui2Cjkoy+M=; b=Rfph50k45VX7prBOuJDc+kSuMEreaudcwBdlQjsaSejR7X89pm6ARBgA90CQ7TccIeh4afCMZkdhfG0quxP7fHMij2irBzL+8xTUeI3P1LjE+SEnqRG+KQga0bBxH5Gnsa9tZgJoYd1v0YkDa6tl6Z++6y7G1nPUbS16klfbUOM= Received: from CH2PR13MB3398.namprd13.prod.outlook.com (2603:10b6:610:2a::33) by CH2PR13MB3431.namprd13.prod.outlook.com (2603:10b6:610:21::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.16; Thu, 9 Jul 2020 17:19:10 +0000 Received: from CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::352c:f318:f4a7:6a0f]) by CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::352c:f318:f4a7:6a0f%3]) with mapi id 15.20.3174.021; Thu, 9 Jul 2020 17:19:09 +0000 From: Trond Myklebust To: "olga.kornievskaia@gmail.com" CC: "linux-nfs@vger.kernel.org" , "anna.schumaker@netapp.com" Subject: Re: [PATCH 1/1] SUNRPC dont update timeout value on connection reset Thread-Topic: [PATCH 1/1] SUNRPC dont update timeout value on connection reset Thread-Index: AQHWVWs8m1CKZ35+pUqHJLj6MBnD8Kj/KF+AgAA8JYCAABq/gA== Date: Thu, 9 Jul 2020 17:19:09 +0000 Message-ID: <3fe49121d027eaa3aa2263f24d76d72e750d8592.camel@hammerspace.com> References: <20200708210514.84671-1-olga.kornievskaia@gmail.com> <41873966ea839cca97332df3c56612441f840e0d.camel@hammerspace.com> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=hammerspace.com; x-originating-ip: [50.36.87.23] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 780e2c5d-bef6-48a4-3521-08d8242c316b x-ms-traffictypediagnostic: CH2PR13MB3431: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: smUaUwwvmKW396i0hAVB+f8nMHHj3bPbxIeHIA4qmzr2xSOwcy9ioLvLHNuX+VjEcXkC4KffldeolT+L4HbonzV9G/X0ymRwQqzaMFwOUu+fJ7KkY0M/gNNUzmUEsJrniJDmrgLbEK+WGN52jL6m9YR5ZRL6kZpFE83wA8wGnm8S9/mK+gVOGE+C/3XfuKYKBOFAGW6jdMLK/Go/1jC4wVKwCkL1hN89HsthycG/9MI4COY3oEpJb6lz/KxV0wJrIXLmeKuIS69G9Ohoqr39UEWGPA9my6CqsDOp5oezRtqixYJ4ui7lQODS9l1BNEM++pHUZ+PcFzzXWK2wj+nFLF2t3H6ERS2I+ZC+WPafE+naVwy9bOeJF0f7ykoWfYO4 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:(376002)(346002)(39840400004)(396003)(136003)(366004)(66946007)(53546011)(64756008)(66476007)(76116006)(66446008)(66556008)(2906002)(71200400001)(83380400001)(186003)(86362001)(4326008)(6512007)(6506007)(36756003)(8936002)(478600001)(8676002)(15650500001)(54906003)(5660300002)(316002)(2616005)(6916009)(26005)(6486002)(192303002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 9r0WCcIPD7daR0Zw/T9X0kBaQfarojG2FmmF1T2vgqEcVwBg4tP6oWmNydOzXnUjnxhsHuOJy/Kbn9xOiFOQP7nlyJKY7WHyk7rBHJHriJKyNL0Px3fZ6pvktERYV61CJkQ65MPk0tofd9JnatX8iWTjZBmCjuKwQVnytJ048SUnxIig24+qXsNsefMugSEFt7XgX+aPiP5GOBZC+yKSEwB9lfHphop5JUPBs7pwMgiLfTfrNh19BNNfhnVoeZqX0dakhkCjBUtNABVzKpATer8p+MbPv2WWvi4D9aewG6NcRyhjNRClLSEsmzXCB4OL+ILJulXa4T5Up9X7VVUDTmwN/WHaG4V9d4GuWW4eXrEGmraUdKHHlOJXbyrD2JTYffbIVniEK1AwW71Li9lvBIpci1tSeSf9XayVHoi2oPjju7XnKjz++msOjRd2sD1RFMCfgtynNfo7A5PksewN09WktxRD15RwQ8gr+XmcrHQ= 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-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR13MB3398.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 780e2c5d-bef6-48a4-3521-08d8242c316b X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2020 17:19:09.6227 (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: fQrkCFxY6CTGq5kUmh/3YaOxX4LNfQMwC4jkAezIshLfn51bF95HOp1xMIltQ9vVKu2W1Lqq4Qj8hvhZOeMYeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3431 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVGh1LCAyMDIwLTA3LTA5IGF0IDExOjQzIC0wNDAwLCBPbGdhIEtvcm5pZXZza2FpYSB3cm90 ZToNCj4gT24gVGh1LCBKdWwgOSwgMjAyMCBhdCA4OjA4IEFNIFRyb25kIE15a2xlYnVzdCA8DQo+ IHRyb25kbXlAaGFtbWVyc3BhY2UuY29tPiB3cm90ZToNCj4gPiBIaSBPbGdhDQo+ID4gDQo+ID4g T24gV2VkLCAyM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