Re: 5.13.2-rc and others have many not for stable

From: Greg Kroah-Hartman
Date: Wed Jul 14 2021 - 13:34:18 EST


On Wed, Jul 14, 2021 at 01:21:59PM -0400, Theodore Y. Ts'o wrote:
> On Wed, Jul 14, 2021 at 05:46:22PM +0200, Greg Kroah-Hartman wrote:
> >
> > The number of valid cases where someone puts a "Fixes:" tag, and that
> > patch should NOT be backported is really really slim. Why would you put
> > that tag and not want to have known-broken kernels fixed?
> >
> > If it really is not an issue, just do not put the "Fixes:" tag?
>
> I think it really boils down to what the tags are supposed to mean and
> what do they imply.
>
> The argument from the other side is if the Stable maintainers are
> interpreting the Fixes: tag as an implicit "CC: stable", why should we
> have the "Cc: stable" tag at all in that case?

I would love to not have to look at the Fixes: tag, but today we have to
because not all subsystems DO use cc: stable.

We miss loads of real fixes if we only go by cc: stable right now. If
you can go and fix those subsystems to actually remember to do this
"properly", wonderful, we will not have to mess with only Fixes: tags
again.

But until that happens, we have to live with what we have. And all we
have are "hints" like Fixes: to go off of.

> We could also have the policy that in the case where you have a fix
> for a bug, but it's super subtle, and shouldn't be automatically
> backported, that the this should be explained in the commit, e.g.,
>
> This commit fixes a bug in "1adeadbeef33: lorem ipsum dolor sit
> amet" but it is touching code which subtle and quick to anger, the
> bug isn't all that serious. So please don't backport it
> automatically; someone should manually do the backport and run the
> fooblat test before sumitting it to the stable maintainers.

That's wonderful, I would love to see that more, and we do see that on
some commits. And we mostly catch them (I miss them at times, but
that's my fault, not the developer/maintainers fault.)

> Andrew seems to be of the opinion that these sorts of cases are very
> common. I don't have enough data to have a strong opinion either way.
> But if you are right that it is a rare case, then sure, simply
> omitting the Fixes: tag and using text in the commit description would
> work. We just need to agree that this is the convention that we all
> shoulf be using.
>
> I still wonder though what's the point of having the "Cc: stable" tag
> if it's implicitly assumed to be there if there is a Fixes: tagle.

Because cc: stable came first, and for some reason people think that it
is all that is necessary to get patches committed to the stable tree,
despite it never being documented or that way. I have to correct
someone about this about 2x a month on the stable@vger list.

thanks,

greg k-h