lkml.org 
[lkml]   [2000]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Patch to make ext2 mounts go faster....
Date
On Mon, 20 Mar 2000, Nicholas Vinen wrote:

>
> >
> > > The following patches makes ext2 mounts go faster by removing
> > > the pointless counting of all of the free blocks and inodes in the
> > > bitmaps to make sure the match up with the block group descriptors. The
> > > checks take a huge amount of time, and are completely duplicated by the
> > > checks done by fsck.
> >
> > I could be be missing something here, but
> > what if someone mounts a disk that was not cleanly unmounted,
> > but they did not do an fsck before, and just went ahead
> > and mounted it?
>
> Am *I* missing something and you can do this by mounting with the
> "nocheck" option?? I have a 50GB RAID and I mount it using nocheck, it
> takes a fraction of a second, without this option it takes about 20
> seconds to mount.
> Surely a mount option is better than patching the kernel?

No, it's best to have extensive checks in user space rather than simple,
yet expensive, checks in the kernel. The checks have been there forever
and haven't caught much that isn't caught by the dirty fs flag.

--
"Love the dolphins," she advised him. "Write by W.A.S.T.E.."


-
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:57    [W:1.384 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site