Date: Mon, 3 Jan 2005 12:38:01 +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/sbin/geom/class/mirror geom_mirror.csrc/sys/geom/mirror g_mirror.c g_mirror.h g_mirror_ctl.c Message-ID: <200501031238.j03Cc1ga018930@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2005-01-03 12:38:01 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sbin/geom/class/mirror geom_mirror.c
sys/geom/mirror g_mirror.c g_mirror.h g_mirror_ctl.c
Log:
MFC:
- Fix force-stopping mirrors.
- Introduce 'idle' functionality, which works by marking components as
clean after the given idle time.
- Use shutdown hooks to mark mirrors as clean after all file systems are
unmounted.
- Use g_topology_try_lock() in the event thread to avoid deadlocks, because
some classes hold the topology lock when calling g_(read|write)_data().
- Keep consumers open even if mirror is not open to avoid races which taste
mechanism and to be able to always update metadata.
- Treat components which has I/O errors as broken, don't try to rebuild
them.
- Introduce metadata backward compatibility code, which updates detected
all metadata to the current version.
Revision Changes Path
1.3.2.4 +1 -0 src/sbin/geom/class/mirror/geom_mirror.c
1.19.2.5 +392 -219 src/sys/geom/mirror/g_mirror.c
1.8.2.3 +89 -19 src/sys/geom/mirror/g_mirror.h
1.4.2.1 +7 -7 src/sys/geom/mirror/g_mirror_ctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501031238.j03Cc1ga018930>
