lkml.org 
[lkml]   [2006]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] [PATCH] Reducing average ext2 fsck time through fs-wide dirty bit]
On Tue, Mar 21, 2006 at 05:10:36PM -0800, Valerie Henson wrote:
>
> The combination of the orphan inode and preallocation blocks problem
> led me to another idea: create in-memory-only allocation bitmaps for
> both inodes and blocks. These bitmaps would track blocks and inodes
> allocated only for the life of this mount (or a file open) in memory
> rather than on disk. I haven't implemented this yet but I think it is
> a promising approach.

As I discovered about 5 seconds after starting to implement this, this
is a terrible idea. Hint: think about worst-case memory usage. I am
working on porting the ext3 reservation code to ext2 instead.

-VAL
-
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/

\
 
 \ /
  Last update: 2006-03-22 09:43    [from the cache]
©2003-2011 Jasper Spaans