From: Matthew Wilcox <matthew@wil.cx>
To: Valerie Henson <val_henson@linux.intel.com>
Cc: Ric Wheeler <ric@emc.com>,
linux-fsdevel@vger.kernel.org,
Arjan van de Ven <arjan@linux.intel.com>
Subject: Re: topics for the file system mini-summit
Date: Wed, 31 May 2006 20:42:47 -0600 [thread overview]
Message-ID: <20060601024247.GB32143@parisc-linux.org> (raw)
In-Reply-To: <20060601021908.GL10420@goober>
On Wed, May 31, 2006 at 07:19:09PM -0700, Valerie Henson wrote:
> I don't think a block group is a good enough fault isolation domain -
> think hard links. What I think we need is normal file system
> structures when you are referencing stuff inside your fault isolation
> domain, and something more complicated if you have to reference stuff
> outside. One of Arjan's ideas involves something we're calling
> continuation inodes - if the file's data is stored in multiple
> domains, it has a separate continuation inode in each domain, and each
> continuation inode has all the information necessary to run a full
> fsck on the data inside that domain. Similarly, if a directory has a
> hard link to a file outside its domain, we'll have to allocate a
> continuation inode and dir entry block in the domain containing the
> file. The idea is that you can run fsck on a domain without having to
> go look outside that domain. You may have to clean up a few things in
> other domains, but they are easy to find and don't require an fsck in
> other domains.
I don't quite get it. Let's say we have directories A and B in domain A
and domain B. A file C is created in directory B and is thus allocated
in domain B. Now we create a link to file C in directory A, and remove
the link from directory B. Presumably we have a continuation inode in
domain A and an inode with no references to it in domain B. How does
fsck tell that there's a continuation inode in a different domain?
The obvious answer is to put a special flag on the continued inode ...
but then the question becomes more about the care and feeding of
said flag. Maybe it's a counter. But then fsck needs to check the
counter's not corrupt. Or is it backlinks from the inode to all its
continuation inodes? That quickly gets messy with locking.
Surely XFS must have a more elegant solution than this?
next prev parent reply other threads:[~2006-06-01 2:42 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-25 21:44 topics for the file system mini-summit Ric Wheeler
2006-05-26 16:48 ` Andreas Dilger
2006-05-27 0:49 ` Ric Wheeler
2006-05-27 14:18 ` Andreas Dilger
2006-05-28 1:44 ` Ric Wheeler
2006-05-29 0:11 ` Matthew Wilcox
2006-05-29 2:07 ` Ric Wheeler
2006-05-29 16:09 ` Andreas Dilger
2006-05-29 19:29 ` Ric Wheeler
2006-05-30 6:14 ` Andreas Dilger
2006-06-07 10:10 ` Stephen C. Tweedie
2006-06-07 14:03 ` Andi Kleen
2006-06-07 18:55 ` Andreas Dilger
2006-06-01 2:19 ` Valerie Henson
2006-06-01 2:42 ` Matthew Wilcox [this message]
2006-06-01 3:24 ` Valerie Henson
2006-06-01 12:45 ` Matthew Wilcox
2006-06-01 12:53 ` Arjan van de Ven
2006-06-01 20:06 ` Russell Cattelan
2006-06-02 11:27 ` Nathan Scott
2006-06-01 5:36 ` Andreas Dilger
2006-06-03 13:50 ` Ric Wheeler
2006-06-03 14:13 ` Arjan van de Ven
2006-06-03 15:07 ` Ric Wheeler
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=20060601024247.GB32143@parisc-linux.org \
--to=matthew@wil.cx \
--cc=arjan@linux.intel.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=ric@emc.com \
--cc=val_henson@linux.intel.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).