Re: [Ext2-devel] Re: [RFC] extents support for EXT3

From: Ed Sweetman
Date: Fri Aug 29 2003 - 17:26:54 EST


Mike Fedyk wrote:
On Fri, Aug 29, 2003 at 03:55:14PM -0400, Ed Sweetman wrote:

I would not recommend using the patch for system directories only because it leaves you with no way to rescue the system and does very little in the way of performance for those directories. Ext3 is backwards compatible with ext2, this patch seemingly breaks that. Because of that it doesn't seem to be ext3 anymore, rather a one way compatibility with ext3 with a purely large media bias.


Do you get any slowdown with the extents on small files though?

The plan is to add extent reading code to the three other stable trees so
that at the very least you could have read-only access to the extent based
ext2/3.

Remember, if the implementation of journaling hadn't have been so extensive,
we wouldn't have an ext3, but ext2 with journaling (and called ext2).

So what this will be is ext2 format with extents, and with (ext3) or without
journaling (ext2).

And this is planned for 2.7, so if anything goes into 2.6, it'll be
read-only support of extents.


ext3 fs's could be read by ext2 drivers without having knowledge of what ext3 is. Hence when ext3 was introduced, i could use present stable kernels to still fall back on in case things didn't go as planned (happened a lot in the beginning of ext3). so ext3 fs's are compatible with ext2 without any knowledge of ext3. This is more like the upgrade to ext2 that happened in 2.2 compared to 2.0 that made later ext2 fs's unreadable to the older 2.0 kernel produced ones.

you get no real slowdown as far as rough benchmarks are concerned, perhaps with a microbenchmark you would see one and also, doesn't it take up more space to save the extent info and such? Either way, all of it's real benefits occur on large files.

-
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/