From: malahal@us.ibm.com
To: dm-devel@redhat.com
Subject: Re: Could device-mapper offer multi-tier storage?
Date: Mon, 19 Jan 2009 09:15:44 -0800 [thread overview]
Message-ID: <20090119171544.GA1981@us.ibm.com> (raw)
In-Reply-To: <4974A3C2.3090509@suse.de>
Hannes Reinecke [hare@suse.de] wrote:
> Well, maybe. Not so sure if device-mapper is the correct place to implement
> something like this.
>
> What you get if you use a device-mapper device as the 'middle' tier in
> this scenario is that this device will contain only random blocks,
> ie those actually accessed/modified/whatever.
> Only the underlying device will contain the full information about
> all blocks, and as such only the underlying device can be mounted
> and provides a meaningful filesystem.
> Any middle tier devices will contain a somewhat random update of
> several blocks, which cannot be interpreted at all.
>
> This makes error checking _really_ hard, as the middle tier devices
> can't be consistency checked at all; we have to hope the blocks on
> there make sense to the underlying device.
Are you proposing a "dm-cache" target here? That may work as HSM
(hierarchical Storage management) if dm-cache target can accept tier'ed
devices. But it has to keep track of access times on the blocks to move
them among tier'ed devices. Can be made to work, but I think it is
efficient to do it in the file system as you indicated.
>
> No, this scenario could be more efficiently handled on the filesystem
> level, as we then have an implicit consistency check as you're restricted
> to move _files_ to a different storage; but that's okay as the filesystems
> in on each device themselves will be consistent.
>
> Would be a grand application for union mount if and when it comes around.
> And probably btrfs already has it built-in, I wouldn't wonder.
I am not sure if "union mount" is really needed as the file system
driver can implicitly take care of HSM with a single mount.
next prev parent reply other threads:[~2009-01-19 17:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 19:43 Could device-mapper offer multi-tier storage? Ty! Boyack
2009-01-19 15:28 ` Jonathan Brassow
2009-01-19 16:01 ` Hannes Reinecke
2009-01-19 17:15 ` malahal [this message]
2009-01-27 21:40 ` Christoph Hellwig
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=20090119171544.GA1981@us.ibm.com \
--to=malahal@us.ibm.com \
--cc=dm-devel@redhat.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.