Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251194
b: refs/heads/master
c: 6dcfb75
h: refs/heads/master
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk committed May 12, 2011
1 parent 4713408 commit acc5a35
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4352b47ab7918108b389a48d2163c9a4c2aaf139
refs/heads/master: 6dcfb751c927879399e404b3885cbdef7d8d368b
13 changes: 13 additions & 0 deletions trunk/include/xen/interface/io/blkif.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ typedef uint64_t blkif_sector_t;
*/
#define BLKIF_OP_WRITE_BARRIER 2

/*
* Recognised if "feature-flush-cache" is present in backend xenbus
* info. A flush will ask the underlying storage hardware to flush its
* non-volatile caches as appropriate. The "feature-flush-cache" node
* contains a boolean indicating whether flush requests are likely to
* succeed or fail. Either way, a flush request may fail at any time
* with BLKIF_RSP_EOPNOTSUPP if it is unsupported by the underlying
* block-device hardware. The boolean simply indicates whether or not it
* is worthwhile for the frontend to attempt flushes. If a backend does
* not recognise BLKIF_OP_WRITE_FLUSH_CACHE, it should *not* create the
* "feature-flush-cache" node!
*/
#define BLKIF_OP_FLUSH_DISKCACHE 3
/*
* Maximum scatter/gather segments per request.
* This is carefully chosen so that sizeof(struct blkif_ring) <= PAGE_SIZE.
Expand Down

0 comments on commit acc5a35

Please sign in to comment.