From: "Adam C. Emerson" <aemerson@linuxbox.com>
To: Gregory Farnum <greg@inktank.com>
Cc: Casey Bodley <casey@linuxbox.com>,
"Matt W. Benjamin" <matt@linuxbox.com>,
ceph-devel@vger.kernel.org,
peter honeyman <peter.honeyman@gmail.com>,
Sage Weil <sage@inktank.com>
Subject: Re: parent xattrs on file objects
Date: Wed, 17 Oct 2012 18:15:42 -0400 [thread overview]
Message-ID: <78pq4g3fu9.wl%aemerson@linuxbox.com> (raw)
In-Reply-To: <CAPYLRzg5tkaTSvxnKsDMPFSdfSHKqiFOyETKxnSNFmrYOuf6fA@mail.gmail.com>
Mr. Farnum,
At Wed, 17 Oct 2012 15:04:23 -0700, Gregory Farnum wrote:
>
> I still don't get it. Putting every inode's primary link in a lookup
> directory and then patching the lookup code to go there makes sense to
> me. But if you have to go the other way (from the inode directory's
> secondary link to some other location as the primary link), you need
> an up-to-date path for that primary link, right? How do you handle it
> when the path changes — do you have a two-phase commit on the lookup
> directory attributes?
Our idea isn't to have the inode directory contain links back to the
primary. Our idea is to have a structure managed by MDSs that is
looked up by inode number and spread across the MDSs in a cluster
similarly to the way CRUSH maps files across OSDs. This structure
contains all the information currently in the inode that's now
incorporated into the dirent.
The dirents would then contain mappings from mappings from names to
inodes and possibly cache (but not be the primary for) inode content.
We were also planning to change directory fragmentation to distribute
fragments across MDSs based on a function of the filename, also
similarly to how CRUSH maps objects to OSDs.
Respectfully yours,
Adam C. Emerson <aemerson@linuxbox.com>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-10-17 22:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <937776470.145.1350510476081.JavaMail.root@thunderbeast.private.linuxbox.com>
2012-10-17 21:51 ` parent xattrs on file objects Casey Bodley
2012-10-17 22:04 ` Gregory Farnum
2012-10-17 22:15 ` Adam C. Emerson [this message]
2012-10-19 21:17 ` Sage Weil
[not found] <1743327214.12.1350731614461.JavaMail.root@thunderbeast.private.linuxbox.com>
2012-10-20 12:09 ` Matt W. Benjamin
2012-10-22 21:27 ` Sage Weil
[not found] <2054435269.116.1350502651797.JavaMail.root@thunderbeast.private.linuxbox.com>
2012-10-17 19:40 ` Casey Bodley
2012-10-17 19:53 ` Sage Weil
2012-10-17 20:18 ` Gregory Farnum
2012-10-16 21:17 Sage Weil
2012-10-16 21:26 ` Gregory Farnum
2012-10-16 21:35 ` Sage Weil
2012-10-16 21:47 ` Yehuda Sadeh Weinraub
2012-10-16 21:54 ` Gregory Farnum
2012-10-16 21:32 ` Mark Nelson
2012-10-16 21:35 ` Matt W. Benjamin
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=78pq4g3fu9.wl%aemerson@linuxbox.com \
--to=aemerson@linuxbox.com \
--cc=casey@linuxbox.com \
--cc=ceph-devel@vger.kernel.org \
--cc=greg@inktank.com \
--cc=matt@linuxbox.com \
--cc=peter.honeyman@gmail.com \
--cc=sage@inktank.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