public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <ukleinek@kernel.org>
To: David Howells <dhowells@redhat.com>,
	Christian Brauner <brauner@kernel.org>
Cc: Jeff Layton <jlayton@kernel.org>,
	netfs@lists.linux.dev, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] netfs: Revert "netfs: Switch debug logging to pr_debug()"
Date: Tue, 6 Aug 2024 17:35:32 +0200	[thread overview]
Message-ID: <0d0cdc83-0195-4dd6-8346-eabd1159cabd@kernel.org> (raw)
In-Reply-To: <1410685.1721333252@warthog.procyon.org.uk>

Hello David,

On 7/18/24 22:07, David Howells wrote:
>      
> Revert commit 163eae0fb0d4c610c59a8de38040f8e12f89fd43 to get back the
> original operation of the debugging macros.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>
> cc: Uwe Kleine-König <ukleinek@kernel.org>
> cc: Christian Brauner <brauner@kernel.org>
> cc: Jeff Layton <jlayton@kernel.org>
> cc: netfs@lists.linux.dev
> cc: linux-fsdevel@vger.kernel.org
> Link: https://lore.kernel.org/r/20240608151352.22860-2-ukleinek@kernel.org
> ---
>   fs/netfs/buffered_read.c  |   14 +++++++-------
>   fs/netfs/buffered_write.c |   12 ++++++------
>   fs/netfs/direct_read.c    |    2 +-
>   fs/netfs/direct_write.c   |    8 ++++----
>   fs/netfs/fscache_cache.c  |    4 ++--
>   fs/netfs/fscache_cookie.c |   28 ++++++++++++++--------------
>   fs/netfs/fscache_io.c     |   12 ++++++------
>   fs/netfs/fscache_main.c   |    2 +-
>   fs/netfs/fscache_volume.c |    4 ++--
>   fs/netfs/internal.h       |   33 ++++++++++++++++++++++++++++++++-
>   fs/netfs/io.c             |   12 ++++++------
>   fs/netfs/main.c           |    4 ++++
>   fs/netfs/misc.c           |    4 ++--
>   fs/netfs/write_collect.c  |   16 ++++++++--------
>   fs/netfs/write_issue.c    |   36 ++++++++++++++++++------------------
>   15 files changed, 113 insertions(+), 78 deletions(-)

I just found this patch as commit 
a9d47a50cf257ff1019a4e30d573777882fd785c in mainline, missed the mail 
earlier, so I'm replying just now.

In my eyes the commit log is poor and it should better highlight what 
the advantage of the original debugging macros are.

After some more digging (which the commit log should ideally highlight) 
I found the next commit that addresses parts of the concerns mentioned 
in the reverted commit's description, by introducing CONFIG_NETFS_DEBUG.

I still don't get the advantage of reimplementing stuff that pr_debug() 
already does. Am I missing something? Isn't a generic deubg mechanism 
that most people know better than something invented for a specific driver?

Best regards
Uwe

      parent reply	other threads:[~2024-08-06 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-18 20:07 [PATCH 1/2] netfs: Revert "netfs: Switch debug logging to pr_debug()" David Howells
2024-07-18 20:10 ` [PATCH 2/2] netfs: Rename CONFIG_FSCACHE_DEBUG to CONFIG_NETFS_DEBUG David Howells
2024-08-06 15:35 ` Uwe Kleine-König [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0d0cdc83-0195-4dd6-8346-eabd1159cabd@kernel.org \
    --to=ukleinek@kernel.org \
    --cc=brauner@kernel.org \
    --cc=dhowells@redhat.com \
    --cc=jlayton@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netfs@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox