From: Alex Zhuravlev <Alex.Zhuravlev@Sun.COM>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] statahead feature
Date: Fri, 25 Jul 2008 16:29:07 +0400 [thread overview]
Message-ID: <4889C713.7050801@sun.com> (raw)
In-Reply-To: <1216978676.16594.104.camel@bear.shadowland>
Alex Lyashkov wrote:
> this looks easy to implement - call ll_readdir with i_mutex held and
> pass custom fill callback.
> in callback we allocate new dentry + empty locked inode (or attach new
> dentry to inode if we have only update lock /ll_find_alias/ ?? ), also
> submit async getattr rpc into ptlrpcd if need.
> rpc completion callback set md_lock to inode and unlock inode.
> also ll_getattr_it should call wait_on_inode for be sure statahead is
> finished.
I think it'd be better to get common infrastructure in ll_lookup_it()
which can resolve name to fid from readdir's cache. having that in lookup
path means any syscall can benefit from it, not statahead only.
for example, we can do open by fid on mds and mds won't need to resolve
name by himself.
probably, this infrastructure could be used for WBC.
thanks, Alex
next prev parent reply other threads:[~2008-07-25 12:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-24 10:19 [Lustre-devel] statahead feature Alex Zhuravlev
2008-07-24 11:35 ` Alex Lyashkov
2008-07-24 16:27 ` Peter Braam
2008-07-24 18:56 ` Alex Zhuravlev
2008-07-25 4:34 ` Yong Fan
2008-07-25 4:41 ` Alex Zhuravlev
2008-07-25 5:04 ` Ragnar Kjørstad
2008-07-25 5:17 ` Alex Zhuravlev
2008-07-28 22:02 ` Andreas Dilger
2008-07-25 9:37 ` Alex Lyashkov
2008-07-25 12:29 ` Alex Zhuravlev [this message]
2008-07-25 19:41 ` Andreas Dilger
2008-07-25 19:50 ` Alex Zhuravlev
2008-07-25 4:44 ` Alex Zhuravlev
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=4889C713.7050801@sun.com \
--to=alex.zhuravlev@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.