public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: linux-kernel@vger.kernel.org, list+2007@smokva.net
Subject: Re: dd/mke2fs on loopback hangs
Date: Tue, 06 Nov 2007 22:04:51 +0100	[thread overview]
Message-ID: <4730D6F3.8030500@redhat.com> (raw)
In-Reply-To: <20071106131310.GA8628@pintail.smokva.net>

Petar Bogdanovic wrote:
> I experience some strange problems with my loopback-on-ext3-setup.
> After creating a plain `zeroed' dummy-file and doing a /dev/loop/0 on
> it, every dd or mke2fs hangs while doing certain write()s. Here are the
> steps just in order to show, how simple the setup is:
...

> P.S:	$ uname -a
> 	Linux pintail 2.6.23-ARCH #1 SMP PREEMPT Sat Oct 27 09:04:14 UTC
> 	2007 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel
> 	GNU/Linux

Hi Petar,

I saw similar bug report for dm-crypt over loop but reproducible even
on stand-alone loop devices -  see http://bugzilla.kernel.org/show_bug.cgi?id=8020

The problem was caused by loop io stalling in balance_dirty_pages.

Per BDI dirty limit patchset (included in 2.6.24-rc) fixed it.

Anyway, you should attach output of process states when system stops
responding (output of "echo t >/proc/sysrq-trigger" ) here to allow
some analysis.

Milan
--
mbroz@redhat.com



  reply	other threads:[~2007-11-06 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 13:13 dd/mke2fs on loopback hangs Petar Bogdanovic
2007-11-06 21:04 ` Milan Broz [this message]
2007-11-07 13:28   ` Petar Bogdanovic
2007-11-13  9:36   ` Petar Bogdanovic

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=4730D6F3.8030500@redhat.com \
    --to=mbroz@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=list+2007@smokva.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox