xfs
[Top] [All Lists]

Re: 2.6.30-rc4: xfs_fsr hangs

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: 2.6.30-rc4: xfs_fsr hangs
From: Alexander Beregalov <a.beregalov@xxxxxxxxx>
Date: Sun, 3 May 2009 11:15:25 +0400
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2oURuy8ptydRJUORvJtxienLvs6x8CU9ILfb12wl4e8=; b=H/qSbyeu1NU0ww6NwfxH/0yin0AM0dQD8opcKSGYcM9csPesJGkfjYV0K3mzwFc8S6 9+23a9oQ60yLiTgHwqaThkZxEwHLeYcVwgP4s1/g5ndaZiRsLPY1yVqk2jttWCKXxnp0 I3PqVrqC4WNf3A8TBGOK31JB9WTAF0183E3Xg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tlrzQ3aXKdpvRBaM9K66/IpY+hOKptif3zUZHMFqjMbpcnbU285hZtwQ85wZjLP4d+ 8ztx7iK609CO/usEx0V7xUKCw2nE5XmiRBYFCiD3kH0EE89CKGv+Im/rSMs+2w0cTTcG 17AiUFHDQ21f/WHYrbx1YC5QrsfWSBT4FQnI8=
In-reply-to: <49FD2488.70503@xxxxxxxxxxx>
References: <a4423d670905011333s664115bdh1d72392897567c1d@xxxxxxxxxxxxxx> <20090502101405.GA6145@xxxxxxxxxxxxxxxxx> <a4423d670905021135s4fdbea82t20cf75b61c59dc75@xxxxxxxxxxxxxx> <49FC9762.6010109@xxxxxxxxxxx> <a4423d670905021159k51e91b12h96189005980b5e73@xxxxxxxxxxxxxx> <49FD2488.70503@xxxxxxxxxxx>
2009/5/3 Eric Sandeen <sandeen@xxxxxxxxxxx>:
> Alexander Beregalov wrote:
>> 2009/5/2 Eric Sandeen <sandeen@xxxxxxxxxxx>:
>>> Alexander Beregalov wrote:
>>>> 2009/5/2 Heinz Diehl <htd@xxxxxxxxxxxxxxxxx>:
>>>>> On 01.05.2009, Alexander Beregalov wrote:
>>>>>
>>>>>> # xfs_db -r /dev/sdc1
>>>>>> xfs_db> frag
>>>>>> actual 23805, ideal 22890, fragmentation factor 3.84%
>>>>>> # xfs_fsr -v /dev/sdc1
>>>>>> /mnt/c start inode=0
>>>>>> ino=158
>>>>>> extents before:3 after:1 DONE ino=158
>>>>>>
>>>>>>  then it hangs
>>>>> I can't confirm this here on my systems:
>>>>>
>>>>> liesel:~ # uname -a
>>>>> Linux liesel 2.6.30-rc4 #1 SMP PREEMPT Sat May 2 11:49:13 CEST 2009 
>>>>> x86_64 x86_64 x86_64 GNU/Linux
>>>> I have this problem on two x86_32 hosts.
>>>> It runs for about a minute and then hangs.
>>> echo w > /proc/sysrq-trigger
>>> dmesg
>>>
>>> would show all the sleeping processes...
>> It is the same as I posted already:
>
> (trimming cc's)
>
> Does this happen if you try to defrag a single file?  i.e. something like:
Yes, it does.
>
> # for I in `seq 10 -1 0`; do
>  dd if=/dev/zero of=fragfile bs=4k count=1 seek=$I conv=notrunc oflag=sync
> done
>
> # xfs_fsr fragfile
>
> I'm guessing it requires some activity on the files that are being
> defragmented, but maybe worth a test (the test passes fine for me, though).
>
> -Eric
>
>

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