From: Greg KH <greg@kroah.com>
To: Gabriel de Perthuis <g2p.code@gmail.com>
Cc: stable@vger.kernel.org, bcache <linux-bcache@vger.kernel.org>
Subject: Re: [PATCH] bcache: Make sure to pass GFP_WAIT to mempool_alloc()
Date: Thu, 15 Jan 2015 10:35:37 -0800 [thread overview]
Message-ID: <20150115183537.GA23990@kroah.com> (raw)
In-Reply-To: <54B7EA3D.7050203@gmail.com>
On Thu, Jan 15, 2015 at 05:26:37PM +0100, Gabriel de Perthuis wrote:
> this was very wrong - mempool_alloc() only guarantees success with GFP_WAIT.
> bcache uses GFP_NOWAIT in various other places where we have a fallback,
> circuits must've gotten crossed when writing this code or something.
>
> Signed-off-by: Kent Overstreet <kmo@daterainc.com>
> ---
>
> The bug was introduced in v3.11, fixed in v3.17.
>
> Jens mentioned bcache has many stable@ candidates previously:
> https://lkml.org/lkml/2014/9/5/360
>
> I'm cherry-picking this fix because I was getting crashes.
>
> ---
> drivers/md/bcache/btree.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
What exactly is the commit id for this in Linus's tree?
thanks,
greg k-h
prev parent reply other threads:[~2015-01-15 18:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-15 16:26 [PATCH] bcache: Make sure to pass GFP_WAIT to mempool_alloc() Gabriel de Perthuis
2015-01-15 18:35 ` Greg KH [this message]
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=20150115183537.GA23990@kroah.com \
--to=greg@kroah.com \
--cc=g2p.code@gmail.com \
--cc=linux-bcache@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.