From: "G. Richard Bellamy" <rbellamy@pteradigm.com>
To: Chris Murphy <lists@colorremedies.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Large files, nodatacow and fragmentation
Date: Thu, 14 Aug 2014 16:16:17 -0700 [thread overview]
Message-ID: <CADw2B2NJQYn_xkrAebmdu_c-7z7yFNZ1aDFS=jYmQcHfco2d+g@mail.gmail.com> (raw)
In-Reply-To: <08770CD2-AA55-4BC1-B92C-E7D3360399F8@colorremedies.com>
On Thu, Aug 14, 2014 at 11:40 AM, Chris Murphy <lists@colorremedies.com> wrote:
> and there may be a fit for bcache here because you actually would get these random writes committed to stable media much faster in that case, and a lot of work has been done to make this more reliable than battery backed write caches on hardware raid.
umph... heard of bcache, but never looked at it or considered it as an
option in this scenario. After reading the doco and some of the design
documents, it's looking like bcache and md/mdadm or LVM could do the
trick.
The gotchas state clearly that btrfs on top of bcache is not recommended.
However, can bcache be put 'in front' of a btrfs raid10 volume? I
think not, since btrfs volumes are not presented as individual block
devices, instead you've got several block devices (e.g. /dev/sda and
/dev/sdb are in a btrfs raid1, and can be seen individually by the
OS)... however I wish it could, since bcache "...turns random writes
into sequential writes", which solve entirely the problem which
prompts the nocow option in btrfs.
Much to think on here.
-rb
next prev parent reply other threads:[~2014-08-14 23:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 18:36 Large files, nodatacow and fragmentation G. Richard Bellamy
2014-08-11 19:14 ` Roman Mamedov
2014-08-11 21:37 ` G. Richard Bellamy
2014-08-11 23:31 ` Chris Murphy
2014-08-14 3:57 ` G. Richard Bellamy
2014-08-14 4:23 ` Chris Murphy
2014-08-14 14:30 ` G. Richard Bellamy
2014-08-14 15:05 ` Austin S Hemmelgarn
2014-08-14 18:15 ` G. Richard Bellamy
2014-08-14 18:40 ` Chris Murphy
2014-08-14 23:16 ` G. Richard Bellamy [this message]
2014-08-15 1:05 ` Chris Murphy
2014-09-02 18:31 ` G. Richard Bellamy
2014-09-02 19:17 ` Chris Murphy
2014-09-02 19:17 ` Austin S Hemmelgarn
2014-09-02 23:30 ` G. Richard Bellamy
2014-09-03 6:01 ` Chris Murphy
2014-09-03 6:26 ` Chris Murphy
2014-09-03 15:45 ` G. Richard Bellamy
2014-09-03 18:53 ` Clemens Eisserer
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='CADw2B2NJQYn_xkrAebmdu_c-7z7yFNZ1aDFS=jYmQcHfco2d+g@mail.gmail.com' \
--to=rbellamy@pteradigm.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.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;
as well as URLs for NNTP newsgroup(s).