From: Jens Axboe <axboe@kernel.dk>
To: Eric Wheeler <bcache@lists.ewheeler.net>
Cc: Marc MERLIN <marc@merlins.org>,
linux-bcache@vger.kernel.org, Zhu Yanhai <zhu.yanhai@gmail.com>,
Kent Overstreet <kent.overstreet@gmail.com>,
Christoph Nelles <evilazrael@evilazrael.de>
Subject: Re: [PULL] bcache fixes for v4.5-rc6
Date: Tue, 1 Mar 2016 08:44:35 -0700 [thread overview]
Message-ID: <56D5B8E3.9050000@kernel.dk> (raw)
In-Reply-To: <alpine.LRH.2.11.1602292216450.3635@mail.ewheeler.net>
On 02/29/2016 06:08 PM, Eric Wheeler wrote:
> Hi Jens,
>
> Can we still get these in for 4.5? One is a race, the other is just error
> handling.
>
> Please pull:
> git pull https://bitbucket.org/ewheelerinc/linux.git v4.5-rc6-bcache-fixes
>
> bcache: fix race of writeback thread starting before complete initialization
> bcache: cleaned up error handling around register_cache()
They look simple enough, though I generally don't like collapsing things
like this:
if ((ret = cache_alloc(sb, ca)) != 0)
it's easy to screw up, doing
ret = cache_alloc(sb, ca);
if (ret != 0)
...
is a lot more readable and harder to screw up. Can we get that cleaned
up? We can still make 4.5, I've got a bunch pending that's going out
today, and these two would have missed the boat for today anyway. But
that doesn't mean we can't get them out later this week.
--
Jens Axboe
next prev parent reply other threads:[~2016-03-01 15:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-01 1:08 [PULL] bcache fixes for v4.5-rc6 Eric Wheeler
2016-03-01 15:44 ` Jens Axboe [this message]
2016-03-03 2:09 ` Eric Wheeler
2016-03-03 3:26 ` Jens Axboe
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=56D5B8E3.9050000@kernel.dk \
--to=axboe@kernel.dk \
--cc=bcache@lists.ewheeler.net \
--cc=evilazrael@evilazrael.de \
--cc=kent.overstreet@gmail.com \
--cc=linux-bcache@vger.kernel.org \
--cc=marc@merlins.org \
--cc=zhu.yanhai@gmail.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 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.