WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] What are the semantics of BLKIF_OP_WRITE_BARRIER?

To: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
Subject: [Xen-devel] What are the semantics of BLKIF_OP_WRITE_BARRIER?
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 22 Jul 2010 13:41:25 -0700
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, Jake Wires <Jake.Wires@xxxxxxxxxx>
Delivery-date: Thu, 22 Jul 2010 13:42:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5
What does BLKIF_OP_WRITE_BARRIER mean precisely?  Presumably it prevents
writes from being reordered past it.  But does it also imply a flush, in
that all previous writes are on stable storage?  If not, is there
another operation which does guarantee that?  If the backend doesn't
support barriers, is there any other way for a guest to force writes to
stable storage?

How does blktap(2) deal with devices with volatile write caches?  Does
it generate its own barriers/flushes/FUA requests to push things out to
stable storage?

Thanks,
    J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] What are the semantics of BLKIF_OP_WRITE_BARRIER?, Jeremy Fitzhardinge <=