Date: Fri, 14 May 2010 09:02:31 +0000 (UTC) From: Martin Matuska <mm@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r208063 - stable/7/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <201005140902.o4E92VlN007611@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mm Date: Fri May 14 09:02:31 2010 New Revision: 208063 URL: http://svn.freebsd.org/changeset/base/208063 Log: MFC r207427: Fix improper pool write throughput calculation. OpenSolaris onnv revision: 9366:17553395a745 PR: kern/146108 Obtained from: OpenSolaris (Bug ID 6817339) Approved by: pjd, delphij (mentor) Modified: stable/7/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c ============================================================================== --- stable/7/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c Fri May 14 09:00:29 2010 (r208062) +++ stable/7/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c Fri May 14 09:02:31 2010 (r208063) @@ -300,6 +300,7 @@ dsl_pool_sync(dsl_pool_t *dp, uint64_t t tx = dmu_tx_create_assigned(dp, txg); dp->dp_read_overhead = 0; + start = gethrtime(); zio = zio_root(dp->dp_spa, NULL, NULL, ZIO_FLAG_MUSTSUCCEED); while (ds = txg_list_remove(&dp->dp_dirty_datasets, txg)) { if (!list_link_active(&ds->ds_synced_link)) @@ -310,7 +311,6 @@ dsl_pool_sync(dsl_pool_t *dp, uint64_t t } DTRACE_PROBE(pool_sync__1setup); - start = gethrtime(); err = zio_wait(zio); write_time = gethrtime() - start; ASSERT(err == 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005140902.o4E92VlN007611>