cvs commit: src/sys/geom/gate g_gate.c g_gate.h

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Sep 5 14:56:02 PDT 2006


pjd         2006-09-05 21:56:00 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/gate        g_gate.c g_gate.h 
  Log:
  Fix problems with destroy and forcible destroy functionality:
  - hold/release device in start/done routines, this will probably slow
    down things a bit, but previous code was racy;
  - only release device if g_gate_destroy() failed - if it succeeded device
    is dead and there is nothing to release;
  - various other changes which makes forcible destruction reliable.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.24      +45 -73    src/sys/geom/gate/g_gate.c
  1.9       +2 -2      src/sys/geom/gate/g_gate.h


More information about the cvs-all mailing list