lkml.org 
[lkml]   [2005]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Hang during rm on ext2 mounted sync (2.6.14-rc2+)
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-09-22 22:52    [W:0.082 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site