Re: [PATCH] EXT3 extents against 2.6.0-test7

From: Alex Tomas
Date: Fri Oct 17 2003 - 18:01:49 EST


On Fri, 17 Oct 2003 17:22:05 -0400
Ed Sweetman <ed.sweetman@xxxxxxxxx> wrote:

> none of my directories have more than 60 or so entries. I keep
> everything very organized on my hdds. The largest directories would be
> the ones holding the largest files but that maxes out at around 60 file
> entries. i formatted those partitions with a 4KB inode size.

oh. this seems very confusing for me. extents crashed during readdir() syscall.
4k block may contain upto 60 entries with 60chars length. even if your dir was
larger I don't think it was >16k. so, I really do believe all the extents were
placed in inode body (zero tree depth). also, directory grows in linear manner
only. so, this code patch is very very simple and quite good tested. thus it
really seems like a corruption, not an error in logic. let me cook a patch that
will show more info.

also, it's very interesting how is it difficult to reproduce on your box?

thanks!

--
with best regards, Alex
-
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/