ocfs2-devel.oss.oracle.com archive mirror
 help / color / mirror / Atom feed
From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH] ocfs2: validate bg_free_bits_count after update
Date: Mon, 11 Oct 2010 13:47:35 -0700	[thread overview]
Message-ID: <20101011204735.GE4255@mail.oracle.com> (raw)
In-Reply-To: <1286319186-16697-1-git-send-email-srinivas.eeda@oracle.com>

On Tue, Oct 05, 2010 at 03:53:06PM -0700, Srinivas Eeda wrote:
> This patch adds a safe check to ensure bg_free_bits_count doesn't exceed
> bg_bits in a group descriptor. This is to avoid on disk corruption that was
> seen recently.
> 
> debugfs: group <52803072>
>        Group Chain: 179   Parent Inode: 11  Generation: 2959379682
>        CRC32: 00000000   ECC: 0000
>        ##   Block#            Total    Used     Free     Contig   Size
>        0    52803072          32256    4294965350   34202    18207    4032
>        ......
> 
> Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com>

	This patch is now in the merge-window branch of ocfs2.git.

Joel

-- 

Life's Little Instruction Book #252

	"Take good care of those you love."

Joel Becker
Consulting Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127

      parent reply	other threads:[~2010-10-11 20:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05 22:53 [Ocfs2-devel] [PATCH] ocfs2: validate bg_free_bits_count after update Srinivas Eeda
2010-10-05 23:04 ` Sunil Mushran
2010-10-11 20:47 ` Joel Becker [this message]

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=20101011204735.GE4255@mail.oracle.com \
    --to=joel.becker@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).