All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] add error check for ocfs2_read_locked_inode() call
Date: Wed, 13 May 2009 12:08:36 -0700	[thread overview]
Message-ID: <4A0B1AB4.40506@oracle.com> (raw)
In-Reply-To: <20090513185710.GG32316@mail.oracle.com>

Joel Becker wrote:
> On Wed, May 13, 2009 at 09:44:57PM +0300, Oleg Gawriloff wrote:
>> Joel Becker ?????:
>>> 	There's no other error messages?  Can you give us a larger
>>> snippet of the log?
>> Here:
>> May 13 19:51:18 falcon-cl5
>> May 13 19:51:18 falcon-cl5 (8824,2):ocfs2_read_locked_inode:466 ERROR: 
>> status = -22
>
> 	This is really weird.  Like Sunil, I looked at the code.  And
> every place that can set status to -EINVAL (-22) has its own ERROR
> message.  So you should be seeing those.
>
> Joel

Exactly. Also, this could be related to that volume going read-only.
But if so, you will atleast see the following message:

        printk(KERN_CRIT "File system is now read-only due to the 
potential "
               "of on-disk corruption. Please run fsck.ocfs2 once the file "
               "system is unmounted.\n");

If the code is the same, then it could be that the difference is in the 
build.
But what, how, I cannot say.

BTW, maybe a good idea to fsck your volumes.

Sunil

  reply	other threads:[~2009-05-13 19:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12 11:48 [Ocfs2-devel] add error check for ocfs2_read_locked_inode() call Oleg Gawriloff
2009-05-12 23:37 ` Sunil Mushran
2009-05-13  9:45   ` Oleg Gawriloff
2009-05-13 17:09   ` Oleg Gawriloff
2009-05-13 18:39     ` Joel Becker
2009-05-13 18:44       ` Oleg Gawriloff
2009-05-13 18:57         ` Joel Becker
2009-05-13 19:08           ` Sunil Mushran [this message]
2009-05-13 19:12         ` Sunil Mushran
2009-05-13 19:24           ` Joel Becker

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=4A0B1AB4.40506@oracle.com \
    --to=sunil.mushran@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.