HomeFreeBSD

ZIL: Avoid dbuf_read() in ztest_get_data()

Description

ZIL: Avoid dbuf_read() in ztest_get_data()

While working on similar patches for zfs and zvol in #15153 I've
forgot about ztest. Update it also so that we test the same code
paths as use in production.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15301

Details

Provenance
mavAuthored on Sep 22 2023, 1:40 AM
GitHub <noreply@github.com>Committed on Sep 22 2023, 1:40 AM
Parents
rG7ac56b86cd69: Linux 6.6 compat: fsync_bdev() has been removed in favor of sync_blockdev()
Branches
Unknown
Tags
Unknown