Date: Sat, 13 Dec 2008 14:14:56 +0000 (UTC) From: Ulf Lilleengen <lulf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/geom/misc subr.c Message-ID: <200812131415.mBDEF7Vd051976@repoman.freebsd.org>
index | next in thread | raw e-mail
lulf 2008-12-13 14:14:56 UTC
FreeBSD src repository
Modified files:
sbin/geom/misc subr.c
Log:
SVN rev 186038 on 2008-12-13 14:14:56Z by lulf
- When writing metadata to a geom provider, open the it as read-write since it
might do subsequent reads from other providers. This stopped geli (and
probably other classes using g_metadata_store as well) from being put on top
of gvinum raid5 volumes.
Note:
The reason it fails in the gvinum raid5 case is that gvinum will read back the
old parity stripe before calculating the new parity stripe to be written out
again. The write will then fail because the underlying disk to be read is
opened write only.
MFC after: 1 week
Revision Changes Path
1.9 +1 -1 src/sbin/geom/misc/subr.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812131415.mBDEF7Vd051976>
