On Thu, 2007-03-22 at 06:32 +0100, Jasmin Buchert wrote:
> Hi,
> 
> I tried to benchmark some Linux filesystems but the kernel crashed when
> doing lots of mkdir's on a JFS filesystem.
> I did this on kernel 2.6.21-rc4-git1, so I'm not sure it's a JFS
> problem. The mkdir's were done in parallel by 2 forks.

I haven't seen this.  I've haven't played with 2.6.21-rc4-git1, but I
have done a little testing of 2.6.21-rc4 and 2.6.21-rc4-mm1.  Not much
has changed in the jfs code itself since 2.6.20, but jfs could be doing
something odd that clashes with a recent change to the core code.

Can I assume that you didn't see problems on any other file systems?

Have you run the same tests on other recent kernels, and if so, which is
the latest that did not have the problem?

> Here's the dmesg:
> 
> Bad page state in process 'mkdir'
> page:ffff810001b632c0 flags:0x4000000000000818 mapping:ffff810036385ca8
> mapcount:0 count:0 Trying to fix it up, but a reboot is needed
> Backtrace:
> 
> Call Trace:
> [<ffffffff802a7707>] bad_page+0x57/0x90
> [<ffffffff8020b8a0>] free_hot_cold_page+0x60/0x130
> [<ffffffff882b17ef>] :jfs:diWrite+0x50f/0x540
> [<ffffffff882c162a>] :jfs:txCommit+0x1fa/0x1010
> [<ffffffff882a944e>] :jfs:jfs_mkdir+0x26e/0x370
> [<ffffffff8022e50f>] mntput_no_expire+0x1f/0xd0
> [<ffffffff8020f1f4>] link_path_walk+0xd4/0xf0
> [<ffffffff802bd0f9>] vfs_mkdir+0x79/0xd0
> [<ffffffff802bd669>] sys_mkdirat+0xb9/0x130
> [<ffffffff80267f8d>] error_exit+0x0/0x84
> [<ffffffff80261c1e>] system_call+0x7e/0x83
> ...

I'm having trouble making the connection between diWrite and
free_hot_cold_page.  I'll keep looking.

> The rest of dmesg is attached. It seems some lines at the end went
> missing (it's from a logfile).
> 
> Greetings,
> Jasmin Buchert

Thanks for reporting this!

Shaggy
-- 
David Kleikamp
IBM Linux Technology Center


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to