svn commit: r348578 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/ztest
Alexander Motin
mav at FreeBSD.org
Mon Jun 3 20:18:04 UTC 2019
Author: mav
Date: Mon Jun 3 20:18:02 2019
New Revision: 348578
URL: https://svnweb.freebsd.org/changeset/base/348578
Log:
9962 zil_commit should omit cache thrash
illumos/illumos-gate at cab3a55e158118937e07d059c46f1bc14d1f254d
Reviewed by: Matt Ahrens <matt at delphix.com>
Reviewed by: Brad Lewis <brad.lewis at delphix.com>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
Approved by: Joshua M. Clulow <josh at sysmgr.org>
Author: Prakash Surya <prakash.surya at delphix.com>
Modified:
vendor/illumos/dist/cmd/ztest/ztest.c
Changes in other areas also in this revision:
Modified:
vendor-sys/illumos/dist/uts/common/fs/zfs/dmu.c
vendor-sys/illumos/dist/uts/common/fs/zfs/sys/zil_impl.h
vendor-sys/illumos/dist/uts/common/fs/zfs/zfs_vnops.c
vendor-sys/illumos/dist/uts/common/fs/zfs/zil.c
vendor-sys/illumos/dist/uts/common/fs/zfs/zvol.c
Modified: vendor/illumos/dist/cmd/ztest/ztest.c
==============================================================================
--- vendor/illumos/dist/cmd/ztest/ztest.c Mon Jun 3 20:05:43 2019 (r348577)
+++ vendor/illumos/dist/cmd/ztest/ztest.c Mon Jun 3 20:18:02 2019 (r348578)
@@ -1840,6 +1840,7 @@ zil_replay_func_t *ztest_replay_vector[TX_MAX_TYPE] =
* ZIL get_data callbacks
*/
+/* ARGSUSED */
static void
ztest_get_done(zgd_t *zgd, int error)
{
@@ -1851,9 +1852,6 @@ ztest_get_done(zgd_t *zgd, int error)
ztest_range_unlock(zgd->zgd_rl);
ztest_object_unlock(zd, object);
-
- if (error == 0 && zgd->zgd_bp)
- zil_lwb_add_block(zgd->zgd_lwb, zgd->zgd_bp);
umem_free(zgd, sizeof (*zgd));
}
More information about the svn-src-vendor
mailing list