Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1174798pxf; Fri, 12 Mar 2021 03:52:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpQePjX/fQLVFA9ml4Xn4BuvlRRDyYSksLoDcnu71nQk7bXiAdazqqr0Lbjufvax9tTx8c X-Received: by 2002:a17:906:1a16:: with SMTP id i22mr8169988ejf.522.1615549932770; Fri, 12 Mar 2021 03:52:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615549932; cv=none; d=google.com; s=arc-20160816; b=YbTdSXPOSkPYhbZRpYpl98QCII9lO7ErA9YoKPrmb1IaUNIjKtSMogxy1jg9PQM/1c 1BjAWpf8g0aUIqZW2y/VYGI4GpvnzI8Z9zWNZZO1xr/2gIbEAIqmkrDSYUg+j8Ut8k5u VXm6VsoLbmqksdICbAYowSFCxAAE52zIuFfPWBm+P/15YA+eEecCUwD5ebMtg7cnUt1j oY1usGHCzWjxnrSYpjDrfsnz+6BAhYOaLgpuZ+hOooTlv14O3NnHyKu8IWt08wy8vYzM lIu3zWB+J/wg3bm5fBaGGeCx0+u+Xmgs+Pe5P8aRFlUwP/TmMNWbZY9KN5RV8e+sa3fI de2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=kBQlHh/FuEgMFt1WyhBZuuFuLd4+bclPBBfuwwQ8b/Y=; b=EZ81TqN09yeFpHBZYISrdTq+ERyqAHqhpYh7rlEBD5nIaalN3wVY+Y6vJvlOVI1ubp nqOHWNmRcTtU8ntUppEt/a5BAHlnCQW1rXZb75GFSzqomrMTH9QjQ2cALW7AZpQMMuKe te3dqd5xhLY98LLIrdsr4N4aXCZbC3C5rlZOdo1xgmbikqp9zlCJPFrEGRRRKwSfRAOY yYFBWpTu2DMRWIFsJapgTPx4p/2O8vnUuS5AewhXzlY5a6GLGtYRVu2S3YWBMQfgOny5 s7VX0ev4IHmjacQSUsD2axSAS+Wlyh4+Biq6webyp6+QfzEI9rfUIJH7RWHt7jF1enJq 3elA== ARC-Authentication-Results: i=1; mx.google.com; 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 k24si3974596ejs.280.2021.03.12.03.51.44; Fri, 12 Mar 2021 03:52:12 -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; 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 S232105AbhCLLdM (ORCPT + 99 others); Fri, 12 Mar 2021 06:33:12 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:53537 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232194AbhCLLdC (ORCPT ); Fri, 12 Mar 2021 06:33:02 -0500 Received: from [192.168.0.2] (ip5f5aeac2.dynamic.kabel-deutschland.de [95.90.234.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 6C8B9206479CD; Fri, 12 Mar 2021 12:33:01 +0100 (CET) Subject: Re: [PATCH] nfsd: Demote UMH upcall init message from warning- to info-level To: "J . Bruce Fields" , Chuck Lever Cc: linux-nfs@vger.kernel.org References: <20210312112840.49517-1-pmenzel@molgen.mpg.de> From: Paul Menzel Message-ID: Date: Fri, 12 Mar 2021 12:33:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210312112840.49517-1-pmenzel@molgen.mpg.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Dear Linux folks, Am 12.03.21 um 12:28 schrieb Paul Menzel: > By default, using `printk()`, Linux logs messages with level warning, > which leaves the user seeing > > NFSD: Using UMH upcall client tracking operations. > > what to do about it. Reading `nfsd4_umh_cltrack_init()`, the message is > actually logged on success, so nothing needs to be done, and the info > level should be used. > > Cc: linux-nfs@vger.kernel.org > Signed-off-by: Paul Menzel > --- > fs/nfsd/nfs4recover.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c > index 891395c6c7d3..db66c45a6b97 100644 > --- a/fs/nfsd/nfs4recover.c > +++ b/fs/nfsd/nfs4recover.c > @@ -1864,7 +1864,7 @@ nfsd4_umh_cltrack_init(struct net *net) > ret = nfsd4_umh_cltrack_upcall("init", NULL, grace_start, NULL); > kfree(grace_start); > if (!ret) > - printk("NFSD: Using UMH upcall client tracking operations.\n"); > + pr_info("NFSD: Using UMH upcall client tracking operations.\n"); > return ret; > } A debug-level message could also be used, or the line totally removed, and the condition be changed to print an error in case of failure. I am wondering about the benefit for the user reading through the logs. Maybe the log was only there, because UMH upcall client tracking operations were something new? Kind regards, Paul