From 44ea291eed62d96010108a0d11828ad58efaccf6 Mon Sep 17 00:00:00 2001
From: rusty <rusty@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>
Date: Thu, 13 Mar 2014 03:14:08 +0000
Subject: block: deprecate FLUSH_OUT (VIRTIO-85)

Signed-off-by: Rusty Russell <rusty@au1.ibm.com>

git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@325 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
---
 content.tex | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

(limited to 'content.tex')

diff --git a/content.tex b/content.tex
index c9dd28d..0bdb861 100644
--- a/content.tex
+++ b/content.tex
@@ -3697,16 +3697,12 @@ struct virtio_blk_req {
 \end{lstlisting}
 
 The type of the request is either a read (VIRTIO_BLK_T_IN), a write
-(VIRTIO_BLK_T_OUT), or a flush (VIRTIO_BLK_T_FLUSH or
-VIRTIO_BLK_T_FLUSH_OUT\footnote{The FLUSH and FLUSH_OUT types are equivalent, the device does not
-distinguish between them
-}).
+(VIRTIO_BLK_T_OUT), or a flush (VIRTIO_BLK_T_FLUSH).
 
 \begin{lstlisting}
 #define VIRTIO_BLK_T_IN           0
 #define VIRTIO_BLK_T_OUT          1
 #define VIRTIO_BLK_T_FLUSH        4
-#define VIRTIO_BLK_T_FLUSH_OUT    5
 \end{lstlisting}
 
 The \field{sector} number indicates the offset (multiplied by 512) where
@@ -3752,6 +3748,13 @@ The \field{reserved} field was previously called \field{ioprio}.  \field{ioprio}
 is a hint about the relative priorities of requests to the device:
 higher numbers indicate more important requests.
 
+\begin{lstlisting}
+#define VIRTIO_BLK_T_FLUSH_OUT    5
+\end{lstlisting}
+
+The command VIRTIO_BLK_T_FLUSH_OUT was a synonym for VIRTIO_BLK_T_FLUSH;
+a driver MUST treat it as a VIRTIO_BLK_T_FLUSH command.
+
 \begin{lstlisting}
 #define VIRTIO_BLK_T_BARRIER     0x80000000
 \end{lstlisting}
-- 
cgit v1.2.3

