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] Do filesystem need to turn RO on dx corruptions?
Date: Tue, 07 Jun 2011 10:30:30 -0700	[thread overview]
Message-ID: <4DEE6036.40802@oracle.com> (raw)
In-Reply-To: <BANLkTikh_cV_AHYR-nDJC_V5zzt8AEnGvA@mail.gmail.com>

On 06/07/2011 08:41 AM, Goldwyn Rodrigues wrote:
> There have been index tree corruptions, where the directory entries
> are correct however the index directory is not. In this case, the
> filesystem turns read-only where as all the information to complete
> the operation is still available because the primary directory
> structure is sane. The ocfs2 module could just disable indexed
> directory for this directory and continue handling the operation like
> the normal directories without indexes. Of course, it still writes the
> warning message, to run fsck, to the kernel log  but avoid the RO
> filesystem which halt all I/O writes.
>
> Th ocfs2-tools fix is posted at:
> http://oss.oracle.com/pipermail/ocfs2-tools-devel/2011-May/003812.html
> However, it would need changes for indexed directory rebuilds.
>
> Let me know what you think.

I think it looks good. Though I would prefer if Mark also acked this
as he knows dxdir best.

  reply	other threads:[~2011-06-07 17:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07 15:41 [Ocfs2-devel] Do filesystem need to turn RO on dx corruptions? Goldwyn Rodrigues
2011-06-07 17:30 ` Sunil Mushran [this message]
2011-06-08  6:41 ` 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=4DEE6036.40802@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.