diff options
author | delphij <delphij@FreeBSD.org> | 2013-06-11 19:29:31 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-06-11 19:29:31 +0000 |
commit | 421d82372619ed594e217affe20d5bfa3854e919 (patch) | |
tree | 7074a010e24384bd48bf708a0ec868b801b31602 /cddl | |
parent | 8fe6a06d588fe573f5eca150f1d9340db2c8e50e (diff) | |
download | FreeBSD-src-421d82372619ed594e217affe20d5bfa3854e919.zip FreeBSD-src-421d82372619ed594e217affe20d5bfa3854e919.tar.gz |
MFV r251624:
txg commit callbacks don't work
Illumos ZFS issues:
3747 txg commit callbacks don't work
MFC after: 2 weeks
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/ztest/ztest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/cmd/ztest/ztest.c b/cddl/contrib/opensolaris/cmd/ztest/ztest.c index ef776a4..94a5bd0 100644 --- a/cddl/contrib/opensolaris/cmd/ztest/ztest.c +++ b/cddl/contrib/opensolaris/cmd/ztest/ztest.c @@ -4509,7 +4509,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); } |