From b3d9f2e26021d3f55a281af30720589d303b9806 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Tue, 11 Jun 2013 09:13:51 -0800 Subject: 3747 txg commit callbacks don't work Reviewed by: Matthew Ahrens Reviewed by: Eric Schrock Approved by: Christopher Siden --- usr/src/cmd/ztest/ztest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src/cmd/ztest/ztest.c') diff --git a/usr/src/cmd/ztest/ztest.c b/usr/src/cmd/ztest/ztest.c index ed460551c6..980615eae0 100644 --- a/usr/src/cmd/ztest/ztest.c +++ b/usr/src/cmd/ztest/ztest.c @@ -4507,7 +4507,7 @@ ztest_dmu_commit_callbacks(ztest_ds_t *zd, uint64_t id) */ tmp_cb = list_head(&zcl.zcl_callbacks); if (tmp_cb != NULL && - tmp_cb->zcd_txg > txg - ZTEST_COMMIT_CALLBACK_THRESH) { + (txg - ZTEST_COMMIT_CALLBACK_THRESH) > tmp_cb->zcd_txg) { fatal(0, "Commit callback threshold exceeded, oldest txg: %" PRIu64 ", open txg: %" PRIu64 "\n", tmp_cb->zcd_txg, txg); } -- cgit v1.2.3