Re: [RFC][PATCH 0/8]ext4: online defrag (ver 0.9)

Mingming
2008-05-30T18:52:53Z

Thanks for the update.
On Fri, 2008-05-30 at 20:17 +0900, Akira Fujita wrote:
> - Current mballoc in the ext4 patch queue (linux-2.6.26-rc4) doesn't
> work fine, ext4_mb_init_caches() which is changed by
> ext4-add-error-handling-in-ext4-mb_laod_buddy.patch returns -EIO.
> You can reproduce this kind of issue easily with following
> procedure.
> 1. mke2fs -j -E test_fs /devname
> 2. mount -t ext4dev -o mballoc,extents /devname /mountpoint
> 3. mkdir DIR /mountpint
> mkdir: cannot create directory `/mnt/mp2/DIR1': No space left on
> device
>
>
Ccing Shen Feng for this bug...

> Next steps:
> 1. Implement FS_IOC_FIEMAP instead of EXT4_EXTENTS_INFO to reduce ioctl count.
> 2. Remove the restriction of block size (Enable defrag with 1KB and 2KB).
> 3. Remove the limit of target file size (now 128MB) in -f mode.
> * The post about -f mode can be found at:
> http://marc.info/?l=linux-ext4&m=118239067704899&w=4
>
> Summary of patches:
> * The following patches are new ext4 online defrag patches.
> Mingming, please replace these patches with the ext4 patch queue's.
>
Done.

Regards,
Mingming