cvs commit: src/sys/geom geom_subr.c

Brian Feldman green at FreeBSD.org
Mon Oct 11 21:44:55 PDT 2004


green       2004-10-12 04:44:54 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_subr.c 
  Log:
  When loading GEOM modules, we expect the actual load process to be done
  by the time that kldload(8) returns.  Satisfy that by making the GEOM
  module load event -- only when the kernel is !cold -- wait until the
  GEOM module init function has finished instead of returning immediately.
  
  This is the other half of fixing md(8) (actually, "mfs" in fstab(5))
  that is similar to r1.128 of src/sys/dev/md/md.c.  This bug would be
  why RAM disks would often fail on boot and the first call to mdconfig(8)
  would probably fail.
  
  pjd has ideas for not requiring kldload(8) to work synchronously for
  control devices that could make this obsolete.
  
  Silence on:     -arch
  
  Revision  Changes    Path
  1.83      +9 -1      src/sys/geom/geom_subr.c


More information about the cvs-all mailing list