From: wengang wang <wen.gang.wang@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/1] OCFS2: fix for nfs getting stale inode.
Date: Thu, 23 Oct 2008 17:22:26 +0800 [thread overview]
Message-ID: <49004252.7070603@oracle.com> (raw)
In-Reply-To: <20081023090954.GC1580@mail.oracle.com>
Joel Becker wrote:
> On Thu, Oct 23, 2008 at 04:33:32PM +0800, wengang wang wrote:
>
>> Joel Becker wrote:
>>
>>> What's the problem other than ESTALE? That's perfectly valid in
>>> the world of NFS.
>>>
>>>
>>>
>> ESTALE is not a big problem, what is important is that:
>> it cause kernel panic during ocfs2_meta_lock_update() at later
>> operations when it updates metadata from disk.
>>
>
> This is the bug. Why is a stale inode getting meta_lock called
> against it? That's what we should be preventing, no?
>
>
for the time, system doesn't know whether it's stale yet.
the fix just makes the inode to be stale(OCFS2_INODE_DELETE), or make
sure there is no such a
stale inode in memory when it's stale(deleted or a new different inode
occupies the same block).
next prev parent reply other threads:[~2008-10-23 9:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-23 4:19 [Ocfs2-devel] [PATCH 1/1] OCFS2: fix for nfs getting stale inode wengang wang
2008-10-23 8:16 ` Joel Becker
2008-10-23 8:33 ` wengang wang
2008-10-23 9:09 ` Joel Becker
2008-10-23 9:22 ` wengang wang [this message]
2008-10-24 1:57 ` wengang wang
2008-10-24 2:09 ` wengang wang
2008-10-29 1:03 ` wengang wang
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=49004252.7070603@oracle.com \
--to=wen.gang.wang@oracle.com \
--cc=ocfs2-devel@oss.oracle.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 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.