From: Li Zefan <lizf@cn.fujitsu.com>
To: Josef Bacik <josef@redhat.com>
Cc: Ian Kent <raven@themaw.net>, Chris Mason <chris.mason@oracle.com>,
linux-btrfs@vger.kernel.org, Albert Strasheim <fullung@gmail.com>
Subject: Re: mkfs.btrfs on 24 disks in parallel crashes kernel
Date: Tue, 16 Nov 2010 08:52:27 +0800 [thread overview]
Message-ID: <4CE1D5CB.1020909@cn.fujitsu.com> (raw)
In-Reply-To: <20101115164834.GA2597@localhost.localdomain>
> So I think we're on the same page for this problem, I've posted a test patch to
> the bugzilla
>
> https://bugzilla.redhat.com/show_bug.cgi?id=650261
>
> Basically we just need to setup a blank root/fs_info so it can be set in
> set_super, and then we use those blank structs in open_ctree. Hopefully this
> works, if it does I'll post it to the list for wider review.
>
You can reproduce the bug easily by this simple script:
# cat test.sh
#! /bin/sh
for ((; ;))
{
mount $1 $2
umount $2
}
Now run the test (I was using loop devices):
# ./test.sh /dev/loop1 /mnt1 &
# ./test.sh /dev/loop2 /mnt2
(You'll get exactly the same crash)
prev parent reply other threads:[~2010-11-16 0:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-08 7:22 mkfs.btrfs on 24 disks in parallel crashes kernel Albert Strasheim
2010-11-09 4:10 ` Ian Kent
2010-11-09 7:52 ` Ian Kent
2010-11-15 14:21 ` Ian Kent
2010-11-15 16:48 ` Josef Bacik
2010-11-15 17:52 ` Ian Kent
2010-11-16 0:52 ` Li Zefan [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=4CE1D5CB.1020909@cn.fujitsu.com \
--to=lizf@cn.fujitsu.com \
--cc=chris.mason@oracle.com \
--cc=fullung@gmail.com \
--cc=josef@redhat.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=raven@themaw.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.