From owner-svn-src-head@FreeBSD.ORG Mon Mar 16 22:43:51 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 B7D46560; Mon, 16 Mar 2015 22:43:51 +0000 (UTC) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 71201264; Mon, 16 Mar 2015 22:43:51 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id D2A6016A409; Mon, 16 Mar 2015 23:43:47 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LDePYxsX3hgS; Mon, 16 Mar 2015 23:43:17 +0100 (CET) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id BBDBF16A405; Mon, 16 Mar 2015 23:43:17 +0100 (CET) Message-ID: <55075C8F.70001@digiware.nl> Date: Mon, 16 Mar 2015 23:43:27 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Alexander Motin , Bryan Venteicher Subject: Re: svn commit: r280154 - head/usr.sbin/bhyve References: <201503162013.t2GKDQFr009617@svn.freebsd.org> <550749FE.5000901@FreeBSD.org> In-Reply-To: <550749FE.5000901@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 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 22:43:51 -0000 On 16-3-2015 22:24, Alexander Motin wrote: > 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. > There was a point in time that this Flush was in the way of booting certain Linux versions. I guess that accepting, but ignoring, which what I did at a certain point in my code, got me going. Until extra code made it in the code and the command got us further with our progress in Bhyve. --WjW