All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir V. Saveliev <Vladimir.Saveliev@Sun.COM>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] subtree locks and path re-validation avoidance
Date: Fri, 29 Feb 2008 17:05:12 +0200	[thread overview]
Message-ID: <1204297512.24711.20.camel@linux.site> (raw)
In-Reply-To: <47BF8FBA.3090705@sun.com>

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 "/". 

>   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

  parent reply	other threads:[~2008-02-29 15:05 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     ` Vladimir V. Saveliev [this message]
2008-03-01 17:39       ` [Lustre-devel] " Peter Braam
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=1204297512.24711.20.camel@linux.site \
    --to=vladimir.saveliev@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.