Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 13:38:37 -0700 (PDT)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom geom.h geom_event.c geom_int.h
Message-ID:  <200209272038.g8RKcbDd034258@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2002/09/27 13:38:36 PDT

  Modified files:
    sys/geom             geom.h geom_event.c geom_int.h 
  Log:
  Implement g_call_me() as a way for geom methods to schedule operations
  to be performed in the event-thread.
  
  To do this, we need to lock the eventlist with g_eventlock (nee g_doorlock),
  since g_call_me() being called from the UP/DOWN paths will not be able to
  aquire g_topology_lock.
  
  This also means that for now these events are not referenced on any
  particular consumer/provider/geom.
  
  For UP/DOWN path use, this will not become a problem since the access()
  function will make sure we drain any bio's before we dismantle.
  
  Sponsored by:   DARPA & NAI Labs.
  
  Revision  Changes    Path
  1.22      +3 -1      src/sys/geom/geom.h
  1.13      +30 -0     src/sys/geom/geom_event.c
  1.3       +3 -0      src/sys/geom/geom_int.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209272038.g8RKcbDd034258>