From: Peter Braam <Peter.Braam@Sun.COM>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] subtree locks and path re-validation avoidance
Date: Sat, 01 Mar 2008 10:39:39 -0700 [thread overview]
Message-ID: <C3EEE2EB.28BE%peter.braam@sun.com> (raw)
In-Reply-To: <1204297512.24711.20.camel@linux.site>
Hi
On 2/29/08 8:05 AM, "Vladimir V. Saveliev" <Vladimir.Saveliev@Sun.COM>
wrote:
> Hello
>
> On Fri, 2008-02-22 at 20:15 -0700, Peter J Braam wrote:
>> I'd like to make a suggestion to perhaps immediately find the right
>> primitives for getcwd to return a reasonably correct pathname in
>> Lustre.
>
> Peter, would you say a bit more about that:
>
> currently, there is nothing a filesystem can do in linux's getcwd. It
> simply returns instant dcache path from "." to "/".
>
Yes. So the question is what new dentry methods we might add so that the
dcache can call into the FS to validate the path.
The second question is then if these would be useful for revalidating
subtree lock paths.
- Peter -
>> I believe this is the simplest case where I have seen pathname
>> revalidation being important. In the context of that example the
>> subtree lock discussion might gain more clarity.
>>
>> I would also like to note that I had a discussion with Linus at one of
>> the kernel workshops in Ottawa maybe almost 4-5 years ago. First Linus
>> attacked the idea of using file identifiers - he suggested that doing
>> everything with pathnames was better (which is what InterMezzo did).
>> When we explained to him that this requires locking all parents he began
>> to see the problems we had with this and understood the locking at the
>> fid/name level that we use in Lustre. I found little resistance when I
>> mentioned to him that for this model the VFS does not have a correct
>> implementation of getcwd, unless the dcache is kept current.
>>
>> UCSC has received funding from the National Labs and now been turned
>> into a peta-scale I/O institute I believe did more results on file
>> systems implemented with pathnames. Some things are beautiful and easy
>> with pathnames, but others get really ugly, and so far I don't see this
>> displacing fid ideas that govern NFS, AFS and Lustre.
>>
>
> Best regards,
> Vladimir
>
>
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel
next prev parent reply other threads:[~2008-03-01 17:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 12:54 [Lustre-devel] subtree locks and path re-validation avoidance Vladimir V. Saveliev
2008-02-21 13:30 ` Alex Zhuravlev
2008-02-23 3:15 ` Peter J Braam
2008-02-28 19:01 ` Vladimir V. Saveliev
2008-02-28 19:05 ` [Lustre-devel] please ignore previous mail, it was sent accidentially " Vladimir V. Saveliev
2008-02-29 15:05 ` [Lustre-devel] " Vladimir V. Saveliev
2008-03-01 17:39 ` Peter Braam [this message]
2008-02-24 21:01 ` Alexander Zarochentsev
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=C3EEE2EB.28BE%peter.braam@sun.com \
--to=peter.braam@sun.com \
--cc=lustre-devel@lists.lustre.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 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.