Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / transno.txt
index d7959c6..46762a0 100644 (file)
@@ -2,14 +2,10 @@ Transaction Number
 ~~~~~~~~~~~~~~~~~~
 [[transno]]
 
-For each target there is a sequence of values (a strictly increasing
-series of numbers) where each operation that can modify the file
-system is assigned the next number in the series. This is the
-transaction number, and it imposes a strict serial ordering for all
-file system modifying operations.  For file system modifying
-requests the server assigns the next value in the sequence and
-informs the client of the value in the 'pb_transno' field of the
-'ptlrpc_body' of its reply to the client's request. For replys to
-requests that do not modify the file system the 'pb_transno' field in
-the 'ptlrpc_body' is just set to 0.
-
+Every transaction that modifies a target is assigned a 'transaction
+number'. The transaction numbers for a given target are assigned in a
+strictly increasing sequence. In this way, the transactions from all
+clients are strictly ordered.  The server assigns the next value in
+the target's sequence and informs the client of the value in the
+'pb_transno' field of the 'ptlrpc_body' of its reply to the client's
+request. See <<struct-ptlrpc-body>>.