From: Jens Axboe <axboe@kernel.dk>
To: Dave Chinner <david@fromorbit.com>
Cc: Ming Lei <tom.leiming@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [HANG 3.13-rc3] blk-mq/virtio: mkfs.ext4 hangs in blk_mq_wait_for_tags
Date: Sat, 21 Dec 2013 20:56:28 -0700 [thread overview]
Message-ID: <20131222035628.GC24722@kernel.dk> (raw)
In-Reply-To: <20131213105811.GT10988@dastard>
On Fri, Dec 13 2013, Dave Chinner wrote:
> On Fri, Dec 13, 2013 at 09:57:48AM +0800, Ming Lei wrote:
> > On Tue, Dec 10, 2013 at 6:39 AM, Dave Chinner <david@fromorbit.com> wrote:
> > > Hi Jens,
> > >
> > > Another day, another blkmq/virtio problem. Running mkfs.ext4 on a
> > > sparse 100TB VM file image, it hangs hard while writing superblock
> > > information:
> > >
> > > $ tests/fsmark-50-test-ext4.sh
> > > mke2fs 1.43-WIP (20-Jun-2013)
> > > Filesystem label=
> > > OS type: Linux
> > > Block size=4096 (log=2)
> > > Fragment size=4096 (log=2)
> > > Stride=0 blocks, Stripe width=0 blocks
> > > 1677721600 inodes, 26843545600 blocks
> > > 1342177280 blocks (5.00%) reserved for the super user
> > > First data block=0
> > > 819200 block groups
> > > 32768 blocks per group, 32768 fragments per group
> > > 2048 inodes per group
> > > Superblock backups stored on blocks:
> > > 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
> > > 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
> > > 102400000, 214990848, 512000000, 550731776, 644972544, 1934917632,
> > > 2560000000, 3855122432, 5804752896, 12800000000, 17414258688
> > >
> > > Allocating group tables: done
> > > Writing inode tables: done
> > > Creating journal (32768 blocks): done
> > > Writing superblocks and filesystem accounting information:
> > >
> > > It writes a few superblocks, then hangs. Immediately after it stops
> > > updating that last line, I see this:
> > >
> > > root@test4:~# echo w > /proc/sysrq-trigger
> >
> > It might be helpful to do below and post the result before the sysrq-trigger:
> >
> > cat /sys/class/block/vda/mq/0/tags
>
> I would, but for some reason I can't reproduce it now. I'm running a
> slightly more recent kernel than a few days ago, and it isn't
> hanging now....
Dave, I haven't found anything through testing. Is that the case at your
end too?
--
Jens Axboe
prev parent reply other threads:[~2013-12-22 3:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-09 22:39 [HANG 3.13-rc3] blk-mq/virtio: mkfs.ext4 hangs in blk_mq_wait_for_tags Dave Chinner
2013-12-09 22:40 ` Jens Axboe
2013-12-12 23:56 ` Dave Chinner
2013-12-13 1:57 ` Ming Lei
2013-12-13 10:58 ` Dave Chinner
2013-12-22 3:56 ` Jens Axboe [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=20131222035628.GC24722@kernel.dk \
--to=axboe@kernel.dk \
--cc=david@fromorbit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tom.leiming@gmail.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