Re: Status of ext4 online defrag?

From: Clemens Eisserer
Date: Fri Jul 24 2009 - 11:29:47 EST


>> Does anybody know what the current state of ext4 online defrag is?
>
> It got merged for 2.6.31 (commit 748de6736c1e482e111f9d1b5a5d5b1787600cad)

Thanks, how cool!
I feared already that this feature is dead, glad to hear it is not :)

When compiling e2fsprogs from git, I get:
> e4defrag.c:388: error: conflicting types for âfallocateâ
> /usr/include/bits/fcntl.h:240: note: previous declaration of âfallocateâ was here
> make: *** [e4defrag.o] Error 1

I had to comment out fallocate in fcntl.h, no idea who is wrong here.

Thanks again, Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/