Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: "Levin, Alexander" <alexander.levin@verizon.com>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"jslaby@suse.cz" <jslaby@suse.cz>,
	"ben@decadent.org.uk" <ben@decadent.org.uk>,
	"kamal@canonical.com" <kamal@canonical.com>,
	"dchinner@redhat.com" <dchinner@redhat.com>
Subject: Re: stable commit notes
Date: Wed, 24 Aug 2016 08:34:07 +0200	[thread overview]
Message-ID: <20160824063407.GA22178@1wt.eu> (raw)
In-Reply-To: <20160823175440.GA4182@sasha-lappy>

Hi Sasha,

On Tue, Aug 23, 2016 at 01:54:40PM -0400, Levin, Alexander wrote:
> I've decided to automate the bits I had for tracking stable mailing list
> discussion and wrap it into the git notes interface to make it easy for
> stable maintainers to track discussions related to stable commits.

I actually think it's a good idea. I already use notes locally when I
know I have to take care of certain commits, or when I want to mark that
I already tested them. I don't know how practical this will be over the
long term but it can definitely help.

> Dave has a very valid point: we don't actually investigate the history and
> correctness for patches that look sane as much as we should. The volume of
> commits is so big that we might miss comments given by reviewers that we
> should consider as well.

In fact I think that in the ideal case we would propagate fixes from most
recent versions to oldest ones. This normally completely avoids all such
issues. But the reality is different as the older kernels we're maintaining
don't have the same release cycles so it's hard to expect that your 4.1
fetches from 4.4, then feeds your 3.18 which then feeds Ben's 3.16, then
Greg's 3.14, then Jiri's 3.12, then my 3.10 etc... So the reality is that
we're re-doing some part of the work on our respective sides and checking
in other branches if we find anything relevant. Thus I pick from 3.14, and
check for the equivalent 3.12 patches in my mbox to see if I notice any
particular comment regarding the backport. That obviously doesn't mean it's
riskless, just that the risk is reasonably low. At worst I'll pick a bug
and its fix like I did this time without noticing it.

My scripts do look for the Fixes tag, indicate whether the patch in question
is in my branch or not, and carry the mainline commit ID so that it's easy
to look for a "Fixes:" in mainline referencing it and grep for it in other
branches. Thus I think that it should integrate nicely with your notes
since I could easily check for each individual patch if there are some
particular notes and for example refuse to merge it to force to read the
notes.

(...)
> To verify it works, try looking at the original commit that Dave's rant was
> all about and make sure you see the mailing list correspondence:
> 
> 	git log b1438f477934f5a4d5a44df26f3079a7575d5946
> 
> Updating is just a matter of fetching again. I'll make sure to push updates
> on a daily basis.

I'll definitely give it a try ASAP. If you can add a link to the
discussion thread based on the message ID, it would be really cool!

Cheers,
Willy

       reply	other threads:[~2016-08-24  7:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160823175440.GA4182@sasha-lappy>
2016-08-24  6:34 ` Willy Tarreau [this message]
     [not found]   ` <20160824131526.GA7184@sasha-lappy>
2016-08-24 13:38     ` stable commit notes Willy Tarreau
2016-08-24 20:16       ` gregkh
2016-08-24 20:46         ` Willy Tarreau

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=20160824063407.GA22178@1wt.eu \
    --to=w@1wt.eu \
    --cc=alexander.levin@verizon.com \
    --cc=ben@decadent.org.uk \
    --cc=dchinner@redhat.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.cz \
    --cc=kamal@canonical.com \
    --cc=stable@vger.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