Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3278071iob; Mon, 16 May 2022 17:58:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+MjDi+dK+YDeeAtpFvMDuL5Qhb5MweIBRhl93RDk1zND0+/meY+ICb8DAin1iBIug3hYT X-Received: by 2002:a17:907:a425:b0:6f4:9522:e60b with SMTP id sg37-20020a170907a42500b006f49522e60bmr17327147ejc.88.1652749090784; Mon, 16 May 2022 17:58:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652749090; cv=none; d=google.com; s=arc-20160816; b=TnDIcVWqcYjGqrnIVSG1OXu2lRMl0Dtcqyn60/nW6y5T+eia5jm8bJO/Ef91M8PL/N CcuCcyJdFV7xe7ovwLZDvvgMHXqfrPyDlmryHjPXfjt4T5IlVUbImRbhSr02GdP2J+m/ bZRiSKpsFQ/eaMJvJsJbWfb/ZLrroW2EdnrZ8jgmNxGGoCEQTZTJsVHlaa6/ge1dL3ET +kBquLI+Mclbt43VkVPvJLch/Fxk+krT9W/mlYOeLX2P9Kh9cKbhHkDJ0HsH99MPRNet chdJ1uWd0BSFXoLVGjjFBKRSgYxO+zgXXcSoiS+j2TFWAszmZp5J5SwSaH450Q86APIO S0Ew== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YgXcKRsMKQVPFqkhxQYH/snLxGwh9L/QWP+PaIh9EBQ=; b=Xh5a05qgC83jfPdrnLwpyLtSzqXWWLhk/sXPZ+e5OCJiY0fuAg4z5LDDQnwxZgbVpe LullPdHvj3PkJak0FTKkp9i4AXinSNw46KN2tcyfUgO3ufHZM3XdyxzyxcYaTo3+dSco HigU186jfj/knL2ds68u/T2JfJ2egbisugD7hJHoLeoAUFS+WLZ124Jgc5c8U6ZSBSjr syCOuGVJyD1hyPr5euRez+eRbyypJCkm/mU0hJ99MztGJwy6dSaHVUH4NVrmHwrRYdaE 07RiJFQXSfzVHtxvePOXtJnYN12m4gkl3vezcc60oF5x/iS9gYY6eqnJZ0yzJ9PjJfyz SdKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=netapp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u23-20020a1709060b1700b006f37e31bf80si1088641ejg.120.2022.05.16.17.57.36; Mon, 16 May 2022 17:58:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=netapp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348693AbiEPVCK (ORCPT + 99 others); Mon, 16 May 2022 17:02:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349207AbiEPVBI (ORCPT ); Mon, 16 May 2022 17:01:08 -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 AB4C3B864 for ; Mon, 16 May 2022 13:36:26 -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 37F18614B5 for ; Mon, 16 May 2022 20:36:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC9A4C36AE2; Mon, 16 May 2022 20:36:25 +0000 (UTC) From: Anna.Schumaker@Netapp.com To: steved@redhat.com, linux-nfs@vger.kernel.org Cc: Anna.Schumaker@Netapp.com Subject: [PATCH v1 5/5] NFS: Remove the CONFIG_NFS_V4_2_READ_PLUS Kconfig option Date: Mon, 16 May 2022 16:36:22 -0400 Message-Id: <20220516203622.2605713-6-Anna.Schumaker@Netapp.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516203622.2605713-1-Anna.Schumaker@Netapp.com> References: <20220516203622.2605713-1-Anna.Schumaker@Netapp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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-nfs@vger.kernel.org From: Anna Schumaker This option was added due to a few failing xfstests and performance issues that were found during testing. Both of these have now been addressed, meaning it should be okay to remove the option. Signed-off-by: Anna Schumaker --- fs/nfs/Kconfig | 9 --------- fs/nfs/nfs4proc.c | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index 14a72224b657..5dcd84ce1c0c 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig @@ -205,12 +205,3 @@ config NFS_DISABLE_UDP_SUPPORT Choose Y here to disable the use of NFS over UDP. NFS over UDP on modern networks (1Gb+) can lead to data corruption caused by fragmentation during high loads. - -config NFS_V4_2_READ_PLUS - bool "NFS: Enable support for the NFSv4.2 READ_PLUS operation" - depends on NFS_V4_2 - default n - help - This is intended for developers only. The READ_PLUS operation has - been shown to have issues under specific conditions and should not - be used in production. diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index a79f66432bd3..114ae7673e9a 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -5436,7 +5436,7 @@ static int nfs4_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) nfs4_read_done_cb(task, hdr); } -#if defined CONFIG_NFS_V4_2 && defined CONFIG_NFS_V4_2_READ_PLUS +#if defined CONFIG_NFS_V4_2 static void nfs42_read_plus_support(struct nfs_pgio_header *hdr, struct rpc_message *msg) { -- 2.36.1