From owner-svn-src-stable@FreeBSD.ORG Thu Jul 11 03:49:16 2013 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C894924; Thu, 11 Jul 2013 03:49:16 +0000 (UTC) (envelope-from bryanv@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0D1391E47; Thu, 11 Jul 2013 03:49:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6B3nFKT007356; Thu, 11 Jul 2013 03:49:15 GMT (envelope-from bryanv@svn.freebsd.org) Received: (from bryanv@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6B3nF3x007351; Thu, 11 Jul 2013 03:49:15 GMT (envelope-from bryanv@svn.freebsd.org) Message-Id: <201307110349.r6B3nF3x007351@svn.freebsd.org> From: Bryan Venteicher Date: Thu, 11 Jul 2013 03:49:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r253180 - stable/9/share/man/man4 X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2013 03:49:16 -0000 Author: bryanv Date: Thu Jul 11 03:49:14 2013 New Revision: 253180 URL: http://svnweb.freebsd.org/changeset/base/253180 Log: MFC VirtIO r252703,r252707 r252703: Document new cache write mode tunables/sysctl r252707: Minor cleanup and use my FreeBSD.org email Also change the release where first appeared closer to reality. Modified: stable/9/share/man/man4/virtio.4 stable/9/share/man/man4/virtio_balloon.4 stable/9/share/man/man4/virtio_blk.4 stable/9/share/man/man4/virtio_scsi.4 stable/9/share/man/man4/vtnet.4 Directory Properties: stable/9/share/man/man4/ (props changed) Modified: stable/9/share/man/man4/virtio.4 ============================================================================== --- stable/9/share/man/man4/virtio.4 Thu Jul 11 03:44:06 2013 (r253179) +++ stable/9/share/man/man4/virtio.4 Thu Jul 11 03:49:14 2013 (r253180) @@ -53,10 +53,10 @@ This emulation is often inefficient. .Pp VirtIO defines an interface for efficient I/O between the hypervisor and VM. The -.Xr virtio 4 +.Nm module provides a shared memory transport called a virtqueue. The -.Xr virtio_pci 4 +.Xr virtio_pci device driver represents an emulated PCI device that the hypervisor makes available to the VM. This device provides the probing, configuration, and @@ -89,9 +89,9 @@ device driver. .Xr vtnet 4 .Sh HISTORY Support for VirtIO first appeared in -.Fx 9.0 . +.Fx 9.2 . .Sh AUTHORS .An -nosplit .Fx support for VirtIO was first added by -.An Bryan Venteicher Aq bryanv@daemoninthecloset.org . +.An Bryan Venteicher Aq bryanv@FreeBSD.org . Modified: stable/9/share/man/man4/virtio_balloon.4 ============================================================================== --- stable/9/share/man/man4/virtio_balloon.4 Thu Jul 11 03:44:06 2013 (r253179) +++ stable/9/share/man/man4/virtio_balloon.4 Thu Jul 11 03:49:14 2013 (r253180) @@ -59,6 +59,6 @@ The hypervisor can later signal the ball The .Nm driver was written by -.An Bryan Venteicher Aq bryanv@daemoninthecloset.org . +.An Bryan Venteicher Aq bryanv@FreeBSD.org . It first appeared in -.Fx 9.0 . +.Fx 9.2 . Modified: stable/9/share/man/man4/virtio_blk.4 ============================================================================== --- stable/9/share/man/man4/virtio_blk.4 Thu Jul 11 03:44:06 2013 (r253179) +++ stable/9/share/man/man4/virtio_blk.4 Thu Jul 11 03:49:14 2013 (r253180) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 22, 2012 +.Dd July 2, 2013 .Dt VIRTIO_BLK 4 .Os .Sh NAME @@ -53,11 +53,33 @@ Tunables can be set at the .Xr loader 8 prompt before booting the kernel or stored in .Xr loader.conf 5 . -.Bl -tag -width "xxxxxx" +.Bl -tag -width indent .It Va hw.vtblk.no_ident -This tunable disables retrieving the device identification string -from the hypervisor. +.It Va hw.vtblk. Ns Ar X Ns Va .no_ident +.Pp +These tunables disable retrieving the device identification string +from the hypervisor either globally or per-device. The default value is 0. +.It Va hw.vtblk.writecache_mode +.It Va hw.vtblk. Ns Ar X Ns Va .writecache_mode +.Pp +These tunables determine the write cache mode globally or per-device. +The mode can changed only if the ConfigWCE feature is negotiated. +Set to 0 for writethrough mode, 1 for writeback mode, and -1 to leave +it as-is. +The default value is to leave as-is. +.El +.Sh SYSCTL VARIABLES +The following variables are available as +.Xr sysctl 8 +variables. +.Bl -tag -width indent +.It Va dev.vtblk. Ns Ar X Ns Va .writecache_mode +.Pp +The write cache mode of the device can be either writethrough (0) or +writeback (1). +If the ConfigWCE feature is negotiated, the write cache mode can +be toggled between writethrough and writeback. .El .Sh SEE ALSO .Xr virtio 4 @@ -65,6 +87,6 @@ The default value is 0. The .Nm driver was written by -.An Bryan Venteicher Aq bryanv@daemoninthecloset.org . +.An Bryan Venteicher Aq bryanv@FreeBSD.org . It first appeared in -.Fx 9.0 . +.Fx 9.2 . Modified: stable/9/share/man/man4/virtio_scsi.4 ============================================================================== --- stable/9/share/man/man4/virtio_scsi.4 Thu Jul 11 03:44:06 2013 (r253179) +++ stable/9/share/man/man4/virtio_scsi.4 Thu Jul 11 03:49:14 2013 (r253180) @@ -87,6 +87,6 @@ Enable tracing prints. The .Nm driver was written by -.An Bryan Venteicher Aq bryanv@daemoninthecloset.org . +.An Bryan Venteicher Aq bryanv@FreeBSD.org . It first appeared in -.Fx 10.0 . +.Fx 9.2 . Modified: stable/9/share/man/man4/vtnet.4 ============================================================================== --- stable/9/share/man/man4/vtnet.4 Thu Jul 11 03:44:06 2013 (r253179) +++ stable/9/share/man/man4/vtnet.4 Thu Jul 11 03:49:14 2013 (r253180) @@ -89,9 +89,9 @@ The default value is 0. The .Nm driver was written by -.An Bryan Venteicher Aq bryanv@daemoninthecloset.org . +.An Bryan Venteicher Aq bryanv@FreeBSD.org . It first appeared in -.Fx 9.0 . +.Fx 9.2 . .Sh CAVEATS The .Nm