From: Kazuya M. <k-...@sx...> - 2011-11-30 08:35:04
|
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. |