cvs commit: src/sys/geom/mirror g_mirror.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Oct 14 00:55:30 PDT 2004


pjd         2004-10-14 07:55:29 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/mirror      g_mirror.c 
  Log:
  Ehh. Introduce a hack: Wait for 3 seconds, so GEOM is able to give us
  providers for tasting. Before this hack, race below is possible:
          SI_SUB_RAID (no not-fully-configured geoms, so don't block)
          GEOM tasting (now geoms are created)
          SI_SUB_MOUNT_ROOT (if root file system is placed on a mirror, it is
                  possible that this mirror is not fully configured yet)
  There is a lot of work to do to avoid such hacks and I need a working
  solution before 5.3, sorry.
  
  Reported by:    John Hay <jhay at icomtek.csir.co.za>
  
  Revision  Changes    Path
  1.38      +5 -0      src/sys/geom/mirror/g_mirror.c


More information about the cvs-all mailing list