From: Nicolas Williams <Nicolas.Williams@sun.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] Recovering opens by reconstruction
Date: Tue, 7 Jul 2009 11:03:17 -0500 [thread overview]
Message-ID: <20090707160316.GD15302@Sun.COM> (raw)
In-Reply-To: <4A531BE4.20207@sun.com>
On Tue, Jul 07, 2009 at 01:56:52PM +0400, Alex Zhuravlev wrote:
> I think it'd be slightly easier to introduce two notions of replay:
As I understand it 'replay' has a very specific meaning: re-send an RPC
with the 'replay' bit set in the ptlrpc header.
> [...]
> my old thougth was that instead of introducing special new open-by-fid
> RPC we should try to implement open in terms of LDLM locks because
> it's in-core state (though with specific tracking of unlinked files).
> given this we'd automatically get single mechanism for all in-core
> states and we'd get rid of special paths for open replays.
Hmmm, but open by FID gives the MDS a chance to check capabilities.
Yes, that's probably not terribly important as long as the OSSes also
check capabilities.
Also, there's the unlink issue to worry about. Mikhail's proposal for
that is to defer unlinks until after open state recovery (in this case:
until after DLM recovery). That would work, I think. Also, you could
have the kind of DLM locks used for open state tracking recovered first,
then transactions, then all other types of locks.
Here's a question: what consumes more memory on the MDS: open state or a
DLM lock?
Nico
--
next prev parent reply other threads:[~2009-07-07 16:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-02 22:39 [Lustre-devel] Recovering opens by reconstruction Nicolas Williams
2009-07-03 19:02 ` Mikhail Pershin
2009-07-03 21:55 ` Nicolas Williams
2009-07-04 0:48 ` Nicolas Williams
2009-07-04 7:14 ` Mikhail Pershin
2009-07-04 7:10 ` Mikhail Pershin
2009-07-06 17:34 ` Nicolas Williams
2009-07-06 22:42 ` Nicolas Williams
2009-07-07 9:56 ` Alex Zhuravlev
2009-07-07 14:38 ` Andreas Dilger
2009-07-08 6:46 ` Alex Zhuravlev
2009-07-07 16:03 ` Nicolas Williams [this message]
2009-07-07 13:56 ` Mikhail Pershin
2009-07-07 15:21 ` Andreas Dilger
2009-07-07 16:42 ` Mikhail Pershin
2009-07-07 16:50 ` Nicolas Williams
2009-07-07 16:14 ` Nicolas Williams
2009-07-08 17:15 ` Alex Zhuravlev
2009-07-06 17:20 ` Nicolas Williams
2009-07-06 22:37 ` Nicolas Williams
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=20090707160316.GD15302@Sun.COM \
--to=nicolas.williams@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.