Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3017470rwb; Mon, 15 Aug 2022 16:14:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR7M6kh0Q5uYqwbA0L9tMOKApL3jGJAPmTnHRSSLH3KfjQp3ThZH/vDK3A1J/vdrDnhAh8au X-Received: by 2002:a05:6402:1a3a:b0:43c:c4e5:8ebe with SMTP id be26-20020a0564021a3a00b0043cc4e58ebemr16700923edb.97.1660605247545; Mon, 15 Aug 2022 16:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605247; cv=none; d=google.com; s=arc-20160816; b=OqDxoWI8AAacnyCxMbsmS+KppknQfS+fvVYedx5/TbRB4eGhqSDp7Mje42JJ14g5Ov XMWHmufBdjukt0s2XkDastULqgelay/4KDde0VBhg15mdIyJ9inNbEEv/k7wbHrKqHrA d6hWUQ5giyepqSlNVNlEwUxj1AbbSc4U+7OdWtnWe66YraKkLtycOOBUJjkLWOGGXhs2 SkzoZcyWp8yntCMXFa7DksuT6dhOHW3nV6iJIFhhXu6LLJ/7FVi3PSMdq7YdaBcPRetL G5QqybwpOhNHWkbed7i92vm8M9ZPrFtzZEKwTyWOAvS52VFWwDClTYYFBS0fpROxFa4a 7Kfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Cezor7gh8UrmfBXUXxeNdX94/q4lsH3lNocHXn8foDI=; b=a/W2szzu+JZ0gsACyHxaUffbmctxpPlSCbslXGKr/qfncOb7Wsbtj1YoghO0KuKOyz x34Ugjd8NFzQyPUVmXc2yQ/koGFVnUXZb3fTbON0hpsfu089Q5Eef2+IYu+hQTLcfjUn xuZDFVvyazHN5dLalxIn/pyPSa8/BoOBbdYD3PRl+xGflQxT6IhQmMOUaTX//DewEESA 4mS2gJR+Fokt7smFSxVOsJXQdhlsRJb8zXyWgb83AD8dROJDzoCncQYiqX31fzdu86wY wqD9HydPJaSTiSVXbiuSd+y6310aFm0Lg67lGp0na4yG/R+va9kKKY2Rg+q37IWfgtBA Rfig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZXfKz6Zw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a170906370a00b0072a6be70d30si8225935ejc.385.2022.08.15.16.13.41; Mon, 15 Aug 2022 16:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZXfKz6Zw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349281AbiHOVpC (ORCPT + 99 others); Mon, 15 Aug 2022 17:45:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349506AbiHOVlT (ORCPT ); Mon, 15 Aug 2022 17:41:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E73F35B78F; Mon, 15 Aug 2022 12:29:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5005C61129; Mon, 15 Aug 2022 19:29:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37A69C433C1; Mon, 15 Aug 2022 19:29:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660591749; bh=i/IqNC9sKyzc2Gi0Ic4dqxmktUixRmto/+KsH9OoTSw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZXfKz6ZwIgv/rlGJBMdlWdMJRQQm8Wy8t8kkduTYAYeQqrRBjxnIsKje/LPDq0RBE 8kfhnuN9sWLRk1YxCIJFhf9Zdz53WdcvdPf5pcgjjTS5zE41zMXhQg3N4oq7ObVguY l8Gwlky7u7QldNbUf0IDx68YLazHxZuWuLAkGKtk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Trond Myklebust Subject: [PATCH 5.19 0003/1157] Revert "pNFS: nfs3_set_ds_client should set NFS_CS_NOPING" Date: Mon, 15 Aug 2022 19:49:19 +0200 Message-Id: <20220815180439.604983378@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Trond Myklebust commit 9597152d98840c2517230740952df97cfcc07e2f upstream. This reverts commit c6eb58435b98bd843d3179664a0195ff25adb2c3. If a transport is down, then we want to fail over to other transports if they are listed in the GETDEVICEINFO reply. Fixes: c6eb58435b98 ("pNFS: nfs3_set_ds_client should set NFS_CS_NOPING") Cc: stable@vger.kernel.org # 5.11.x Signed-off-by: Trond Myklebust Signed-off-by: Greg Kroah-Hartman --- fs/nfs/nfs3client.c | 1 - 1 file changed, 1 deletion(-) --- a/fs/nfs/nfs3client.c +++ b/fs/nfs/nfs3client.c @@ -108,7 +108,6 @@ struct nfs_client *nfs3_set_ds_client(st if (mds_srv->flags & NFS_MOUNT_NORESVPORT) __set_bit(NFS_CS_NORESVPORT, &cl_init.init_flags); - __set_bit(NFS_CS_NOPING, &cl_init.init_flags); __set_bit(NFS_CS_DS, &cl_init.init_flags); /* Use the MDS nfs_client cl_ipaddr. */