Re: [PATCH] minor optimization for EXT3

Andi Kleen (ak@suse.de)
10 Jul 2003 14:43:07 +0200


Alex Tomas <bzzz@tmi.comex.ru> writes:
> + if (i == start + inodes_per_buffer) {
> + /* all inodes (but our) are free. so, we skip I/O */

Won't this make undeletion a lot harder? Deleted inodes will now be trashed
at will, so you cannot use their contents anymore.

Also dtimes in free inodes can be now lost, can't they? Did you check
if that causes problems in fsck? [my understanding was that ext2/3 fsck relies on the
dtime to make some heuristics when recovering files work better]

Maybe it should be an mount option so that users can trade performance against
better recoverability.

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