Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3424083pxb; Mon, 24 Jan 2022 09:15:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqabAntp0WpnWzoEOeDzZi41AeURpT3ZF9Lf4Je+jShCqzGlAtHGXmzXAgofmaBotJLjaN X-Received: by 2002:a17:90b:fc6:: with SMTP id gd6mr2791401pjb.225.1643044518991; Mon, 24 Jan 2022 09:15:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643044518; cv=none; d=google.com; s=arc-20160816; b=YD9GlQcpz0A3lM+qLZDS1Wy2i60NYA6C1YzBkNtzOApS7x99HSIubSlsB3Kf7zrM8j eIg6c7q1XNQclXnsIFdUR7E7Rs4pzI/KuQxME9/GrADP5N5JU8g1+VFT59DhkJUAOnpg i+lDTOeaf9/NXljBDyCJUisP2aOUM50dEOHODkJCNKT8J1Fvvyfe3foHGmCc7CvqWM4M v7gSDz4LZl/NPbk/S2V8ZowNIcajQrK3pNNxoNfdlCCGkHu7x5CfrQ3WjZvpWLWWnI96 uJPdN0NvNNhNRcwjFHl0O97HJaor+JTyhHw7ru//yvWd4SEmxKiIRoz6Ye1CO0XGV2YZ FbVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=OTyPEQDRmkQ+qcAPzVDveelCYqDuxJTJRFqBr095D38=; b=Jdw2vDKFsFUVeWjlR17UrTw0d/TRA4Uc+NP/eQTUgVA0ZhCUhb+vic+G+sD/ZTyCXK 3hW4fWB2DJ4+bFmkHvcvlgtmGHFp06zOnWtlpQqmtd0R63qF/zTE8ux6q/v7lMKvQ9b6 kWBgd0QX6iUqLBVCLui8gFNsUi4QZqVaYWvJgqjvoU0JoVb93dtxsSSqlgfnRpPwwZan mMRMWMEDP8Da/xV5agtUIPdK2ZUsIBQAGpiPcfxih2+tpXYjDnZ7Zn+0nQE+z4s4HXYP LFLnJPbyIW/CyBGZk5tZ5XAthSs5XCVrysbsEyfImMEtLB60tR7iZMAIP0TFGg2hJ6dH fQrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="j3/KALv4"; dkim=neutral (no key) header.i=@suse.cz header.b=6kQFbu1F; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si14817253pfu.291.2022.01.24.09.14.58; Mon, 24 Jan 2022 09:15:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="j3/KALv4"; dkim=neutral (no key) header.i=@suse.cz header.b=6kQFbu1F; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241104AbiAXFf3 (ORCPT + 99 others); Mon, 24 Jan 2022 00:35:29 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:50028 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229623AbiAXFf3 (ORCPT ); Mon, 24 Jan 2022 00:35:29 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 351051F380; Mon, 24 Jan 2022 05:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1643002528; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=OTyPEQDRmkQ+qcAPzVDveelCYqDuxJTJRFqBr095D38=; b=j3/KALv4ndNRWJBl8lDzFTKaVLwjLhs2zwVHfRpqBvAkojo2ETZIbxWKxGh5fxz1p1rpnc Af8vpqTY/6WqoL+GhIFreujuciP4nIoyZZ96ojK1zJBXa3WE1VgdLYjWrSiXUJCxRmzTy7 J6lqWAgGg5YyLx7ONlHQPooxMebcXhw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1643002528; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=OTyPEQDRmkQ+qcAPzVDveelCYqDuxJTJRFqBr095D38=; b=6kQFbu1FyhQJvxwF9kvQXbdKtD05MpH8mDUNoyKS2VmDM+hdZLQ5do3xEHaHBWykPKPDs1 ZgU9D+RiiJV0FDDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 044D01331A; Mon, 24 Jan 2022 05:35:27 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ljVjOp867mGoYwAAMHmgww (envelope-from ); Mon, 24 Jan 2022 05:35:27 +0000 Date: Mon, 24 Jan 2022 06:35:26 +0100 From: Petr Vorel To: Steve Dickson Cc: linux-nfs@vger.kernel.org, Yongcheng Yang Subject: Re: [PATCH 1/1] utils: Fix left debug info Message-ID: Reply-To: Petr Vorel References: <20220122180243.19355-1-pvorel@suse.cz> <67d7bba1-d4e5-00be-c198-8501df6e61e1@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67d7bba1-d4e5-00be-c198-8501df6e61e1@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > Hey! > This patch is pretty messed up. > On 1/22/22 13:02, Petr Vorel wrote: > > Patch for 497ffdf8 ('manpage: remove the no longer supported value > > "vers2"') [1] didn't contain printf in exportfs.c (looks like debugging > > info) and errno handling in stropts.c (maybe work on other patch) which > > were applied. Thus removing it. > Someone pointed it to me that with 2 v3 auto-negotiation > on the same mount the is error EPROTONOSUPPORT > instead of EBUSY so this test > if (errno != EBUSY) > errno = olderrno; > seemed to work but unfortunately I can > not find the patch/bz or thread we were > communicating in... So I am going to > remove the test until I get (or find) the > official patch Hi Steve, thanks a lot for explanation. Also not sure if it needs to be removed, but there are at least few places which mention NFS version 2. $ git grep -i nfs.version.2 utils/mountd/mountd.man:an NFS side protocol used by NFS version 2 [RFC1094] and NFS version 3 [RFC1813]. utils/mountd/mountd.man:can support both NFS version 2, 3 and 4. If the utils/mountd/mountd.man:can support both NFS version 2 and the newer version 3. utils/nfsstat/nfsstat.c: -2 Show NFS version 2 statistics\n\ utils/statd/sm-notify.man:For NFS version 2 and version 3, the utils/statd/statd.man:For NFS version 2 [RFC1094] and NFS version 3 [RFC1813], the Kind regards, Petr > Committed! > thanks, > steved.