]> git.proxmox.com Git - mirror_zfs.git/commit
ZIL: Avoid dbuf_read() in ztest_get_data()
authorAlexander Motin <mav@FreeBSD.org>
Fri, 22 Sep 2023 01:40:13 +0000 (21:40 -0400)
committerGitHub <noreply@github.com>
Fri, 22 Sep 2023 01:40:13 +0000 (18:40 -0700)
commite5d70f4677afb567151c9396b5ab1e8e3549e2ee
tree99d7912f5c1142d16cfa8286c3c2ebf3b8c62f67
parent7ac56b86cd69487fa018b6c92cb2cfb2f82fefba
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
cmd/ztest.c