Date: Fri, 8 Sep 2006 10:22:41 +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: <200609081022.k88AMfsP057404@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2006-09-08 10:22:41 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/geom/gate g_gate.c g_gate.h
Log:
MFC: sys/geom/gate/g_gate.c 1.24-1.26
sys/geom/gate/g_gate.h 1.9-1.10
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.
Use __FBSDID in .c files.
Bump copyright year.
Revision Changes Path
1.21.2.2 +49 -76 src/sys/geom/gate/g_gate.c
1.7.2.2 +3 -3 src/sys/geom/gate/g_gate.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609081022.k88AMfsP057404>
