From: Matthias Ferdinand <bcache@mfedv.net>
To: Kent Overstreet <kmo@daterainc.com>
Cc: nks@daterainc.com, linux-bcache@vger.kernel.org
Subject: Re: md-raid5 with bcache member devices => kernel panic
Date: Fri, 6 Dec 2013 01:00:45 +0100 [thread overview]
Message-ID: <20131206000045.GG1848@teapot> (raw)
In-Reply-To: <20131205231547.GB4054@kmo>
On Thu, Dec 05, 2013 at 03:15:47PM -0800, Kent Overstreet wrote:
> On Fri, Dec 06, 2013 at 12:08:13AM +0100, Matthias Ferdinand wrote:
> > I only get panics when I use md-raid on top of bcaches:
> >
> > LVM
> > |
> > md-raid5
> > / | \
> > bcache0 bcache1 bcache2
> > | | |
> > sdb6 sdc6 sdd6
> >
> > (probably an unusual setup; just playing around...)
>
> Yeah, that is unusual. Very odd though, that setup I would definitely expect to
> work.
>
> You mentioned it's faster with bcache higher in the stack - do you have any
> issues with your preferred setup?
for simpler administration, I would prefer to have LVM on top. Where
exactly bcache sits below that is not really important (except for
performance gains, which is the whole point of it all :-)
My preferred lookup would be like this:
LVM
|
bcache0
|
md-raid5
/ | \
sdb6 sdc6 sdd6
but it is slightly slower compared to having bcache{0,1,2} devices on
top of LVs for the virtual disks.
I only had the idea to RAID bcaches because the default chunk size of
512k equals the erase block size of the SSD (I assume it is 512k, could
not find hard evidence for it). And since small writes on RAID5 create
tremendous overhead, I hoped to benefit from bcache having already
cached some full chunks.
> If the bug isn't actually affecting real/preferred use cases then I'll be a lot
> less concerned about it - I'm reworking how all this crap works in mainline,
> maybe by 3.14 generic_make_request() will be accepting arbitrary size bios and
> the code that's probably buggy here will be gone.
It is not yet in production use, I am still playing with the setup.
Regards
Matthias
next prev parent reply other threads:[~2013-12-06 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-05 21:29 md-raid5 with bcache member devices => kernel panic Matthias Ferdinand
2013-12-05 22:52 ` Kent Overstreet
2013-12-05 23:08 ` Matthias Ferdinand
2013-12-05 23:15 ` Kent Overstreet
2013-12-06 0:00 ` Matthias Ferdinand [this message]
2013-12-06 3:22 ` Paul B. Henson
2013-12-08 23:53 ` Matthias Ferdinand
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=20131206000045.GG1848@teapot \
--to=bcache@mfedv.net \
--cc=kmo@daterainc.com \
--cc=linux-bcache@vger.kernel.org \
--cc=nks@daterainc.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