Message ID | OSZPR01MB777260693E426F03068BC6E688402@OSZPR01MB7772.jpnprd01.prod.outlook.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from esa7.fujitsucc.c3s2.iphmx.com (esa7.fujitsucc.c3s2.iphmx.com [68.232.159.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E834715CD74 for <linux-nfs@vger.kernel.org>; Fri, 18 Oct 2024 11:22:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=68.232.159.87 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729250552; cv=fail; b=qrcLmAv+D+1up5dN+oPRRjbS2TJ2iFiwbL9RkO5bPWR69pERXL9Ba0r96gzURAdqPUoVPgV18c8mP/39wf/wXL2MKFp9x9pS8+HduUvUrnqhn2hKGUTw1bRSrwCZWPIbqqJ7/Wqmb7AZhIPAN3njcqQ2x5+0FMDT/aS/PZEcheQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729250552; c=relaxed/simple; bh=kcp+rqTAJnlVnIKewd+st0W43cl2U51wmeVLSkSzFZc=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=rxpJB3elj2TFXAoHzepr9+wVgrZK6ppxDswuIZpLkC9bZcODLfDTKVbXm0W9+ZxOvkLaXZqWZap/cMpGRRJ5bF/5dhMC/MLaUMlysaGyzJNnjd9nXZw3hxHXWFCfx/xMr+iVoQ1wNdn15vnlk1BL28wCwIcrseFCCYSbQd9AjA8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com; spf=pass smtp.mailfrom=fujitsu.com; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b=sWXm4/CI; arc=fail smtp.client-ip=68.232.159.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b="sWXm4/CI" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1729250550; x=1760786550; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=kcp+rqTAJnlVnIKewd+st0W43cl2U51wmeVLSkSzFZc=; b=sWXm4/CITnbW6pfBiHUjDI18+NvZeo2kGHtShJgO6WDVgXDJN0yb4bZi NS4fgFPHT4QYzKgLbhiyfiODqI7rtebvAdYc6QpW1CAOpOxX4T0ma2Iou 0eyBbGI3zYLs/cw6eA5oyiO3jSkuulIiHE2YQe9Y+6TjRHnSfk77Wd01k ZW1e/OZYqrtNmbZl3pXYYC55uDceNyHF+eR7Nf2XLQZYfe1CTJGtDGO1x k1cxT34faYRhhWiTFQQRCC6VdlsW+irCRir6v10T5rd5uz+MppIpIl4BQ oKbh1XFl+1X7Lti2RH5ilfkLGddgQhf+LKPbtwzvaMaS5k0AOC2710KoP g==; X-CSE-ConnectionGUID: KP2gbyQaShiH7Lj9xurPjQ== X-CSE-MsgGUID: Ra8/6zWTTHSAOvBQeprMnw== X-IronPort-AV: E=McAfee;i="6700,10204,11228"; a="134015545" X-IronPort-AV: E=Sophos;i="6.11,213,1725289200"; d="scan'208";a="134015545" Received: from mail-japanwestazlp17010002.outbound.protection.outlook.com (HELO OS0P286CU011.outbound.protection.outlook.com) ([40.93.130.2]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2024 20:21:18 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QlVBPbx74TLsHNosUgOg07sOuHBB+16X6KFvVAjwMlve97Q6oIIuuOUSHam2bTU0XHB8UUsYMGsLxw/ILjEwtKitiY5Pj1Zjhk1DQi9xfUn5BBfGvau/d2l+SDaqJHp9ZDrCXztMM8xI2/AHo4sWxTXZ9LE/oOEwpeKgUYTFuLVpF8U6mdf1Itjp/EOJIUoq9iDeu/ZfSaOlRCrL2c1WJqggyY7tQ0QXK+OMdRnuayommeCZkC/uodXvuRATqdRtsim3BzbizcbW8TS0T/UU/e9Nz9+97pgPlX3KMWls/y1Kse5DhV4PPnR5wK42U3nZvT2By1x49aHKzvtMgrpXsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=JilQ5fqkb3y849ckIvDb01cYGOgKP4KjHI/5kaBcbUY=; b=gxZfZ6JFOGyMgloMcrZpIYZ7fCVkgo2r7S4yoCMfo4f2DbLjBBA+9vxn+3lpRnz8c+Sn2leulu3nmnuEHHDOLj/OZ7IRK4Hw0Fhoxi4vENXYryHdu9HvAlF6Y7f6/NDwcS7bweNm6H0KVWRrjtUB44LRdN3shrviSHSeANiOQ1CHGwPbfDinCUi7E//QAeSi/CtznHard1meOF2ELNWQ2nkUIDlisUhwKdTMjAI+/TSK53vUdKPaWfR26HJK7aD9Bs0qLevCyvHD9+qEbavKQPKZbLiGus2ZOXs6eoBw7TlaPF5PL2Esa+MOV9c0eB3IwpTfB2ex93Zper/SkUQ0jQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none Received: from OSZPR01MB7772.jpnprd01.prod.outlook.com (2603:1096:604:1b4::7) by OS3PR01MB6376.jpnprd01.prod.outlook.com (2603:1096:604:e1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.23; Fri, 18 Oct 2024 11:21:15 +0000 Received: from OSZPR01MB7772.jpnprd01.prod.outlook.com ([fe80::df28:316e:ef65:39a9]) by OSZPR01MB7772.jpnprd01.prod.outlook.com ([fe80::df28:316e:ef65:39a9%7]) with mapi id 15.20.8069.016; Fri, 18 Oct 2024 11:21:15 +0000 From: "Seiichi Ikarashi (Fujitsu)" <s.ikarashi@fujitsu.com> To: "'steved@redhat.com'" <steved@redhat.com> CC: "'linux-nfs@vger.kernel.org'" <linux-nfs@vger.kernel.org>, "'sorenson@redhat.com'" <sorenson@redhat.com> Subject: [PATCH] Retry NFSv3 mount after NFSv4 failure in auto negotiation Thread-Topic: [PATCH] Retry NFSv3 mount after NFSv4 failure in auto negotiation Thread-Index: AdshT3pHAdh8JNDrTLS/dtZP1FOkEw== Date: Fri, 18 Oct 2024 11:21:15 +0000 Message-ID: <OSZPR01MB777260693E426F03068BC6E688402@OSZPR01MB7772.jpnprd01.prod.outlook.com> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_ActionId=87ed64dd-f8fa-4579-bbb8-baf1a3c21b8e;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_ContentBits=0;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Enabled=true;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Method=Standard;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Name=FUJITSU-RESTRICTED?;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_SetDate=2024-10-18T10:47:20Z;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_SiteId=a19f121d-81e1-4858-a9d8-736e267fd4c7; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fujitsu.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: OSZPR01MB7772:EE_|OS3PR01MB6376:EE_ x-ms-office365-filtering-correlation-id: 7cbf51bb-a0e9-4dfe-5802-08dcef66fab0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|376014|1800799024|38070700018|1580799027; x-microsoft-antispam-message-info: =?iso-2022-jp?b?WnRZSkpIMXZXTlFUcldhQnJU?= =?iso-2022-jp?b?ZjVvWTRGSTUvSHZ0Y0RaWmJhK01MRldRMDJUeFJ6YVphRnc5ZGNNNWN6?= =?iso-2022-jp?b?M1J6b2w0QzU0RUcxQUpKUC9nS3FVbE4wQUtxZmhCZTVhVEFqbzJCWEVo?= =?iso-2022-jp?b?YXduRkN6RGNVRW5wWUcxT0hkRE1Hdk5xK2plVC9jb1JJdU13OTU3VGtD?= =?iso-2022-jp?b?RWs5SWZGMXBlUWRSTGp1OTl3T2FPdmpvTEs3ZXJWUWo4a0h4MTd6ZDMw?= =?iso-2022-jp?b?RURuL0V2WnJDNWE5b3pLRTAxdGZnRTl2QzZQa3pJRmRnU29UOG0xVldC?= =?iso-2022-jp?b?N1l5clpwZlovNVd5SEc2RDZjalpWVjNST1FlbWNIZDBqRThINVkyc2xj?= =?iso-2022-jp?b?UE00RzUrQ1F5dk1ZSnZIejVWVitYNnYwS0trcjZEWmNsN0NCQmY1YXhn?= =?iso-2022-jp?b?YUpXZGJ4YnhJbW1mU3Q1SGJkQ0I0VkFPTHlCcFJTanpJVFpFdHFVcWt0?= =?iso-2022-jp?b?UnNtV0thYzN3aWRBR1ZFc1RBRUdxMHVqRGQ5OXM0Yno5eHFVV0hiSFU4?= =?iso-2022-jp?b?Y0p3Y1Nab1g0N1JUQ0xBQk5hWXRJa1N5dGNJZC9meVVBVzFTNkZnT3lS?= =?iso-2022-jp?b?K2x1L1VJaWRrZWlBdWNwaFlWbktORmM0NWpmR0k5eSsydm8rNzJ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GxES0VTS3lqakFYS3R6?= =?iso-2022-jp?b?WVRDck4xM096YWEvTkpVOHZjaklqWktpRlczWk42QUdoQTNXdVF2bnkv?= =?iso-2022-jp?b?WEVkRnRLYm0vOEZYZVNtblE0cGNQLzBEYTNHQ0lSQXJFYkwrbTZlc0RO?= =?iso-2022-jp?b?cDNQMDdpa0ZRNjdZais1dUFYL1BxMUJKN2NiczFqb0lZK0dvOHhueE5n?= =?iso-2022-jp?b?bGk2ZXBzaWhqRzlrZnU4aHFGUWVkU0NnVmh1cTI0RlZXTEh3ODE3OGdN?= =?iso-2022-jp?b?M2twOW9vUGpuZlRYbWYrTkhKSFBpb3FVQnNxZmFDbnl1aWlkV20vVUYz?= =?iso-2022-jp?b?aTdPSHhGUFJUeHNNWEFjcjBUQmFpL3VBeTlZUVcvRS85MVdwV1V3TEpz?= =?iso-2022-jp?b?a01qeWNrbUlPYkMwNmFRYTdNSHRFZmZib2ExU3BHUHhic25mMzdPZHIx?= =?iso-2022-jp?b?eTN3UVZobkdFSVdJRHI0ck9oMmdjTFVQamc9PQ==?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:ja;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSZPR01MB7772.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024)(38070700018)(1580799027);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?b?bDBvWldGK0Nicko0aTM2?= =?iso-2022-jp?b?ZFArVHZ5QlEzamJ0dkRCZ0U3a0gxVFIzNVBqekpvRVBEbVNNZGViajRM?= =?iso-2022-jp?b?ZkovR0lMK2h6UFFDVjVmSndmdHlVbkF2T2ZEMHhTSHNYQ2hXblVuSFV1?= =?iso-2022-jp?b?SFVIQ291bytLYUtNc0RpYm9mU3grY3pPUm9HQVFFUnBvYkcrSlJNZHl0?= =?iso-2022-jp?b?SzBpZHZsM2x0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bm12QXQzUUdzeVFhYUx0bUkvSXdvZzhY?= =?iso-2022-jp?b?NkY4WldEUmFlWUJEcDRZN3RjSDlNMzJCS0JrZzg4M3dwN08zd0FJNTZK?= =?iso-2022-jp?b?QXFuNytlN05zakFoT2pKV3JqeE5kSjU1dDVLd21KcHREVHAzcms3WFZL?= =?iso-2022-jp?b?M0NQakVmVHhXRmtuWW9aSWY1bVFUdWlFOE1ubkRjNGNsQUpad1dlVEZx?= =?iso-2022-jp?b?RVBBb1VabmFDMjFvS1ZrRGM3a0dEYTNUWjRZVmRuSzB2NHZBV1VqeUtH?= =?iso-2022-jp?b?bUFUem0rUmw1cDlab3NmcmUweEQxeEpGWHJXNkxHTTN0eGVtdERRMmZW?= =?iso-2022-jp?b?SDdNdjl0TU1zUEE9PQ==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: <linux-nfs.vger.kernel.org> List-Subscribe: <mailto:linux-nfs+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-nfs+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: DcgpMQF82+0b74a11me6lRsZtaewo/rvqzEIRLCaZjRDf807ykXSeVsAD4t8dx+GeMh5h0afi3C1deNRuC9k8cFcz2TwFiyVKABV/25shOZERn0/+yW7aElbw/fCNhdZb7ywBX37+oL+9x0kH6tbdZW7AHjuA1oRV7s0SOkkjnChfkCTI+Y2Ial0vE2xgBqgFfVGsqb5sHXfiaWlIHrWZdAQ05UqebLuPcrQFJMINt709tkHdaQ1t7zZMB+UBorJAzPA+SLWFNB3vtGxPbe7ANjLF9K4KR4V11N7m5gVMI+bqHPGCkSC2b6lu+CuRyvgzi44NJVKFYX/ZG/OCvoAAZfsV+FSNOY9JKN+JQKpKONm39croY6m43mtaPJnc4UBUbSxWPQu0+JWqYHaDHXWXbAx3YesAvssTwPTo7KTYFmJlq83vetiO3jHSC73wcL1Mn4COgM3skSQVavGksqAVSZ02/JC+O57EaT+OTR/Nlffroo1PgoPFf+FvWnDv2V1uoD5xk/SiomC1zjTsUF8zn8S5BzDpwrq9cZofAaPAA6+fa1dkd4boVcJq3R3yZ4swmmch8CJiKCof00qxZNxVCy3c58un+vZ+D0SxEEgj7DdfXVb3Rj3SmoPt8uUGj+S X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: OSZPR01MB7772.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7cbf51bb-a0e9-4dfe-5802-08dcef66fab0 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2024 11:21:15.1248 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: M5sHSN60xTuFHwXXQSu1u/lZIP3gAGZWFuwUCMSvdMy0t+Zwyj3hizAngGd6WLohbu0w3MC0fcYIXTyhy7LP39Dk1mNsSSCW15F+mAzSndQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB6376 |
Series |
Retry NFSv3 mount after NFSv4 failure in auto negotiation
|
expand
|
On Fri, 18 Oct 2024, Seiichi Ikarashi (Fujitsu) wrote: > The problem happens when a v3 mount fails with ETIMEDOUT after > the v4 mount failed with EPROTONOSUPPORT, in mount auto negotiation. > It immediately breaks from the "for" loop in nfsmount_fg() > or nfsmount_child() due to EPROTONOSUPPORT, never doing the expected > retries until timeout. > > Let's retry in v3, too. > > Signed-off-by: Seiichi Ikarashi <s.ikarashi@fujitsu.com> > --- > utils/mount/stropts.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c > index a92c420..103c41f 100644 > --- a/utils/mount/stropts.c > +++ b/utils/mount/stropts.c > @@ -981,7 +981,7 @@ fall_back: > if ((result = nfs_try_mount_v3v2(mi, FALSE))) > return result; > > - if (errno != EBUSY && errno != EACCES) > + if (errno != EBUSY && errno != EACCES && errno != ETIMEDOUT) > errno = olderrno; > > return result; > This change looks good to me, but the patch itself doesn't apply (it has spaces instead of tabs). -Scott
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index a92c420..103c41f 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -981,7 +981,7 @@ fall_back: if ((result = nfs_try_mount_v3v2(mi, FALSE))) return result; - if (errno != EBUSY && errno != EACCES) + if (errno != EBUSY && errno != EACCES && errno != ETIMEDOUT) errno = olderrno; return result;
The problem happens when a v3 mount fails with ETIMEDOUT after the v4 mount failed with EPROTONOSUPPORT, in mount auto negotiation. It immediately breaks from the "for" loop in nfsmount_fg() or nfsmount_child() due to EPROTONOSUPPORT, never doing the expected retries until timeout. Let's retry in v3, too. Signed-off-by: Seiichi Ikarashi <s.ikarashi@fujitsu.com> --- utils/mount/stropts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)