From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1RVfdA-0000Si-Jd for ltp-list@lists.sourceforge.net; Wed, 30 Nov 2011 08:35:04 +0000 Received: from tyo201.gate.nec.co.jp ([202.32.8.193]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1RVfd8-0004Qg-5O for ltp-list@lists.sourceforge.net; Wed, 30 Nov 2011 08:35:04 +0000 Message-ID: <4ED5EA87.2010805@sx.jp.nec.com> Date: Wed, 30 Nov 2011 17:34:15 +0900 From: Kazuya Mio MIME-Version: 1.0 References: <4ED31B4E.5030405@sx.jp.nec.com> <4ED5DAA0.1070601@cn.fujitsu.com> In-Reply-To: <4ED5DAA0.1070601@cn.fujitsu.com> Subject: Re: [LTP] ext4-online-defrag test doesn't work due to too old e4defrag command List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: gaowanlong@cn.fujitsu.com Cc: ltp-list@lists.sourceforge.net 2011/11/30 16:26, Wanlong Gao wrote: > Hi Kazuya: > >> Hi, >> >> I tried to test ext4-online-defrag, but it didn't work well due to >> the following errors: >> >> ext4-online-defrag 0 TINFO : defrag type: 1, defrag obj: 2, block size: 1024 >> "/opt/ltp/testcases/bin/mnt_point/data0" >> File is not regular file [ NG ] >> Failed to defrag:Bad file descriptor [ NG ] >> Failed to defrag:Bad file descriptor [ NG ] >> >> Failed to defrag:Bad file descriptor [ NG ] >> Failed to defrag:Bad file descriptor [ NG ] >> ext4-online-defrag 2 TPASS : ext4 online defrag test pass >> >> This is because e4defrag is too old to defrag the file in the latest kernel. >> I think we should use the latest e4defrag command that is contained in e2fsprogs. > > > Are you sure that the latest e4defrag can PASS? Did you test with it already? Yes. I tested the latest e2fsprogs (commit:499d5ec558). I confirmed that e4defrag works fine. However, ext4-online-defrag test suite detects fsck error because it deletes lost+found directory in ext4. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list