From 2ea04834bfb7ca82cff5908f0932056c7825d759 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 13 Jan 2009 14:16:11 -0800 Subject: [PATCH] Remove assertion for now --- module/zfs/zil.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/zfs/zil.c b/module/zfs/zil.c index 95101882ba..e97f0bec88 100644 --- a/module/zfs/zil.c +++ b/module/zfs/zil.c @@ -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); }