* [PATCH] ext4: critical info format fix in __ext4_grp_locked_error
@ 2011-03-17 1:56 Robin Dong
0 siblings, 0 replies; 5+ messages in thread
From: Robin Dong @ 2011-03-17 1:56 UTC (permalink / raw)
To: linux-ext4; +Cc: Robin Dong, stable
From: Robin Dong <sanbai@taobao.com>
When we do performence-testing on ext4 filesystem, we observe a warning like this:
"[ 1684.113205] EXT4-fs error (device sda7): ext4_mb_generate_buddy:718: group 259825901 blocks in bitmap, 26057 in gd"
indeed, it should be
"group 2598, 25901 blocks in bitmap, 26057 in gd"
Reviewed-by: Coly Li <bosong.ly@taobao.com>
Signed-off-by: Robin Dong <sanbai@taobao.com>
---
fs/ext4/super.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index f6a318f..bb38475 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -594,7 +594,7 @@ __acquires(bitlock)
vaf.fmt = fmt;
vaf.va = &args;
- printk(KERN_CRIT "EXT4-fs error (device %s): %s:%d: group %u",
+ printk(KERN_CRIT "EXT4-fs error (device %s): %s:%d: group %u, ",
sb->s_id, function, line, grp);
if (ino)
printk(KERN_CONT "inode %lu: ", ino);
--
1.7.3.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] ext4: critical info format fix in __ext4_grp_locked_error
@ 2011-03-18 9:58 Robin Dong
2011-03-22 0:47 ` Ted Ts'o
0 siblings, 1 reply; 5+ messages in thread
From: Robin Dong @ 2011-03-18 9:58 UTC (permalink / raw)
To: linux-ext4; +Cc: Robin Dong, Tao Ma
From: Robin Dong <sanbai@taobao.com>
When we do performence-testing on ext4 filesystem, we observe a warning like this:
"[ 1684.113205] EXT4-fs error (device sda7): ext4_mb_generate_buddy:718: group 259825901 blocks in bitmap, 26057 in gd"
indeed, it should be
"group 2598, 25901 blocks in bitmap, 26057 in gd"
This bug is found on upstream 2.6.36 kernel. We ran a 2.6.36 kernel on the online system with 8 Ext4 file systems. 2 of them are mounted with delayed allocation feature. This warning is only observed on delayed allocation enabled Ext4 file systems.
This issue is not easy to reproduce, on two servers with 2.6.36 kenrel + ext4, after running 110+ days, the error starts to appear on kernel log. When check the error log, we found the info format should be fixed, that's how this patch comes.
Reviewed-by: Coly Li <bosong.ly@taobao.com>
Cc: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Robin Dong <sanbai@taobao.com>
---
fs/ext4/super.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index f6a318f..bb38475 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -594,7 +594,7 @@ __acquires(bitlock)
vaf.fmt = fmt;
vaf.va = &args;
- printk(KERN_CRIT "EXT4-fs error (device %s): %s:%d: group %u",
+ printk(KERN_CRIT "EXT4-fs error (device %s): %s:%d: group %u, ",
sb->s_id, function, line, grp);
if (ino)
printk(KERN_CONT "inode %lu: ", ino);
--
1.7.3.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ext4: critical info format fix in __ext4_grp_locked_error
2011-03-18 9:58 [PATCH] ext4: critical info format fix in __ext4_grp_locked_error Robin Dong
@ 2011-03-22 0:47 ` Ted Ts'o
2011-03-22 2:30 ` Tao Ma
0 siblings, 1 reply; 5+ messages in thread
From: Ted Ts'o @ 2011-03-22 0:47 UTC (permalink / raw)
To: Robin Dong; +Cc: linux-ext4, Robin Dong, Tao Ma
Applied to the ext4 patch queue.
On Fri, Mar 18, 2011 at 05:58:03PM +0800, Robin Dong wrote:
> From: Robin Dong <sanbai@taobao.com>
>
> When we do performence-testing on ext4 filesystem, we observe a warning like this:
>
> "[ 1684.113205] EXT4-fs error (device sda7): ext4_mb_generate_buddy:718: group 259825901 blocks in bitmap, 26057 in gd"
>
> indeed, it should be
>
> "group 2598, 25901 blocks in bitmap, 26057 in gd"
Note that the next two paragraphs don't really belong in a commit
description. It's best if you put this kind of stuff after the
signed-off-by lines, with a "---" separating the commit description, like this:
Signed off by: Ty Coon <tycoon@gmail.com>
---
Stuff that explains the context of the patch
diff --git ....
> This bug is found on upstream 2.6.36 kernel. We ran a 2.6.36 kernel
> on the online system with 8 Ext4 file systems. 2 of them are mounted
> with delayed allocation feature. This warning is only observed on
> delayed allocation enabled Ext4 file systems.
>
> This issue is not easy to reproduce, on two servers with 2.6.36
> kenrel + ext4, after running 110+ days, the error starts to appear
> on kernel log. When check the error log, we found the info format
> should be fixed, that's how this patch comes.
Can you send more information about what sort of workloads your
servers are under, and any other information about how to reproduce
it?
- Ted
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ext4: critical info format fix in __ext4_grp_locked_error
2011-03-22 0:47 ` Ted Ts'o
@ 2011-03-22 2:30 ` Tao Ma
2011-03-22 5:35 ` Coly Li
0 siblings, 1 reply; 5+ messages in thread
From: Tao Ma @ 2011-03-22 2:30 UTC (permalink / raw)
To: Ted Ts'o; +Cc: Robin Dong, linux-ext4
Hi Ted,
On 03/22/2011 08:47 AM, Ted Ts'o wrote:
> Applied to the ext4 patch queue.
>
> On Fri, Mar 18, 2011 at 05:58:03PM +0800, Robin Dong wrote:
>> From: Robin Dong <sanbai@taobao.com>
>>
>> When we do performence-testing on ext4 filesystem, we observe a warning like this:
>>
>> "[ 1684.113205] EXT4-fs error (device sda7): ext4_mb_generate_buddy:718: group 259825901 blocks in bitmap, 26057 in gd"
>>
>> indeed, it should be
>>
>> "group 2598, 25901 blocks in bitmap, 26057 in gd"
>
> Note that the next two paragraphs don't really belong in a commit
> description. It's best if you put this kind of stuff after the
> signed-off-by lines, with a "---" separating the commit description, like this:
>
> Signed off by: Ty Coon <tycoon@gmail.com>
> ---
> Stuff that explains the context of the patch
>
> diff --git ....
>
>> This bug is found on upstream 2.6.36 kernel. We ran a 2.6.36 kernel
>> on the online system with 8 Ext4 file systems. 2 of them are mounted
>> with delayed allocation feature. This warning is only observed on
>> delayed allocation enabled Ext4 file systems.
>>
>> This issue is not easy to reproduce, on two servers with 2.6.36
>> kenrel + ext4, after running 110+ days, the error starts to appear
>> on kernel log. When check the error log, we found the info format
>> should be fixed, that's how this patch comes.
>
> Can you send more information about what sort of workloads your
> servers are under, and any other information about how to reproduce
> it?
OK, so let me try to describe the situation here.
This is a web cache server and we use squid to cache some data. This bug
was found we were testing 2.6.36 vanilla kernel. We don't know for sure
how to reproduce it since it showed up when the test server ran for
about 100 days. And the bad thing is that the volume was reformatted for
another test. :( But we have several machines here, and we are
continuing our test, so if there are any error happening again, we
promise that we will prompt what we find immediately.
btw, when testing 2.6.32 kernel, we find another error, a dir inode is
corrupted and some error in message like
Mar 16 11:15:28 cache161 kernel: [484403.699588] EXT4-fs error (device
sda5): ext4_lookup: deleted inode referenced: 21496065
This volume is also mounted with delay allocation.
Do you know bug related to this? We haven't checked if the upstream has
the similar bug or not.
Thanks.
Regards,
Tao
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ext4: critical info format fix in __ext4_grp_locked_error
2011-03-22 2:30 ` Tao Ma
@ 2011-03-22 5:35 ` Coly Li
0 siblings, 0 replies; 5+ messages in thread
From: Coly Li @ 2011-03-22 5:35 UTC (permalink / raw)
To: Ted Ts'o; +Cc: Tao Ma, Robin Dong, linux-ext4
On 2011年03月22日 10:30, Tao Ma Wrote:
> Hi Ted,
> On 03/22/2011 08:47 AM, Ted Ts'o wrote:
>> Applied to the ext4 patch queue.
>>
>> On Fri, Mar 18, 2011 at 05:58:03PM +0800, Robin Dong wrote:
>>> From: Robin Dong<sanbai@taobao.com>
>>>
>>> When we do performence-testing on ext4 filesystem, we observe a warning like this:
>>>
>>> "[ 1684.113205] EXT4-fs error (device sda7): ext4_mb_generate_buddy:718: group 259825901 blocks in bitmap, 26057 in gd"
>>>
>>> indeed, it should be
>>>
>>> "group 2598, 25901 blocks in bitmap, 26057 in gd"
>>
[snip]
>>> This bug is found on upstream 2.6.36 kernel. We ran a 2.6.36 kernel
>>> on the online system with 8 Ext4 file systems. 2 of them are mounted
>>> with delayed allocation feature. This warning is only observed on
>>> delayed allocation enabled Ext4 file systems.
>>>
>>> This issue is not easy to reproduce, on two servers with 2.6.36
>>> kenrel + ext4, after running 110+ days, the error starts to appear
>>> on kernel log. When check the error log, we found the info format
>>> should be fixed, that's how this patch comes.
>>
>> Can you send more information about what sort of workloads your
>> servers are under, and any other information about how to reproduce
>> it?
> OK, so let me try to describe the situation here.
> This is a web cache server and we use squid to cache some data. This bug
> was found we were testing 2.6.36 vanilla kernel. We don't know for sure
> how to reproduce it since it showed up when the test server ran for
> about 100 days. And the bad thing is that the volume was reformatted for
> another test. :( But we have several machines here, and we are
> continuing our test, so if there are any error happening again, we
> promise that we will prompt what we find immediately.
>
> btw, when testing 2.6.32 kernel, we find another error, a dir inode is
> corrupted and some error in message like
>
> Mar 16 11:15:28 cache161 kernel: [484403.699588] EXT4-fs error (device
> sda5): ext4_lookup: deleted inode referenced: 21496065
>
> This volume is also mounted with delay allocation.
>
When we observed these 2 issues, the Ext4 file systems were mounted with delalloc option.
--
Coly Li
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-22 5:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 9:58 [PATCH] ext4: critical info format fix in __ext4_grp_locked_error Robin Dong
2011-03-22 0:47 ` Ted Ts'o
2011-03-22 2:30 ` Tao Ma
2011-03-22 5:35 ` Coly Li
-- strict thread matches above, loose matches on Subject: below --
2011-03-17 1:56 Robin Dong
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).