Re: [Patch] Cleanup struct gendisk registration, 2.3.40-pre1

From: Jamie Lokier (lkd@tantalophile.demon.co.uk)
Date: Mon Jan 17 2000 - 06:15:17 EST


Linus Torvalds wrote:
> The ext2 mount code defaults to do a full check at mount time, and it
> takes _forever_ on a big disk because the full check involves going
> through every superblock and verifying that they all match etc.
>
> It doesn't really buy you anything - it's not real protection in the first
> place, and if you want to be safe you should just fsck the filesystem, not
> do something silly that takes forever due to seeking all over the disk.

I was just thinking about that. Might it be possible to do the check in
the background, after mounting the disk? Done sequentially for
partitions on the same disk of course. And perhaps with a bandwidth
throttle. If the background check finds a problem, it does the same
thing as any other time ext2 detects an error.

Meanwhile the boot process can go on.

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



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:15 EST