Date: Mon, 27 Sep 2004 20:32:35 +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/raid3 g_raid3.c g_raid3.h Message-ID: <200409272032.i8RKWZ7i020497@repoman.freebsd.org>
index | next in thread | raw e-mail
pjd 2004-09-27 20:32:35 UTC
FreeBSD src repository
Modified files:
sys/geom/raid3 g_raid3.c g_raid3.h
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 (for gmirror)
Revision Changes Path
1.16 +36 -7 src/sys/geom/raid3/g_raid3.c
1.5 +1 -0 src/sys/geom/raid3/g_raid3.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409272032.i8RKWZ7i020497>
