lkml.org 
[lkml]   [2006]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.16-rc4: known regressions


    On Wed, 22 Feb 2006, Andrew Morton wrote:
    >
    > Yes, I tend to think that insmod should just block until all devices are
    > ready to be used. insmod doesn't just "insert a module". It runs that
    > module's init function.

    It really is very hard to accept the "blocking" behaviour.

    Some things can take a _loong_ time to be ready, including even requiring
    user intervention. And even when scanning takes "only" a few seconds, if
    there are multiple modules, you really want to scan things in parallel.

    Not finding a disk is often a matter of timing out - not all buses even
    have any real "enumeration" capability, and enumeration literally ends up
    being "try these addresses, and if nothing answers in 500 msec, assume
    it's empty".

    Now, 500 msec may not sound very bad, but it all adds up. I get unhappy if
    my bootup is a minute. I'd prefer booting up in a couple of seconds.

    Also, how ready do you want things to be? Do you want to know the device
    is there ("disk at physical location X exists"), or do you want to have
    read the UUID off the disk and partitioned it? The latter is what is
    needed for a mount, but it's often a _lot_ more expensive than just
    knowing the disk is there, and it's not even necessarily needed in many
    circumstances.

    For example, say that you have more than just a couple of disks attached
    to the system, but many of them are for non-critical stuff. You do not
    necessarily want to wait for them all to spin up at all. You usually only
    care about one of them - the root device.

    Linus
    -
    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: 2009-11-18 23:46    [W:5.942 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site