tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Linus Torvalds <torvalds@linuxfoundation.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
	users@kernel.org, tools@linux.kernel.org
Subject: Re: In defense of Link (was Re: [b4] initial "b4 dig" to supplant Link: trailers)
Date: Mon, 13 Oct 2025 17:59:26 -0400	[thread overview]
Message-ID: <20251013215926.GK354523@mit.edu> (raw)
In-Reply-To: <CAHk-=whSShtPG1_+02Cc4yDuEJxVqX=G8tAx0gW7UjA7cuBp-w@mail.gmail.com>

On Mon, Oct 13, 2025 at 10:00:01AM -0700, Linus Torvalds wrote:
> What's the real argument against "b4 dig"?

At the moment:

   https://goomics.net/50

"There are two ways of doing things at Google; the deprecated way
(e.g., Link Tag), and the one which isn't ready yet."   :-)

It's *close*, and it's not yet available to most developers unless
they are running out of b4's git HEAD.  I did try using it on a
selection of patches, and I was pleasantly surprised how often it
worked.  But it's definitely not perfect.  For example:

% /usr/projects/linux/b4/b4.sh dig -c 1d3ad183943b38eec2acf72a0ae98e635dc8456b
Digging into commit 1d3ad183943b38eec2acf72a0ae98e635dc8456b
Attempting to match by exact patch-id...
Trying to find matching series by patch-id 7f91856ff1f9b87a4fcaf69134fc715a706cb86a
Grabbing search results from lore.kernel.org
WARNING: duplicate messages found at index 1
   Subject 1: Forwarded: [PATCH v3] ext4: detect invalid INLINE_DATA + EXTENTS flag combination
   Subject 2: Forwarded: [PATCH v4] ext4: detect invalid INLINE_DATA + EXTENTS flag combination
  2 is not a reply... assume additional patch
WARNING: duplicate messages found at index 1
   Subject 1: Forwarded: [PATCH v2] ext4: detect invalid INLINE_DATA + EXTENTS flag combination
   Subject 2: Forwarded: [PATCH v3] ext4: detect invalid INLINE_DATA + EXTENTS flag combination
  2 is not a reply... assume additional patch
WARNING: duplicate messages found at index 1
   Subject 1: Forwarded: [PATCH] ext4: validate extent entries before caching in ext4_find_extent()
   Subject 2: Forwarded: [PATCH v2] ext4: detect invalid INLINE_DATA + EXTENTS flag combination
  2 is not a reply... assume additional patch
WARNING: duplicate messages found at index 1
   Subject 1: Forwarded: [PATCH] ext4: validate extent entries before caching in ext4_find_extent()
   Subject 2: Forwarded: [PATCH] ext4: validate extent entries before caching in ext4_find_extent()
  2 is not a reply... assume additional patch
WARNING: duplicate messages found at index 1
   Subject 1: Forwarded: [PATCH] ext4: fix BUG_ON in ext4_es_cache_extent due to out-of-order extents
   Subject 2: Forwarded: [PATCH] ext4: validate extent entries before caching in ext4_find_extent()
  2 is not a reply... assume additional patch
WARNING: duplicate messages found at index 1
   Subject 1: Forwarded: [PATCH] ext4: fix BUG_ON in ext4_es_cache_extent due to out-of-order extents
   Subject 2: Forwarded: [PATCH] ext4: fix BUG_ON in ext4_es_cache_extent due to out-of-order extents
  2 is not a reply... assume additional patch
WARNING: duplicate messages found at index 1
   Subject 1: Forwarded: [PATCH] ext4: Fix extent boundary validation in extent tree
   Subject 2: Forwarded: [PATCH] ext4: fix BUG_ON in ext4_es_cache_extent due to out-of-order extents
  2 is not a reply... assume additional patch
Found matching series by patch-id
---
This patch is present in the following series:
---
  v1: Forwarded: [PATCH] ext4: Fix extent boundary validation in extent tree
      https://lore.kernel.org/r/68d8e78f.050a0220.25d7ab.04c8.GAE@google.com
  v4: [PATCH v4] ext4: detect invalid INLINE_DATA + EXTENTS flag combination
      https://lore.kernel.org/r/20250930112810.315095-1-kartikey406@gmail.com

If you look at the first Lore URL, it is absolutely NOT CORRECT.  This
isn't purely b4's fault.  the problem is we have some developers who
are blindly sending random patches bashing at the code to see if they
can make syzbot stop complaining.  But it results in a fairly
confusing patch history.


I can also imagine some UI polish; for excample, a bunch of *how* b4
dig tried to find thigns should probably only show up with a -v
verbose option.

And when displaying thje results, it would be useful if it (a) printed
the date (and how it relates to the commit date), and (b) flag whether
the patch-id is an exact match, or whether it isn't with perhaps some
kind of diference score, so the human being knows whether they need to
take a closer look.

					- Ted

P.S.  "Mindless" is also a way of saying, "decreasing the load on
overloaded maintainers".  Something like a mindless inclusion of a
Message-ID tag would add an extra 60-80 characters of overhead into
the commit trailer; I can understand why Linus might not like it, but
from the perspectve of saving time from maintainers, I'm going to be
selfish enough to want something that saves me time.

