Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2008 22:03:19 +0100
From:      Thomas Hurst <tom.hurst@clara.net>
To:        Peter Schuller <peter.schuller@infidyne.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Asynchronous writing to zvols (ZFS)
Message-ID:  <20080726210319.GA57383@voi.aagh.net>
In-Reply-To: <200807262005.54235.peter.schuller@infidyne.com>
References:  <200807262005.54235.peter.schuller@infidyne.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080726210319.GA57383>