From nobody@FreeBSD.org  Sun Apr 27 00:30:55 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B03F7106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Apr 2008 00:30:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A157D8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Apr 2008 00:30:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3R0UNvN022494
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Apr 2008 00:30:23 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m3R0UNOr022493;
	Sun, 27 Apr 2008 00:30:23 GMT
	(envelope-from nobody)
Message-Id: <200804270030.m3R0UNOr022493@www.freebsd.org>
Date: Sun, 27 Apr 2008 00:30:23 GMT
From: mike durller <mike.durller@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: GEOM / gjournal kernel lock
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         123122
>Category:       kern
>Synopsis:       [geom] GEOM / gjournal kernel lock
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-geom
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 27 00:40:00 UTC 2008
>Closed-Date:    
>Last-Modified:  Sun Jul 06 09:15:05 UTC 2008
>Originator:     mike durller
>Release:        7.0-RELEASE
>Organization:
>Environment:
7.0-Release Generic i386, stock kernel, atapci0: SiI 3124 SATA300 PCI-X controller
>Description:

The FreeBSD-7 stock kernel locks 1/4 way thru newfs "writing superblocks" to a three drive GEOM graid3 array when gjournal is active.

>How-To-Repeat:
Simply make a graid3 label, activate a gjournal label, and make a new filesystem with newfs.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-geom 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Apr 28 08:09:55 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123122 
>Unformatted:
 >> graid3 label gr0 ad4 ad6 ad8
 >> gjournal label raid3/gr0
 >> newfs -J -O 2 raid3/gr0.journal
 
 It makes no difference if the array is degraded, it still locks up.
 
 Also, when gjournal is not active, newfs is issued and works normally.
 
