Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2006 21:56:00 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom/gate g_gate.c g_gate.h
Message-ID:  <200609052156.k85Lu0Hj017387@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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