Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1659625lqe; Mon, 8 Apr 2024 16:30:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVhVkWqJAwpybFH+W4xrHcjXt5wh7+Exq1ZJ8lxxunRCXkZ6OO+zLwUezyT2ByHaN2jxzAhHhsZpzI5AQYnTJKVP3hW4z1IMkIuzAk8gQ== X-Google-Smtp-Source: AGHT+IEAb45YuDMGxr7UcNQELsZJop+tL1XSsCPcmmdLSIkW+Gi74v2QJE+X2cbxnhdQFj34FPm/ X-Received: by 2002:a05:6a20:9695:b0:1a7:8dd9:5fd3 with SMTP id hp21-20020a056a20969500b001a78dd95fd3mr1327727pzc.18.1712619021288; Mon, 08 Apr 2024 16:30:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712619021; cv=pass; d=google.com; s=arc-20160816; b=m1E95xXya1ioDhkfoHfU8dYSeA8E/G5KUDUn+4PuG0SAz1nYMARPQWqtpMiQa7V5Uo g7Gr6WBJFM4CzPK7nt8j0G/vzOsNSLoa6LfRBmqKb6ort6u3ldn3TA9BpZNrD1O+OlxM vFctW0DdRYz9M2jxaErBST/m6jOofzZfRxxs3oHH6jXAGNPf9YFDj168IjztrHuYWRDJ AhZWZnpgwHkZJuqJsleBt36ZDiLhaltyXOZ8WpW98FdEyFDtSRCNE2kMhAvjpLwGl0fe N7r+orknAK08ut7ooaoFZrCGSolb3IGokitPmYG9j1zUW9ZN8P+/AOLua9mYnJRVQFF7 CGjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:references:in-reply-to:subject:cc:to:from :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:dkim-signature:dkim-signature :dkim-signature:dkim-signature; bh=sCgKxYDV1WGtJX7A7AeKfiscYrpJ7Qn53HFIRBePbOM=; fh=UZuN/48i+KCxmlOstPdptvy+MWamzFD3an/c2LzSUKw=; b=Oc+Qco5jAAVsRg9/L65aDZmbgOshY+nVeGxb82TkEYG2+1RfqYdFWq28yNsN/z5wdb lDr+bVWDRKGKQmrISCcxvxrbFjrelDYtA2K9HuuoSuv6nqDZDxZUxCEHichceaXHDRSG 57TZWxI58sJ9N55AGCP62rAieZY0A5eAS0yZSMA68AHKjpKjxv+FZLn0ZcnrfkfMmiYx 7VL37m409dtiQzP/MC/xLucgK5SEryRhRMNw67j6ruWR0TN3139VYbuNszGiBBaEmZ3h IqYfwtMpfytQcKbGvv2GGUeJTH+pnQYJ6MRt8+VazDH3Fl4CjIDJcg02atMusmg8VgYa FjYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gh4MLppf; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gh4MLppf; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=5a2ZI9u9; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-nfs+bounces-2721-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2721-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q205-20020a632ad6000000b005f3dca40648si7219457pgq.880.2024.04.08.16.30.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 16:30:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2721-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gh4MLppf; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gh4MLppf; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=5a2ZI9u9; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-nfs+bounces-2721-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2721-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0E98C286D07 for ; Mon, 8 Apr 2024 23:22:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 95DCC376E4; Mon, 8 Apr 2024 23:22:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="gh4MLppf"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="5a2ZI9u9"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="gh4MLppf"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="5a2ZI9u9" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 977DE1DA5E for ; Mon, 8 Apr 2024 23:22:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712618527; cv=none; b=DSxAvHO/CHrsCvZl3BU/C5E1BAWnlXjvsKuxLT8vMUzw4Fhuzjs3PwjIUyTn9u5HRRYuCjJ46oCBjqS1LA1tqc/YObP0HKXwXQPW2sH8iokW3P0qEXwpnGv1A34YwlnPjSNz0UjrvZy190qGOWlQPDFgFwFmsiSxrSm0itT5lII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712618527; c=relaxed/simple; bh=V2BLnGDG+VEZzilg7sbkbebzvS5Q184WyPDWroq1Af8=; h=Content-Type:MIME-Version:From:To:Cc:Subject:In-reply-to: References:Date:Message-id; b=cz/vqPghUWeUKBpidBZpe98wkqM3UuE5mfJ+BxPMF7+IXMJw/0WTO13Oh0zL+TDwwlUyLdzvjtx45HuwfMx9RfLI/+1f8yAnra5WCo7bO4PTVSNiTwaEgnof1BFTjnB64eRUKCsZqjz9tdVx0tidkDO+5X0jhXfC+BMPxL2pyeo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=gh4MLppf; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=5a2ZI9u9; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=gh4MLppf; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=5a2ZI9u9; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 9A79920630; Mon, 8 Apr 2024 23:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712618523; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sCgKxYDV1WGtJX7A7AeKfiscYrpJ7Qn53HFIRBePbOM=; b=gh4MLppfkLuWSR4Omi0/PRXq62/U9JWHsDsTa07iF1LbcDdt/WOK5b3zuZoIfJdJcINW9c T4KxAxbel6N9sSXDtEo/fGqI1j9CYHG3F0MXv4b3KySU9YnLkz2kYTfIOoYUNWdKr1NYSc KEV/Pvsth9rFCikTXNoy1bkYFDXiSeo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712618523; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sCgKxYDV1WGtJX7A7AeKfiscYrpJ7Qn53HFIRBePbOM=; b=5a2ZI9u9OLgkQmTmYCrRVemgWQrUEjRgswUfITiUMhFGQ/XgztiiwjARmVrhbZlb0RWXcj qK6oNZyr13s08iDg== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=gh4MLppf; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=5a2ZI9u9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712618523; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sCgKxYDV1WGtJX7A7AeKfiscYrpJ7Qn53HFIRBePbOM=; b=gh4MLppfkLuWSR4Omi0/PRXq62/U9JWHsDsTa07iF1LbcDdt/WOK5b3zuZoIfJdJcINW9c T4KxAxbel6N9sSXDtEo/fGqI1j9CYHG3F0MXv4b3KySU9YnLkz2kYTfIOoYUNWdKr1NYSc KEV/Pvsth9rFCikTXNoy1bkYFDXiSeo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712618523; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sCgKxYDV1WGtJX7A7AeKfiscYrpJ7Qn53HFIRBePbOM=; b=5a2ZI9u9OLgkQmTmYCrRVemgWQrUEjRgswUfITiUMhFGQ/XgztiiwjARmVrhbZlb0RWXcj qK6oNZyr13s08iDg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 8374B13675; Mon, 8 Apr 2024 23:22:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id xpU0CRh8FGagTQAAD6G6ig (envelope-from ); Mon, 08 Apr 2024 23:22:00 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "NeilBrown" To: "Chen Hanxiao" Cc: "Chuck Lever" , "Jeff Layton" , "Olga Kornievskaia" , "Dai Ngo" , "Tom Talpey" , linux-nfs@vger.kernel.org Subject: Re: [PATCH] NFSD: remove redundant dprintk in exp_rootfh In-reply-to: <20240408150636.417-1-chenhx.fnst@fujitsu.com> References: <20240408150636.417-1-chenhx.fnst@fujitsu.com> Date: Tue, 09 Apr 2024 09:21:54 +1000 Message-id: <171261851499.17212.4957589707094499321@noble.neil.brown.name> X-Spam-Level: X-Spamd-Result: default: False [-2.39 / 50.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; BAYES_HAM(-0.88)[85.81%]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_SEVEN(0.00)[7]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,suse.de:dkim,fujitsu.com:email]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 9A79920630 X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Flag: NO X-Spam-Score: -2.39 On Tue, 09 Apr 2024, Chen Hanxiao wrote: > trace_nfsd_ctl_filehandle in write_filehandle has > some similar infos. Not all that similar. The dprintk you are removing includes the inode number and sb->s_id which the trace point don't include. Why do you think that information isn't needed? NeilBrown >=20 > write_filehandle is the only caller of exp_rootfh, > so just remove the dprintk parts. >=20 > Signed-off-by: Chen Hanxiao > --- > fs/nfsd/export.c | 3 --- > 1 file changed, 3 deletions(-) >=20 > diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c > index 7b641095a665..e7acd820758d 100644 > --- a/fs/nfsd/export.c > +++ b/fs/nfsd/export.c > @@ -1027,9 +1027,6 @@ exp_rootfh(struct net *net, struct auth_domain *clp, = char *name, > } > inode =3D d_inode(path.dentry); > =20 > - dprintk("nfsd: exp_rootfh(%s [%p] %s:%s/%ld)\n", > - name, path.dentry, clp->name, > - inode->i_sb->s_id, inode->i_ino); > exp =3D exp_parent(cd, clp, &path); > if (IS_ERR(exp)) { > err =3D PTR_ERR(exp); > --=20 > 2.39.1 >=20 >=20 >=20