Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3493738pxb; Sun, 20 Feb 2022 22:12:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxc7nHG/+ESHqBj4o0jbqB3I8izdaMHRGr5JrDF/gJSrKOLvT5z/kV9cwCdaa8/1yqXPU9P X-Received: by 2002:a17:903:183:b0:14f:2e5:4a85 with SMTP id z3-20020a170903018300b0014f02e54a85mr17994961plg.45.1645423931334; Sun, 20 Feb 2022 22:12:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645423931; cv=none; d=google.com; s=arc-20160816; b=VyG+8+gqN4uDPE01ENDoJ3ojreBljdS5pAJ1w9u7up7Mo5+heCI0rlTBKGdeTOE/wc TeGGFU16kElH8nIAM8rukkGWsm4oOu07i9gk4K+w2ija5h6C+kdpnV0hSVA8b2a9AnGo ZdLUbdElUYuZZS3XIdKvwXBtdFHTwmv3iKdmdDjRv/a8TbLNbNvfBxfDDi/KdEgxGZh+ +5IIvCK8Mt0k7sfFk/x1CplQMKHgTAYrQtvZMAkWp5zW4bna5n4yu97T4wDbHaATz4fJ qlfL62sAerSeDdFVhutP01JKaHpfX3FtkJJu7l5rGEWkXcjolFH4IBWzwaHJTIFDWhPN OzxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:subject:from:to :content-language:user-agent:mime-version:date:message-id; bh=kbzzDLt+pAXg5PNyouzANHLPC7KpFXx+aV6eM2nFWCE=; b=kIAl45rGToYczFvRIQZnYvbxNq8TYxJnYpTEw+fZdQ+G/UoFYZj2IWuZTM65iueFGz CewKA+7Zn4DZtuTol/8zcV2bi36h0RyNukxPxLqES2PpyHCD3X478ToK720skb6jVdVc q5pQhf8v33VJnLwjxeDbIfEKYYZGazm16/2GBMXf50Skf8NjxfzaYPnIRqaHy47InNNf DwjtBiblcSU8nX26W4OFzFTpUSBKsHUAET6I7e6k9Ad3x/QL590ouKMu0jj6c8zibe4y tDP3GdTN0farkxkh4Bc93D6hjRoxrBp8N3H8/Syyyt10plWpwICuN2qUs+peis14ZlnT S8bA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11si3939007pga.94.2022.02.20.22.11.56; Sun, 20 Feb 2022 22:12:11 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242815AbiBTWfM (ORCPT + 99 others); Sun, 20 Feb 2022 17:35:12 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242065AbiBTWfL (ORCPT ); Sun, 20 Feb 2022 17:35:11 -0500 X-Greylist: delayed 489 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 20 Feb 2022 14:34:49 PST Received: from cc-smtpout2.netcologne.de (cc-smtpout2.netcologne.de [IPv6:2001:4dd0:100:1062:25:2:0:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B454C40F for ; Sun, 20 Feb 2022 14:34:48 -0800 (PST) Received: from cc-smtpin3.netcologne.de (cc-smtpin3.netcologne.de [89.1.8.203]) by cc-smtpout2.netcologne.de (Postfix) with ESMTP id EE8FA125B5; Sun, 20 Feb 2022 23:26:35 +0100 (CET) Received: from nas2.garloff.de (xdsl-89-0-244-240.nc.de [89.0.244.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin3.netcologne.de (Postfix) with ESMTPSA id 77DD211DDF; Sun, 20 Feb 2022 23:26:32 +0100 (CET) Received: from [192.168.155.16] (unknown [192.168.155.10]) by nas2.garloff.de (Postfix) with ESMTPSA id 18CB9B3B0027; Sun, 20 Feb 2022 23:26:24 +0100 (CET) Message-ID: <50bd4b4d-3730-4048-fcce-6c79dfe70acf@garloff.de> Date: Sun, 20 Feb 2022 23:26:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: Olga Kornievskaia From: Kurt Garloff Subject: 6f283634 / 1976b2b3 breaks NFS (QNAP/Linux kNFSD) Cc: linux-nfs@vger.kernel.org, Anna Schumaker , Trond Myklebust Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-NetCologne-Spam: L X-Rspamd-Queue-Id: 77DD211DDF X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,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 Hi Olga, your upstream commit 1976b2b3, applied to 5.15.24 as 6f283634 breaks NFS for me. This is while mounting many NFS filesystems from two NFS servers, one Qnap (nfs v4.1) and one linux 5.15.16 knfsd (nfs v4.2). The NFS mounts just would not succeed. This appears to happen to all Qnap mounts and one of the mounts from the linux knfsd. I did some bisecting in 5.15.24 ... reverting 6f283634 and subsequent NFS/sunRPC patches from you and Xiyu, Anna did the trick to recover from this failure. To be precise: I reverted 4403233b 4b22aa42 5ca123c9 c5ae18fa be67be6a 6f283634 2df6a47a 0c5d3bfb 3cb5b317 58967a23 bbf647ec and 38ae9387 in 5.15.24. I started reenabling and 2df6aa647a is the last patch that still results a working NFS for me. Looking at the culprit patch, I could not immediately see what's wrong -- so I'll leave it to you. I guess the server does not return fs_locations in the way it's expected and thus the NFS mount hangs. I seem not to be the only one, see https://bbs.archlinux.org/viewtopic.php?pid=2022938 https://bugs.archlinux.org/task/73860 HTH, -- Kurt Garloff