From owner-freebsd-fs@FreeBSD.ORG Sat Jul 26 21:27:02 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F00AB1065671 for ; Sat, 26 Jul 2008 21:27:02 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from spork.qfe3.net (spork.qfe3.net [212.13.207.101]) by mx1.freebsd.org (Postfix) with ESMTP id B11388FC18 for ; Sat, 26 Jul 2008 21:27:02 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from [81.104.123.28] (helo=voi.aagh.net) by spork.qfe3.net with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1KMqv9-000Gz6-D4; Sat, 26 Jul 2008 22:03:19 +0100 Received: from freaky by voi.aagh.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KMqv9-000GjW-3z; Sat, 26 Jul 2008 22:03:19 +0100 Date: Sat, 26 Jul 2008 22:03:19 +0100 From: Thomas Hurst To: Peter Schuller Message-ID: <20080726210319.GA57383@voi.aagh.net> Mail-Followup-To: Peter Schuller , freebsd-fs@freebsd.org References: <200807262005.54235.peter.schuller@infidyne.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: <200807262005.54235.peter.schuller@infidyne.com> Organization: Not much. User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Thomas Hurst Cc: freebsd-fs@freebsd.org Subject: Re: Asynchronous writing to zvols (ZFS) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2008 21:27:03 -0000 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Peter Schuller (peter.schuller@infidyne.com) wrote: > I notice that there were confirmed issues with writes to zvol:s: >=20 > http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=3D6496356 > http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=3D6496344 >=20 > The problem is that I'm not really sure how to translate "snv_59" into > something that I can compare with the version of ZFS in FreeBSD. Do > the above "bugs" still apply to the ZFS version in FreeBSD, or am I > hitting something else? WARNING: ZFS is considered to be an experimental feature in FreeBSD. ZFS filesystem version 6 http://opensolaris.org/os/community/zfs/version/6/ This feature is available in: Solaris Nevada Build 62 However, some of this looks faimilar from recent Perforce activity: This means that zvol needs to support this special command (DKIOCFLUSHWRITECACHE), and that it should save zil_commit() for only the times it's necessary. http://perforce.freebsd.org/changeList.cgi?CMD=3Dchanges&FSPC=3D//depot/use= r/pjd/zfs/... Change 145289 2008/07/15 by pjd@pjd_zoo=20 Improve ZVOL performance by only committing ZIL on BIO_FLUSH request, not on every BIO_WRITE request. Which looks like a good candidate. You could see if ZIL is the problem by setting vfs.zfs.zil_disable=3D1 --=20 Thomas 'Freaky' Hurst http://hur.st/ --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiLkRUACgkQNBBHZ542MwRGrQCdFD1l/ibRPLAZ6ORvstu7lE5s H0EAoMnwI6NNTCIOk++e9PIjTalmUS9l =LrIE -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--