public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Vegard Nossum <vegard.nossum@oracle.com>
Cc: Theodore Ts'o <tytso@mit.edu>,
	adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Subject: Re: ext4: fix reference counting bug on block allocation error
Date: Sun, 14 Aug 2016 21:09:19 +0200	[thread overview]
Message-ID: <20160814190919.GA9517@kroah.com> (raw)
In-Reply-To: <57B0C058.9010800@oracle.com>

On Sun, Aug 14, 2016 at 09:02:48PM +0200, Vegard Nossum wrote:
> On 08/14/2016 08:58 PM, Greg KH wrote:
> > On Sun, Aug 14, 2016 at 08:51:25PM +0200, Greg KH wrote:
> > > On Sun, Aug 14, 2016 at 08:37:56PM +0200, Vegard Nossum wrote:
> > > > On 08/14/2016 08:32 PM, Greg KH wrote:
> > > > > Hi Vegard and ext4 developers,
> > > > > 
> > > > > The patch below, in Linus's tree, references a patch in the Fixes: line
> > > > > that is not in Linus's tree (neither the git commit id, nor the subject
> > > > > line.)
> > > > > 
> > > > 
> > > > It seems to exist?
> > > > 
> > > > > > Fixes: 8556e8f3b6 ("ext4: Don't allow new groups to be added during block
> > > > allocation")
> > > > 
> > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8556e8f3b6c4c11601ce1e9ea8090a6d8bd5daae
> > > > 
> > > > > That's a bit confusing, what is this patch supposed to be fixing up?
> > > > > What stable tree(s) should it go to if the original patch it fixes isn't
> > > > > even in any tree?
> > > > 
> > > > The referenced commit adds the ext4_mb_release_context(ac); line which
> > > > is what is causing problems because that releases the context which is
> > > > still in fact in use.
> > > 
> > > Oh doh, sorry for the noise, I was only looking at 4.8-rc1 and older, my
> > > fault.
> > 
> > Hm, wait.  Commit 8556e8f3b6 didn't show up in my filters for some
> > reason (which it not good, and makes me worry), but also, it doesn't
> > apply to the stable trees at all.
> > 
> > So can you please send backports of that commit, and this one, if you
> > want them both queued up to any stable kernel tree?
> 
> The commit which is being fixed is ancient:
> 
> $ git describe 8556e8f3b6
> v2.6.28-5758-g8556e8f3
> 
> It's probably already in the base of every current stable tree, no?

Huh?  Ok, this odd:
	$ git describe --contains 8556e8f3b6
	fatal: cannot describe '8556e8f3b6c4c11601ce1e9ea8090a6d8bd5daae'

Yet just a plain 'git describe' does work...

That's what threw me off, I only use --contains as that shows the
release the commit is in.

Ok, that makes me feel a bit better (that my scripts didn't miss the
patch, it was just old), but I wonder what is going on with git...

thanks again,

greg k-h

  reply	other threads:[~2016-08-14 19:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160727052921.5B41C35574@git2.kroah.org>
2016-08-14 18:32 ` ext4: fix reference counting bug on block allocation error Greg KH
2016-08-14 18:37   ` Vegard Nossum
2016-08-14 18:51     ` Greg KH
2016-08-14 18:58       ` Greg KH
2016-08-14 19:02         ` Vegard Nossum
2016-08-14 19:09           ` Greg KH [this message]
2016-08-14 19:35             ` Vegard Nossum
2016-08-14 19:46               ` Greg KH
2016-08-14 20:19             ` Theodore Ts'o

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=20160814190919.GA9517@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=adilger.kernel@dilger.ca \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    --cc=vegard.nossum@oracle.com \
    /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