Date: Sun, 26 Sep 2004 20:41:07 +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/mirror g_mirror.c Message-ID: <200409262041.i8QKf8xR036261@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2004-09-26 20:41:07 UTC
FreeBSD src repository
Modified files:
sys/geom/mirror g_mirror.c
Log:
Avoid race while synchronizing components. It is very hard to bump into,
but it is possible:
1. Read data from good component for synchronization.
2. Write data to the same area.
3. Write synchronization data, which are now stale.
Found by: tegge
Revision Changes Path
1.30 +31 -8 src/sys/geom/mirror/g_mirror.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409262041.i8QKf8xR036261>
