Background fsck
Dan Melomedman
dan at devonit.com
Mon Jan 19 14:10:33 PST 2004
Matthew Dillon wrote:
>
> :Hi all,
> :this is the outline of how to implement a background fsck for DragonFly.
> :DR, this is somewhat more mature than what I wrote on Friday.
> :
> :Joerg
>
> :The first alternative is using a journal for all meta-data updates. That's
> :what most Linux filesystems are doing. The advantage is almost no time
> :needed to bring a uncleanly unmounted filesystem back into a working state.
> :The disadvantage is a steady slow down for _all_ meta-data updates.
>
> This actually doesn't slow down meta-data updates all that much,
> because the journal is linear it takes only one seek to update while
> you might need hundreds of seeks to update the meta-data in its
> individual locations on the disk.
>
> This is really the best way to do it, I think.
I've read somewhere that it can actually speed some specific cases up.
--
"The crowd neither wants nor seeks knowledge, and the leaders of the crowd, in
their own interests, try to strengthen its fear and dislike of everything new
and unknown. The slavery in which mankind lives is based upon this fear."
--George Gurdjieff
More information about the Kernel
mailing list