[Ocfs2-devel] [PATCH] ocfs2: validate bg_free_bits_count after update

Joel Becker Joel.Becker at oracle.com
Mon Oct 11 13:47:35 PDT 2010


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 at 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



More information about the Ocfs2-devel mailing list