linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ted Ts'o <tytso@mit.edu>
To: Robin Dong <hao.bigrat@gmail.com>
Cc: linux-ext4@vger.kernel.org, Robin Dong <sanbai@taobao.com>
Subject: Re: [PATCH 2/2 bigalloc] ext4: modify offset to cluster in ext4_valid_block_bitmap
Date: Wed, 10 Aug 2011 22:51:52 -0400	[thread overview]
Message-ID: <20110811025152.GD3625@thunk.org> (raw)
In-Reply-To: <1312429682-16970-1-git-send-email-hao.bigrat@gmail.com>

On Thu, Aug 04, 2011 at 11:48:01AM +0800, Robin Dong wrote:
> From: Robin Dong <sanbai@taobao.com>
> 
> When I run a test application on ext4 of bigalloc, and also a daemon
> which run "echo 3 > /proc/sys/vm/drop_caches" every 2 seconds,
> the kernel report:
> 
> 15319.557145] EXT4-fs error (device sda4): ext4_valid_block_bitmap:324: comm dir_tree: Invalid block bitmap - block_group = 6, block = 3145730
> 
> The reason is ext4_valied_block_bitmap has not be modified for cluster.
> 
> Signed-off-by: Robin Dong <sanbai@taobao.com>
> Cc: Ted Ts'o <tytso@mit.edu>

Yep, this looks like a bug --- I'm curious, though --- this is
something I don't run into because I use mke2fs -t ext4 which sets the
flex_bg feature.  Is there some reason you're not using flex_bg on
your file systems?

					- Ted

      parent reply	other threads:[~2011-08-11  2:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-04  3:48 [PATCH 2/2 bigalloc] ext4: modify offset to cluster in ext4_valid_block_bitmap Robin Dong
2011-08-04  3:48 ` [PATCH 1/2 bigalloc] e2fsprogs: remove wrong EXT2FS_C2B in check_block_end Robin Dong
2011-08-11  2:49   ` Ted Ts'o
2011-08-12  3:44     ` Robin Dong
2011-08-11  2:51 ` Ted Ts'o [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=20110811025152.GD3625@thunk.org \
    --to=tytso@mit.edu \
    --cc=hao.bigrat@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=sanbai@taobao.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).