Re: [RFC PATCH v8 1/4] rust: io: add FallibleIoCapable

From: Andy Shevchenko

Date: Thu Dec 03 2026 - 11:34:18 EST


On Thu, Dec 03, 2026 at 04:11:25PM +0100, Miguel Ojeda wrote:
> On Thu, Dec 3, 2026 at 3:16 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxx> wrote:
> >
> > Please! We really need to clarify more to avoid such time-consuming
> > discussions.
>
> Sounds good, will do.
>
> > Yes, it's fine, but Closes + Reported-by are distinct even if in a wrong order.
> > (and even if there are 2+ of those pairs, but yes, order helps to connect).
> >
> > Link is broader tag. And when unreferred it's really hard to see. Even in the
> > above citation the Link is only allowed when the issue is fixed *partially*
> > which means to me that the commit message should probably mention that
> > explicitly and use _referred_ Link tag.
>
> Hmm... I am not sure I follow or if we are disagreeing or not here.
>
> If the issue is closed, then one uses Closes. If it is partially
> closed, then one uses Link. Either way, it follows the Reported-by and
> thus it is clear it is about the report. It is unrelated to other Link
> tags used by the commit message (which yes, would ideally be
> "referred" from the text, and ideally not placed right below that kind
> of tag).

Yes, that's how it is documented now. But this is exactly the problem
that if there are 2+ Link tags and they for some reason follow each other.
Consider this example

Reported-by: First Last
Link: blablabla
Link: foofoofoo

Which one for which? follows doesn't mean immediately follows. I think
the partial fix has to be a referred Link.

> If it is not obvious why the commit only partially closes it, then
> sure, one can add a comment in the commit message. I am not
> disagreeing with that (on in general with adding clarifications where
> needed).

Again, it's not clear even with a single link. Because in my mind, like
we just noticed in the discussion, even message-id like Link tag at a
brief view is odd. I need more energy to understand why that Link tag is
in the message.

> Similarly, Suggested-by can be followed by a Link (the docs don't say
> that, but that is my suggestion, so that we can consider those also
> "referred").

I think it's not required, but if it has some useful information *in addition
to* the commit message of the patch, the referred Link can be added.
Consider this example:

message 1:
(From: First Last) I suggest you to use temporary variable.

patch:
Use temporary variable for blablabla.
Suggested-by: First Last

In this case any Link tag is redundant in regard to the Suggested-by as it
*does not* add anything to the commit message.

> And then there are the msgid ones which are also "referred" since they
> have a different domain for that purpose.

These are the only Link tags that I consider referred by themselves.

> And then there are other Links, for which, yeah, I agree one should
> add a reference when useful (though not mandatory today, from my
> reading of the docs).

Yes, that's what I want to.

> At the end of the day, this is about trying to confer information
> without repeating ourselves too much...
>
> > No, the point is to have the same (or close enough) idea to be implemented.
> > If the suggestion was a doctored record, how can we rely on it? It has to
> > be acknowledged. Or at least it should need an acknowledgement.
>
> I don't follow what you are trying to say. The tag doesn't require
> permission, and thus nobody should hold you accountable for someone
> else's mistake.
>
> Nobody "relies" on this tag for anything, or at least I am not
> understanding what you meant by "rely on it". What do you think people
> rely on it for?

Imagine if the "suggested" idea was bad at the end, but there were no such
(confirmed or acknowledged) suggestion, this will affect *my* reputation in
case somebody put *my* name to that tag. This is an important nuance I think.

> > Yes, if anybody uses *my* name for something, I really wanna check that.
> > There were several cases when I explicitly mentioned that Suggested-by
> > with my name was a mistake. And that's why it needs the acknowledgement.
> >
> > We need to clarify this in the documentation as well.
>
> That would be a change to the current policy (from my reading of the
> docs, at least, i.e. not just a clarification), which may be fine (and
> I understand it can be frustrating if someone makes a mistake with
> your name), but there is a cost to require permission in all cases
> too, i.e. it is a balance.

Yes, and currently it assumes that Suggested-by person should confirm
the suggestion. Currently it works "by trust" which might be abused or
mistaken. In lieu of the tons of emails nowadays it's really hard to
follow all of them and filter Suggested-by (yes, there are tools that
may help with filtering, but still needs an additional work). My point
is that for the maintainer the unconfirmed Suggested-by should be not
recognized as a such.

> In any case, when someone adds such a tag, there is a chance to
> correct the mistake, since one should be Cc'd, plus the maintainer
> should also check the tags make sense when applying. But mistakes can
> still happen, of course.

Right.

> Recommending a Link to follow the Suggested-by may reduce the number
> of mistakes too, which is why I was bringing it up.

I'm not objecting that, but having it just to repeat what's already written in
the commit message is not valuable in my opinion.

P.S. I'm truly don't know where you get so much time and energy for this
discussion. Let go with documentation update rather than continue spending
precious time on this.

--
With Best Regards,
Andy Shevchenko