From owner-cvs-src-old@FreeBSD.ORG Sat Dec 13 14:15:09 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F3791065763 for ; Sat, 13 Dec 2008 14:15:07 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D1F2D8FC17 for ; Sat, 13 Dec 2008 14:15:07 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mBDEF7rB051977 for ; Sat, 13 Dec 2008 14:15:07 GMT (envelope-from lulf@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mBDEF7Vd051976 for cvs-src-old@freebsd.org; Sat, 13 Dec 2008 14:15:07 GMT (envelope-from lulf@repoman.freebsd.org) Message-Id: <200812131415.mBDEF7Vd051976@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to lulf@repoman.freebsd.org using -f From: Ulf Lilleengen Date: Sat, 13 Dec 2008 14:14:56 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/geom/misc subr.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 14:15:09 -0000 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