lkml.org 
[lkml]   [1999]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Deletion of big files...
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.018 / U:29.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site