Date: Wed, 23 Jul 2014 09:16:09 -0500 From: Larry Rosenman <ler@lerctr.org> To: freebsd-fs@freebsd.org Subject: 2 asserts that I've had issues with.... Message-ID: <20140723141609.GA71261@borg.lerctr.org>
next in thread | raw e-mail | index | archive | help
I've had the following 2 asserts #if'd out for a while. I was seeing lots of panics from them.... 2 questions: 1) is it a real issue? 2) how can I find the offending block(s) on disk? Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zap.c =================================================================== --- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zap.c (revision 269010) +++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zap.c (working copy) @@ -476,7 +476,9 @@ * chain. There should be no chained leafs (as we have removed * support for them). */ +#if 0 /*LER: to see what else blows up */ ASSERT0(l->l_phys->l_hdr.lh_pad1); +#endif /* * There should be more hash entries than there can be @@ -531,7 +533,9 @@ ASSERT3U(l->l_blkid, ==, blkid); ASSERT3P(l->l_dbuf, ==, db); ASSERT3P(l->l_phys, ==, l->l_dbuf->db_data); +#if 0 /* LER */ ASSERT3U(l->l_phys->l_hdr.lh_block_type, ==, ZBT_LEAF); +#endif ASSERT3U(l->l_phys->l_hdr.lh_magic, ==, ZAP_LEAF_MAGIC); *lp = l; borg.lerctr.org /usr/src # Thanks. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140723141609.GA71261>