linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hugo Mills <hugo@carfax.org.uk>
To: "Ellis H. Wilson III" <ellisw@panasas.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Metadata / Data on Heterogeneous Media
Date: Thu, 15 Feb 2018 19:11:55 +0000	[thread overview]
Message-ID: <20180215191155.GP3807@carfax.org.uk> (raw)
In-Reply-To: <1b2df382-0402-a806-9ebf-996fabf22ba4@panasas.com>

[-- Attachment #1: Type: text/plain, Size: 1864 bytes --]

On Thu, Feb 15, 2018 at 12:15:49PM -0500, Ellis H. Wilson III wrote:
> In discussing the performance of various metadata operations over
> the past few days I've had this idea in the back of my head, and
> wanted to see if anybody had already thought about it before
> (likely, I would guess).
> 
> It appears based on this page:
> https://btrfs.wiki.kernel.org/index.php/Btrfs_design
> that data and metadata in BTRFS are fairly well isolated from one
> another, particularly in the case of large files.  This appears
> reinforced by a recent comment from Qu ("...btrfs strictly
> split metadata and data usage...").
> 
> Yet, while there are plenty of options to RAID0/1/10/etc across
> generally homogeneous media types, there doesn't appear to be any
> functionality (at least that I can find) to segment different BTRFS
> internals to different types of devices.  E.G., place metadata trees
> and extent block groups on SSD, and data trees and extent block
> groups on HDD(s).
> 
> Is this something that has already been considered (and if so,
> implemented, which would make me extremely happy)?  Is it feasible
> it is hasn't been approached yet?  I admit my internal knowledge of
> BTRFS is fleeting, though I'm trying to work on that daily at this
> time, so forgive me if this is unapproachable for obvious
> architectural reasons.

   Well, it's been discussed, and I wrote up a theoretical framework
which should cover a wide range of use-cases:

https://www.spinics.net/lists/linux-btrfs/msg33916.html

   I never got round to implementing it, though -- I ran into issues
over storing the properties/metadata needed to configure it.

   Hugo.

-- 
Hugo Mills             | Dullest spy film ever: The Eastbourne Ultimatum
hugo@... carfax.org.uk |
http://carfax.org.uk/  |
PGP: E2AB1DE4          |                                       The Thick of It

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2018-02-15 19:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-15 17:15 Metadata / Data on Heterogeneous Media Ellis H. Wilson III
2018-02-15 19:06 ` Adam Borowski
2018-02-15 20:30   ` Ellis H. Wilson III
2018-02-15 19:11 ` Hugo Mills [this message]
2018-02-15 20:31   ` Ellis H. Wilson III
2018-02-16  3:57 ` Qu Wenruo

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=20180215191155.GP3807@carfax.org.uk \
    --to=hugo@carfax.org.uk \
    --cc=ellisw@panasas.com \
    --cc=linux-btrfs@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 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).