From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n434wn10081749 for ; Sat, 2 May 2009 23:58:49 -0500 Received: from mail.sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2D32A25B417 for ; Sat, 2 May 2009 21:58:50 -0700 (PDT) Received: from mail.sandeen.net (sandeen.net [209.173.210.139]) by cuda.sgi.com with ESMTP id oCWwWhIY4nUkZ7K9 for ; Sat, 02 May 2009 21:58:50 -0700 (PDT) Message-ID: <49FD2488.70503@sandeen.net> Date: Sat, 02 May 2009 23:58:48 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: 2.6.30-rc4: xfs_fsr hangs References: <20090502101405.GA6145@fancy-poultry.org> <49FC9762.6010109@sandeen.net> In-Reply-To: List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Alexander Beregalov Cc: xfs@oss.sgi.com Alexander Beregalov wrote: > 2009/5/2 Eric Sandeen : >> Alexander Beregalov wrote: >>> 2009/5/2 Heinz Diehl : >>>> 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 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 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs