Re: Hang during rm on ext2 mounted sync (2.6.14-rc2+)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 22, 2005 at 05:37:08PM +0100, Chris Sykes wrote:
> Ext gurus
> 
> 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

More datapoints:

2.6.13.2 is OK.
Latest 2.6.14 from the mercurial repository as of this afternoon is
still affected.  I'll try to narrow it down some more with a binary
search.

It seems that not just any rm will cause the stuck process.  The
following procedure seems to get it every time though (I encountered
this bug first whilst running update-grub):

  # cd /sync_ext2
  # cp /boot/grub/menu.lst ./menu.lst.new
  # cat menu.lst.new > menu.lst
  # rm menu.lst

-- 

(o-  Chris Sykes
//\       "Don't worry. Everything is getting nicely out of control ..."
V_/_                          Douglas Adams - The Salmon of Doubt
GPG Fingerprint: 5E8E D17F F96C CC08 911D  CAF2 9049 70D8 5143 8090

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux