* [LTP] ext4-online-defrag test doesn't work due to too old e4defrag command
@ 2011-11-28 5:25 Kazuya Mio
2011-11-30 7:26 ` Wanlong Gao
0 siblings, 1 reply; 5+ messages in thread
From: Kazuya Mio @ 2011-11-28 5:25 UTC (permalink / raw)
To: ltp-list
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 ]
<snip>
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.
Regards,
Kazuya Mio
------------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [LTP] ext4-online-defrag test doesn't work due to too old e4defrag command
2011-11-28 5:25 [LTP] ext4-online-defrag test doesn't work due to too old e4defrag command Kazuya Mio
@ 2011-11-30 7:26 ` Wanlong Gao
2011-11-30 8:34 ` Kazuya Mio
0 siblings, 1 reply; 5+ messages in thread
From: Wanlong Gao @ 2011-11-30 7:26 UTC (permalink / raw)
To: Kazuya Mio; +Cc: ltp-list
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 ]
> <snip>
> 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?
Thanks
-Wanlong Gao
>
> Regards,
> Kazuya Mio
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] ext4-online-defrag test doesn't work due to too old e4defrag command
2011-11-30 7:26 ` Wanlong Gao
@ 2011-11-30 8:34 ` Kazuya Mio
[not found] ` <1322643045-6605-1-git-send-email-gaowanlong@cn.fujitsu.com>
0 siblings, 1 reply; 5+ messages in thread
From: Kazuya Mio @ 2011-11-30 8:34 UTC (permalink / raw)
To: gaowanlong; +Cc: ltp-list
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 ]
>> <snip>
>> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [LTP] ext4-online-defrag test doesn't work due to too old e4defrag command
@ 2011-11-24 2:51 Kazuya Mio
0 siblings, 0 replies; 5+ messages in thread
From: Kazuya Mio @ 2011-11-24 2:51 UTC (permalink / raw)
To: ltp-list
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 ]
<snip>
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.
Regards,
Kazuya Mio
------------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-12-22 13:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 5:25 [LTP] ext4-online-defrag test doesn't work due to too old e4defrag command Kazuya Mio
2011-11-30 7:26 ` Wanlong Gao
2011-11-30 8:34 ` Kazuya Mio
[not found] ` <1322643045-6605-1-git-send-email-gaowanlong@cn.fujitsu.com>
2011-12-22 13:29 ` [LTP] [PATCH] ext4-online-defrag: use the e4defrag from local system Cyril Hrubis
-- strict thread matches above, loose matches on Subject: below --
2011-11-24 2:51 [LTP] ext4-online-defrag test doesn't work due to too old e4defrag command Kazuya Mio
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.