Add new DMU_READ_PREFETCH flag to dmu_read().

This commit is contained in:
Brian Behlendorf 2009-07-08 14:51:55 -07:00
parent 8795d8f034
commit 2caba8e240
1 changed files with 2 additions and 2 deletions

View File

@ -3220,8 +3220,8 @@ ztest_dmu_commit_callbacks(ztest_args_t *za)
/* /*
* Read existing data to make sure there isn't a future leak. * 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), VERIFY(0 == dmu_read(os, ZTEST_DIROBJ, za->za_diroff,
&old_txg)); sizeof (uint64_t), &old_txg, DMU_READ_PREFETCH));
if (old_txg > txg) if (old_txg > txg)
fatal(0, "future leak: got %llx, open txg is %llx", old_txg, fatal(0, "future leak: got %llx, open txg is %llx", old_txg,