Re: Deletion of big files...

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Thu, 20 May 1999 18:16:55 +0200


Rogier Wolff wrote:
> Clearing the bitmaps might become the bottleneck in that case.

A meta-bitmap where each bitmap block is represented by a bit in the
meta-bitmap would solve this.

A 0 in the meta-bitmap means the bitmap block is assumed to be "all
unallocated" whatever the actual disk contents. A 1 in the meta-bitmap
means to use the bitmap block contents.

Then any operation which clears many whole bitmap blocks can simply
clear meta-bitmap bits.

I don't know how this would impact reliability in the case of a system
crash + e2fsck.

-- Jamie

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