[Top] [All Lists]

Re: 2.6.30-rc4: xfs_fsr hangs

To: Alexander Beregalov <a.beregalov@xxxxxxxxx>
Subject: Re: 2.6.30-rc4: xfs_fsr hangs
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 02 May 2009 23:58:48 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <a4423d670905021159k51e91b12h96189005980b5e73@xxxxxxxxxxxxxx>
References: <a4423d670905011333s664115bdh1d72392897567c1d@xxxxxxxxxxxxxx> <20090502101405.GA6145@xxxxxxxxxxxxxxxxx> <a4423d670905021135s4fdbea82t20cf75b61c59dc75@xxxxxxxxxxxxxx> <49FC9762.6010109@xxxxxxxxxxx> <a4423d670905021159k51e91b12h96189005980b5e73@xxxxxxxxxxxxxx>
User-agent: Thunderbird (Macintosh/20090302)
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:

# for I in `seq 10 -1 0`; do
 dd if=/dev/zero of=fragfile bs=4k count=1 seek=$I conv=notrunc oflag=sync

# 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).


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