linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Chris Sykes <chris@sigsegv.plus.com>
Cc: linux-kernel@vger.kernel.org, ext2-devel@lists.sourceforge.net
Subject: Re: Hang during rm on ext2 mounted sync (2.6.14-rc2+)
Date: Fri, 23 Sep 2005 01:57:19 -0700	[thread overview]
Message-ID: <20050923015719.5eb765a4.akpm@osdl.org> (raw)
In-Reply-To: <20050922163708.GF5898@sigsegv.plus.com>

Chris Sykes <chris@sigsegv.plus.com> wrote:
>
> Kernels: 2.6.14-rc1 -> 2.6.14-rc2 + up to hg changeset 5c9ff0e17a61
> 
>  I'm experiencing processes getting stuck in the 'D' state whilst
>  rm'ing files on an ext2 fs mounted with the 'sync' option.  What I've
>  tested so far:
> 
>   * Ext2 mounted with sync:     rm hangs
>   * Ext2 mounted without sync:  OK
>   * Ext3 mounted with sync:     OK
>   * Ext3 mounted without sync:  OK
> 
>  I first noticed this on my /boot partition, and wanted to know whether
>  it was repeatable so I've created a few test ext2 filesystem images
>  and mounted them via loopback.

Odd.  Seems OK here.  How hard is it to make it occur?

I'd be suspecting a lost I/O completion from the device driver.  Are you
really sure that ext3 cannot be made to do the same thing?

Suggest you generate the `dmesg -s 1000000' output for both good and bad
kernels, do a `diff -u' on them and look for IDE complaints (or SCSI, if
you're on SCSI).


  parent reply	other threads:[~2005-09-23  8:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22 16:37 Hang during rm on ext2 mounted sync (2.6.14-rc2+) Chris Sykes
2005-09-22 20:49 ` Chris Sykes
2005-09-23  8:57 ` Andrew Morton [this message]
2005-09-23 12:19   ` Chris Sykes
2005-09-23 13:22     ` Chris Sykes
2005-09-23 19:18       ` Andrew Morton
2005-09-23 19:45         ` Jesper Juhl
2005-09-23 19:47           ` Andrew Morton
2005-09-23 20:11           ` Alexey Dobriyan
2005-09-23 20:06             ` Jesper Juhl
2005-09-23 20:23               ` Andrew Morton
2005-09-23 20:51                 ` Jesper Juhl
2005-09-24 12:14         ` Chris Sykes
2005-09-24 14:28           ` Chris Sykes
2005-09-24 15:47             ` [PATCH]: Fix ext2_new_inode() failure paths Chris Sykes
2005-09-24 17:33             ` [PATCH]: Fix ext3_new_inode() " Chris Sykes
2005-09-24 17:39             ` Hang during rm on ext2 mounted sync (2.6.14-rc2+) Andrew Morton
2005-09-25 10:56               ` Chris Sykes

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=20050923015719.5eb765a4.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=chris@sigsegv.plus.com \
    --cc=ext2-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).