If "b4 dig" can be made good enough that 99% of the time, it works
just as well as mnually inserted metadata, great!  It's just that "b4
dig" is still a little rough around the edges, and I suspect many
people haven't tried using it yet.  Hence the interest in other
alternatives...

  parent reply	other threads:[~2025-10-13 21:59 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-11  5:59 In defense of Link (was Re: [b4] initial "b4 dig" to supplant Link: trailers) Paolo Bonzini
2025-10-11  6:13 ` Willy Tarreau
2025-10-11  6:33   ` Paolo Bonzini
2025-10-15  8:56     ` Geert Uytterhoeven
2025-10-11  6:39   ` Jiri Slaby
2025-10-11 10:33   ` Mark Brown
2025-10-12 23:27     ` Jason Gunthorpe
2025-10-13  8:18       ` Vlastimil Babka (SUSE)
2025-10-13  8:27         ` Paolo Bonzini
2025-10-13  8:42           ` Willy Tarreau
2025-10-13  8:48             ` Jiri Slaby
2025-10-13  8:56               ` Willy Tarreau
2025-10-13 11:21                 ` Laurent Pinchart
2025-10-13 14:26                   ` [workflows]Re: " Steven Rostedt
2025-10-13 14:39                     ` Laurent Pinchart
2025-10-13 14:59                       ` Steven Rostedt
2025-10-13 15:04                         ` Laurent Pinchart
2025-10-13 15:44                           ` Steven Rostedt
2025-10-13 11:03           ` Mark Brown
2025-10-13 11:49             ` James Bottomley
2025-10-13 12:15               ` Mark Brown
2025-10-13 12:29               ` Paolo Bonzini
2025-10-13 12:47                 ` James Bottomley
2025-10-13 13:02                   ` Jürgen Groß
2025-10-15 18:05                   ` Jeff Johnson
2025-10-16 16:47     ` Linus Torvalds
2025-10-13 12:21 ` Michael S. Tsirkin
2025-10-13 17:00   ` Linus Torvalds
2025-10-13 18:14     ` Paolo Bonzini
2025-10-13 18:53       ` Linus Torvalds
2025-10-13 20:12         ` Junio C Hamano
2025-10-13 21:44           ` Linus Torvalds
2025-10-13 23:22             ` Sasha Levin
2025-10-14  1:29               ` Linus Torvalds
2025-10-14  3:39             ` Willy Tarreau
2025-10-16 14:52               ` Geert Uytterhoeven
2025-10-16 15:08                 ` Jason Gunthorpe
2025-10-16 15:33                   ` Geert Uytterhoeven
2025-10-13 22:31         ` Paolo Bonzini
2025-10-14  6:47           ` Jiri Slaby
2025-10-13 21:59     ` Theodore Ts'o [this message]
2025-10-13 23:09     ` Michael S. Tsirkin
2025-10-14  1:23       ` Linus Torvalds
2025-10-14 10:38         ` Michael S. Tsirkin
2025-10-14 16:56           ` Linus Torvalds
2025-10-14 18:05             ` Luck, Tony
2025-10-14 18:41               ` Linus Torvalds
2025-10-14 19:09                 ` Paolo Bonzini
2025-10-14 21:10                 ` Jason Gunthorpe
2025-10-15  7:37                 ` Geert Uytterhoeven
2025-10-15  7:33     ` Geert Uytterhoeven
2025-10-15  9:38       ` Miguel Ojeda
2025-10-15 12:11         ` Mark Brown
2025-10-15 13:50           ` James Bottomley
2025-10-15 13:59             ` Jürgen Groß
2025-10-15 15:08             ` Mark Brown
2025-10-15 15:14             ` Peter Zijlstra
2025-10-15 15:18               ` [workflows]Re: " Steven Rostedt
2025-10-15 15:53                 ` Peter Zijlstra
2025-10-15 15:59                   ` Steven Rostedt
2025-10-15 16:06                     ` Peter Zijlstra
2025-10-15 16:15                       ` Steven Rostedt
2025-10-15 16:43                         ` Mark Brown
2025-10-15 16:15                       ` Vlastimil Babka (SUSE)
2025-10-15 16:44                         ` Steven Rostedt
2025-10-15 16:58                           ` Konstantin Ryabitsev
2025-10-16  9:28                             ` Matthieu Baerts
2025-10-15 17:01                           ` Miguel Ojeda
2025-10-15 18:40                       ` Laurent Pinchart
2025-10-16  7:32                         ` Peter Zijlstra
2025-10-16  8:20                           ` Vlastimil Babka (SUSE)
2025-10-16 13:58                             ` Steven Rostedt
2025-10-15 14:37           ` Miguel Ojeda
2025-10-15 14:50         ` [workflows]Re: " Steven Rostedt
2025-10-15 13:51       ` Martin K. Petersen
2025-10-15 14:16         ` Konstantin Ryabitsev
2025-10-15 14:42           ` Miguel Ojeda
2025-10-15 15:03             ` Jason Gunthorpe
2025-10-15 14:55           ` [workflows]Re: " Steven Rostedt
2025-10-15 17:34           ` Martin K. Petersen
2025-10-15 14:51         ` Geert Uytterhoeven

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=20251013215926.GK354523@mit.edu \
    --to=tytso@mit.edu \
    --cc=konstantin@linuxfoundation.org \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=tools@linux.kernel.org \
    --cc=torvalds@linuxfoundation.org \
    --cc=users@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).