Date: Wed, 10 Jul 2013 10:11:43 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253141 - head/sys/geom/journal Message-ID: <201307101011.r6AABhY9085437@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <longwitz@incore.de> 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307101011.r6AABhY9085437>