Re: ext2 directory size bug (?)

From: Chris Wedgwood (cw@f00f.org)
Date: Fri Dec 01 2000 - 23:57:04 EST


On Thu, Nov 30, 2000 at 08:24:02AM -0500, Richard B. Johnson wrote:

    This is actually a feature. The directory does not get truncated.

Arguably directories could be truncated when objects towards the end
are removed; I believe UFS under Solaris might do this?

An even better heuristic I like would allow repacking of a directory
and truncation if you could safely half the size -- but I suspect
locking issues might be hideous here.

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



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:08 EST