From owner-svn-src-head@FreeBSD.ORG Mon Mar 16 21:24:21 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 757FDE67; Mon, 16 Mar 2015 21:24:21 +0000 (UTC) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E40D199F; Mon, 16 Mar 2015 21:24:20 +0000 (UTC) Received: by labjg1 with SMTP id jg1so51399323lab.2; Mon, 16 Mar 2015 14:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=7igJ2vZDAQMqPdhDOIIevRDtld6grM7pKZyfAzef/Ak=; b=Z12viwfrtXEiB6J1eoNFJcmrMfk6PmkV6kWBnjkifbjKUafkv0CsC2hDOdVCTCypUl ZfdaFkIAWlHVSu5Ov+2lqpU8TSWwrDSF1inieafzy7yY4T4dNGO85zbXw56hJR9dPX4v GvcpelX2gquolBhunpyxUGhQgI1L7opHctLLM+qzS6c7MMUuybkA8yngxPsJQc0Bkb7Y UhRpR9/l4H/ZmastiEGrVsASGtB0XurBMA0Ny/MCLdX0/3b2AEM2S3lz69KNvf93PKZX Fv2eKmU8d/Ucb/4Y0ZGWtCamedStE+9wmPy20hUctbYd3tqAt7VH4Qz+07ajWhljssIk pNCA== X-Received: by 10.152.26.136 with SMTP id l8mr57419293lag.109.1426541058967; Mon, 16 Mar 2015 14:24:18 -0700 (PDT) Received: from mavbook.mavhome.dp.ua ([134.249.139.101]) by mx.google.com with ESMTPSA id pd1sm1645205lbc.9.2015.03.16.14.24.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Mar 2015 14:24:17 -0700 (PDT) Sender: Alexander Motin Message-ID: <550749FE.5000901@FreeBSD.org> Date: Mon, 16 Mar 2015 23:24:14 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Bryan Venteicher Subject: Re: svn commit: r280154 - head/usr.sbin/bhyve References: <201503162013.t2GKDQFr009617@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2015 21:24:21 -0000 On 16.03.2015 23:13, Bryan Venteicher wrote: > On Mon, Mar 16, 2015 at 3:13 PM, Alexander Motin > wrote: > Author: mav > Date: Mon Mar 16 20:13:25 2015 > New Revision: 280154 > URL: https://svnweb.freebsd.org/changeset/base/280154 > > Log: > Report that we may have write cache, and that we do support FLUSH. > > FreeBSD guest driver does not use that legacy flag, but Linux > seems does. > > The guest driver calls it by a prior name: VIRTIO_BLK_F_WCE. The write > cache stuff went through several iterations, and goes away in VirtIO 1.0 > specification. Yes, I've found that in the driver after the commit. But as I can see driver does nothing about it, except reporting via sysctl. I was confused by not seeing any use of that flag in data path. -- Alexander Motin