From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbsJx-00039H-5m for qemu-devel@nongnu.org; Wed, 29 Jun 2011 06:48:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbsJu-0002bt-0c for qemu-devel@nongnu.org; Wed, 29 Jun 2011 06:48:36 -0400 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:52081 helo=bombadil.infradead.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbsJt-0002bW-CC for qemu-devel@nongnu.org; Wed, 29 Jun 2011 06:48:33 -0400 Date: Wed, 29 Jun 2011 06:01:16 -0400 From: Christoph Hellwig Message-ID: <20110629100116.GB22900@infradead.org> References: <4DEE2B15.4090809@redhat.com> <4DF21447.6090005@suse.de> <20110612075140.GB11941@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110612075140.GB11941@redhat.com> Subject: Re: [Qemu-devel] virtio scsi host draft specification, v3 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Christoph Hellwig , Stefan Hajnoczi , "kvm@vger.kernel.org" , Rusty Russell , qemu-devel , Linux Kernel Mailing List , Hannes Reinecke , Paolo Bonzini , Linux Virtualization On Sun, Jun 12, 2011 at 10:51:41AM +0300, Michael S. Tsirkin wrote: > For example, if the driver is crazy enough to put > all write requests on one queue and all barriers > on another one, how is the device supposed to ensure > ordering? There is no such things as barriers in SCSI. The thing that comes closest is ordered tags, which neither Linux nor any mainstream OS uses, and which we don't have to (and generally don't want to) implement.