2.6.30-rc4: xfs_fsr hangs
Alexander Beregalov
a.beregalov at gmail.com
Sun May 3 02:15:25 CDT 2009
2009/5/3 Eric Sandeen <sandeen at sandeen.net>:
> Alexander Beregalov wrote:
>> 2009/5/2 Eric Sandeen <sandeen at sandeen.net>:
>>> Alexander Beregalov wrote:
>>>> 2009/5/2 Heinz Diehl <htd at fancy-poultry.org>:
>>>>> 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
>
>
More information about the xfs
mailing list