Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1345082pxf; Fri, 12 Mar 2021 07:34:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoEnf0PNy63phXf9M2BViT5TQHdnZ8qiuOwuzAikcuug1hylTwdHiHa87oNdNLEPbC0xn7 X-Received: by 2002:aa7:d3d8:: with SMTP id o24mr14811752edr.165.1615563263850; Fri, 12 Mar 2021 07:34:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615563263; cv=none; d=google.com; s=arc-20160816; b=YoQ32Cwz/7+aeH355E5rJF88K/QDGeY7qa2F5clyPzXHvSA3xmWAmp5y7Wp0EtdH0u Ar+MMa81NkyOtV1wkafainJ9lIAb3iO/0wDIcXtyiR4+2hJi+i43utdYundChqBK0/73 Niz8O15WCsmaLn4qY9+mDe/0K+rKY9wyMokxx6V8RLVV7I3hkeQ1HB9A+nTwVjE5MWiq YGnM+Ev1VMFmMvURFtYEbh9hy6I5ivyVFH1V8aEGvtmVqNu1hkQG8PuWryStM6mGo51B VMk189sCV55h5YhI/uLFq9A8ujsXLYMluYV+QY0zjqvKLdIWno9gyZI2mHE8pXysYo54 gQHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=RWDh1DWb4mYh7To2VZfVF4XABo/kcvm07teheztr2iI=; b=HfyyKsvVJJWsLwGVBhlxr6PWNY7M6slQ1d36cwnRbfd0sdRzfyCVkLgKMhKrGQhAXZ Y2OQowIHSV8fx5j+UOI1euwJTvGPAuuniXxNs4mi5UebXN32SPuSfqiJhUUBH5l59UkM nhWRzkeZo/Mmuast92pDBp8FgDnNBTCn0uv0Vx5v7Jyr9X7c6J1+qTrTwVhyn2hOuouV Tx+cn70ovRhK5cuIYs0LDfGaJmJ9dQErZKdtxR2XD1ctpYoN6ugFcIQw3tcyNH6YWCTx qLq4hxIKtqmF+n8POhZNjcef8gjG+HmMaUUkv637U1HhaoLzsz7IcDW0mWuC1oBcBr7W mJyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=xfeE6R0M; 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 bt20si4473790edb.201.2021.03.12.07.33.54; Fri, 12 Mar 2021 07:34:23 -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=@fieldses.org header.s=default header.b=xfeE6R0M; 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 S231679AbhCLPdS (ORCPT + 99 others); Fri, 12 Mar 2021 10:33:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231636AbhCLPc7 (ORCPT ); Fri, 12 Mar 2021 10:32:59 -0500 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5FABC061574 for ; Fri, 12 Mar 2021 07:32:58 -0800 (PST) Received: by fieldses.org (Postfix, from userid 2815) id 1D91025FE; Fri, 12 Mar 2021 10:32:57 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 1D91025FE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1615563177; bh=RWDh1DWb4mYh7To2VZfVF4XABo/kcvm07teheztr2iI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xfeE6R0MizMvkWZYycZdBiqoEZ7f3Bqx9lzAPmS1+NpIaJL+3GCE9r7PW6jC1L4/z LFTUCTVGFocHun/ijajqGQuU96Ysa8K6tK35BW+rC/ig09/E2XZ70gyxmEMepb9yGW irpxfHtsqEVFdWKw/LjnSoQqYnD6BQdO0PTbOLOk= Date: Fri, 12 Mar 2021 10:32:57 -0500 From: "J . Bruce Fields" To: Paul Menzel Cc: Chuck Lever , linux-nfs@vger.kernel.org Subject: Re: [PATCH] nfsd: Demote UMH upcall init message from warning- to info-level Message-ID: <20210312153257.GC24008@fieldses.org> References: <20210312112840.49517-1-pmenzel@molgen.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Mar 12, 2021 at 12:33:00PM +0100, Paul Menzel wrote: > 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? Could be. I think debug-level would be fine. --b.