lkml.org 
[lkml]   [2001]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] SMP race in ext2 - metadata corruption.
    Date
    From
    Richard Gooch wrote:
    >
    > - next boot, init(8) checks the file, and if it exists, opens the root
    > FS block device and reads in each block listed in the file. The
    > effect is to warm the buffer cache extremely quickly. The head will
    > move in one direction, grabbing data as it flys by. I expect this
    > will take around 1 second

    FYI:

    Around 1992 or 1993, I rewrote Minix-fsck to do this instead of
    seeking all over the place.

    Cut the total time to fsck my filesystem from around 30 to 28
    seconds. (remember the days of small filesystems?)

    That's when I decided that this was NOT an interesting project: there
    was very little to be gained.

    The explanation is: A seek over a few tracks isn't much slower than a
    seek over hundreds of tracks. Almost any "skip" in linear access
    incurs the average 6ms rotational latency anyway.

    Roger.
    --
    ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
    *-- BitWizard writes Linux device drivers for any device you may have! --*
    * There are old pilots, and there are bold pilots.
    * There are also old, bald pilots.
    -
    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: 2005-03-22 13:17    [W:0.035 / U:60.568 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site