From patchwork Mon Sep 11 14:59:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mkrtchyan, Tigran" X-Patchwork-Id: 13380171 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF287CA0EE3 for ; Mon, 11 Sep 2023 22:00:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240947AbjIKV6y (ORCPT ); Mon, 11 Sep 2023 17:58:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240992AbjIKO7L (ORCPT ); Mon, 11 Sep 2023 10:59:11 -0400 Received: from smtp-o-2.desy.de (smtp-o-2.desy.de [131.169.56.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A956F1B9 for ; Mon, 11 Sep 2023 07:59:06 -0700 (PDT) Received: from smtp-buf-2.desy.de (smtp-buf-2.desy.de [131.169.56.165]) by smtp-o-2.desy.de (Postfix) with ESMTP id 0CA8C1611EE for ; Mon, 11 Sep 2023 16:59:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-2.desy.de 0CA8C1611EE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1694444345; bh=1ROMS8kvUcUhiUc4c+OL2ZSTgs3ivgSt2Uktr1DkDZc=; h=Date:From:To:In-Reply-To:References:Subject:From; b=tappqgFrYCPqC1bDD9+JByRtNq3tgCMfsTUA1QqyTWfLYI2I4k11NuvTm+au/OGnh P2zw75esV96sGBkPPCwGKVfRtLWLbHM4Dm33NMbxdtZT0X2X/JmVqBZR973GbEIg9v WUHuitpWZdVlo9X6iGIVaMTKhur10lsoduGgkSpk= Received: from smtp-m-2.desy.de (smtp-m-2.desy.de [131.169.56.130]) by smtp-buf-2.desy.de (Postfix) with ESMTP id 0378E1A00C2 for ; Mon, 11 Sep 2023 16:59:05 +0200 (CEST) Received: from c1722.mx.srv.dfn.de (c1722.mx.srv.dfn.de [194.95.239.47]) by smtp-m-2.desy.de (Postfix) with ESMTP id 065AF120042 for ; Mon, 11 Sep 2023 16:59:05 +0200 (CEST) Received: from smtp-intra-3.desy.de (smtp-intra-3.desy.de [131.169.56.69]) by c1722.mx.srv.dfn.de (Postfix) with ESMTP id 61C05A003B for ; Mon, 11 Sep 2023 16:59:04 +0200 (CEST) Received: from z-mbx-2.desy.de (z-mbx-2.desy.de [131.169.55.140]) by smtp-intra-3.desy.de (Postfix) with ESMTP id 3F63980070 for ; Mon, 11 Sep 2023 16:59:04 +0200 (CEST) Date: Mon, 11 Sep 2023 16:59:04 +0200 (CEST) From: "Mkrtchyan, Tigran" To: linux-nfs Message-ID: <582547008.6087350.1694444344114.JavaMail.zimbra@desy.de> In-Reply-To: <20230829110411.8394-1-tigran.mkrtchyan@desy.de> References: <20230829110411.8394-1-tigran.mkrtchyan@desy.de> Subject: Fwd: [PATCH] nfs41: flexfiles: drop dependency between flexfiles layout driver and NFSv3 modules MIME-Version: 1.0 X-Mailer: Zimbra 9.0.0_GA_4546 (ZimbraWebClient - FF117 (Linux)/9.0.0_GA_4546) Thread-Topic: nfs41: flexfiles: drop dependency between flexfiles layout driver and NFSv3 modules Thread-Index: 2LwT7vt/6Sff38egg4bc3bBPV1wzCg== Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Ups. Forwarding to correct list. ----- On 29 Aug, 2023, at 13:04, Tigran Mkrtchyan tigran.mkrtchyan@desy.de wrote: The flexfiles layout driver depends on NFSv3 module as data servers might be configure to provide nfsv3 only. Disabling the nfsv3 protocol completely disables the flexfiles layout driver, however, the data server still might support v4.1 protocol. Thus the strond couling betwwen flexfiles and nfsv3 modules should be relaxed, as layout driver will return UNSUPPORTED if not matching protocol is found. Signed-off-by: Tigran Mkrtchyan --- fs/nfs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index b6fc169be1b1..ba95246be09e 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig @@ -125,7 +125,7 @@ config PNFS_BLOCK config PNFS_FLEXFILE_LAYOUT tristate - depends on NFS_V4_1 && NFS_V3 + depends on NFS_V4_1 default NFS_V4 config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN