From 2caba8e240efa184709c90d55db9f005ad7adda6 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 8 Jul 2009 14:51:55 -0700 Subject: [PATCH] Add new DMU_READ_PREFETCH flag to dmu_read(). --- cmd/ztest/ztest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index ed78eb9428..75dff64226 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -3220,8 +3220,8 @@ ztest_dmu_commit_callbacks(ztest_args_t *za) /* * Read existing data to make sure there isn't a future leak. */ - VERIFY(0 == dmu_read(os, ZTEST_DIROBJ, za->za_diroff, sizeof (uint64_t), - &old_txg)); + VERIFY(0 == dmu_read(os, ZTEST_DIROBJ, za->za_diroff, + sizeof (uint64_t), &old_txg, DMU_READ_PREFETCH)); if (old_txg > txg) fatal(0, "future leak: got %llx, open txg is %llx", old_txg,