From owner-svn-src-head@FreeBSD.ORG Wed Jul 10 10:11:44 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 249E7DF4; Wed, 10 Jul 2013 10:11:44 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 175DB1109; Wed, 10 Jul 2013 10:11:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6AABhLD085438; Wed, 10 Jul 2013 10:11:43 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6AABhY9085437; Wed, 10 Jul 2013 10:11:43 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201307101011.r6AABhY9085437@svn.freebsd.org> From: Konstantin Belousov Date: Wed, 10 Jul 2013 10:11:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253141 - head/sys/geom/journal X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 10:11:44 -0000 Author: kib Date: Wed Jul 10 10:11:43 2013 New Revision: 253141 URL: http://svnweb.freebsd.org/changeset/base/253141 Log: When panicing due to the gjournal overflow, print the geom metadata journal id. Requested by: Andreas Longwitz MFC after: 1 week Modified: head/sys/geom/journal/g_journal.c Modified: head/sys/geom/journal/g_journal.c ============================================================================== --- head/sys/geom/journal/g_journal.c Wed Jul 10 09:24:03 2013 (r253140) +++ head/sys/geom/journal/g_journal.c Wed Jul 10 10:11:43 2013 (r253141) @@ -341,7 +341,9 @@ g_journal_check_overflow(struct g_journa (sc->sc_active.jj_offset > sc->sc_inactive.jj_offset && sc->sc_journal_offset >= sc->sc_inactive.jj_offset && sc->sc_journal_offset < sc->sc_active.jj_offset)) { - panic("Journal overflow (joffset=%jd active=%jd inactive=%jd)", + panic("Journal overflow " + "(id = %u joffset=%jd active=%jd inactive=%jd)", + (unsigned)sc->sc_id, (intmax_t)sc->sc_journal_offset, (intmax_t)sc->sc_active.jj_offset, (intmax_t)sc->sc_inactive.jj_offset);