From: Chris Mason <chris.mason@oracle.com>
To: Eric Anopolsky <erpo41@gmail.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: parity data
Date: Wed, 10 Sep 2008 08:59:29 -0400 [thread overview]
Message-ID: <1221051569.29741.69.camel@think.oraclecorp.com> (raw)
In-Reply-To: <1221010326.14596.9.camel@telesto>
On Tue, 2008-09-09 at 19:32 -0600, Eric Anopolsky wrote:
> > > Let's say I have 4 100GB drives (2 fast ones and 2 slow ones). I've
> > > restricted a performance critical directory to the two fastest drives,
> > > currently totaling 100GB of performance critical data. The rest of the
> > > data on the system is striped.
> > >
> > > How much free space do I have on the filesystem? 100GB (the amount of
> > > data I can store in the performance critical directory)? 200GB (the
> > > amount of data I can store outside the performance critical directory if
> > > the striping is guaranteed)? 300GB (the amount of data I can store
> > > outside the performance critical directory if the striping is best
> > > effort)?
> > >
> >
> > People already create these configurations, they just do it with
> > multiple filesystems. And, when they want to resize the performance
> > critical section, it is a difficult (and often slow) operation.
>
> I think I'm starting to get it. btrfs would have drive groups, and no
> file would have data on more than one drive group at once. That would
> make it possible to make meaningful statements about how much free disk
> space there is (per drive group). This is almost the same as having
> multiple filesystems, except files cannot be assigned to filesystems on
> an individual basis.
Yes, I think this is a fair statement.
> So in a way, btrfs would be replacing some
> functionality of the VFS (mapping files to filesystems).
I think there are many different definitions of the VFS. Mostly what
the VFS does is maintain the dentry and inode caches, and provide a
basic locking framework around most file/inode operations. The VFS is
still doing all the mapping of files to filesystems, and the filesystem
is mapping files to disk blocks.
-chris
prev parent reply other threads:[~2008-09-10 12:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-07 5:43 parity data Eric Anopolsky
2008-09-08 14:47 ` Chris Mason
2008-09-09 0:46 ` Eric Anopolsky
2008-09-09 10:43 ` Chris Mason
2008-09-09 14:07 ` Paul P Komkoff Jr
2008-09-10 1:32 ` Eric Anopolsky
2008-09-10 12:59 ` Chris Mason [this message]
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=1221051569.29741.69.camel@think.oraclecorp.com \
--to=chris.mason@oracle.com \
--cc=erpo41@gmail.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