]> granicus.if.org Git - zfs/commitdiff
Remove assertion for now
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 13 Jan 2009 22:16:11 +0000 (14:16 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 13 Jan 2009 22:16:11 +0000 (14:16 -0800)
module/zfs/zil.c

index 95101882ba1b6440193c754ddbb4bfec9cebb048..e97f0bec88de03af5f61fe234ccc5709b931b9cf 100644 (file)
@@ -488,9 +488,14 @@ zil_rollback_destroy(zilog_t *zilog, dmu_tx_t *tx)
        /*
         * Ensure there's no outstanding ZIL IO.  No lwbs or just the
         * unused one that allocated in advance is ok.
+        *
+        * XXX: The assertion is correct, but we need a portable version
+        * which does not rely on directly accessing the list nodes.
         */
+#if 0
        ASSERT(zilog->zl_lwb_list.list_head.list_next ==
            zilog->zl_lwb_list.list_head.list_prev);
+#endif
        (void) zil_parse(zilog, zil_free_log_block, zil_free_log_record,
            tx, zh->zh_claim_txg);
 }