2 asserts that I've had issues with....
Larry Rosenman
ler at lerctr.org
Wed Jul 23 14:16:23 UTC 2014
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 at lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
More information about the freebsd-fs
mailing list