xfs
[Top] [All Lists]

Re: long hangs when deleting large directories (3.0-rc3)

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: long hangs when deleting large directories (3.0-rc3)
From: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
Date: Sun, 19 Jun 2011 10:16:35 +0200
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=simple; d=mail.ud10.udmedia.de; h= date:from:to:cc:subject:message-id:references:mime-version: content-type:in-reply-to; q=dns/txt; s=beta; bh=VW3XjU/MWcDb1FfA henuUstMXJIEMn1jhKZmPJK8wDU=; b=Jm36ZYRSUO8ZYYPV64QNFgq6y62vGrkW 1ZD3idZ1Syrl2H6+6UeVWamXuccNRIufkQDej0nDnREBKOou4c86DYT/GlXzxAmO nx3vUfUmw3OA66XWjepbHu7oow6EwC/jwwewax8W0pA4PRLBFG4X3p3c3dbTw9u3 6eJASv7gy70=
In-reply-to: <20110618143720.GA1703@xxxxxxxxxxxxxx>
References: <20110618141950.GA1685@xxxxxxxxxxxxxx> <20110618142456.GA26419@xxxxxxxxxxxxx> <20110618143720.GA1703@xxxxxxxxxxxxxx>
On 2011.06.18 at 16:37 +0200, Markus Trippelsdorf wrote:
> On 2011.06.18 at 10:24 -0400, Christoph Hellwig wrote:
> > On Sat, Jun 18, 2011 at 04:19:50PM +0200, Markus Trippelsdorf wrote:
> > > Running the latest git kernel (3.0-rc3) my machine hangs for long
> > > periods (1-2 sec) whenever I delete a large directory recursively on my
> > > xfs partition. During the hang I cannot move the mouse pointer or use
> > > the keyboard (but the music keeps playing without stuttering). A quick
> > > way to reproduce is to "rm -fr" a kernel tree. 
> > 
> > Does this also happen when using the deadline I/O schedule, that is
> > after a:
> > 
> > echo "deadline" > /sys/block/sda/queue/scheduler
> 
> Yes.

I've tested this a little further. The behavior is independent of the
kernel version used (tested back to 2.6.37). My SSD is also fine and a
freshly created xfs partition shows no problems, too.
Please note that the affected partition is used very heavily here
(several git trees, daily backups of / and the Gentoo build-dir reside
there).
So it appears that the observed "hangs" are the result of a strongly
aged file-system. 

-- 
Markus

<Prev in Thread] Current Thread [Next in Thread>