Skip to contentSkip to conversation

blkparse: man - Elaborate definitions of RWBS fields.

PATCH In review Goldwyn Rodrigues 1 participant 2 messages Aug 15, 2017 – Aug 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blkparse: man - Elaborate definitions of RWBS fields.

The RWBS fields can output more fields, which need detailed description. This information is extracted from fill_rwbs() function. If there is more to it, I'd be happy to include it.

I did not see Barrier Operations in the fill_rwbs() function. Also, Flush and FUA have the same code, F. Besides, I am not sure if the N field's description is correct.

doc/blkparse.1 +25 -3
index be9b34b..fb70318 100644
@@ -413,10 +413,32 @@ Split
 
 .SH "RWBS DESCRIPTION"
 
-This is a small string containing at least one character ('R' for read, 'W'
-for write, or 'D' for block discard operation), and optionally either
-a 'B' (for barrier operations) or 'S' (for synchronous operations).
+This is a small string containing at least one character for the operation(s)
+performed. It is described by the following table:
 
+.IP R
+Read
+
+.IP W
+Write
+
+.IP D
+Discard Block
+
+.IP S
+Synchronous
+
+.IP N
+Nil or Nothing, a place holder.
+
+.IP F
+Flush or Force Unit Access (FUA)
+
+.IP A
+Read-Ahead
+
+.IP M
+Metadata
 
 .SH "DEFAULT OUTPUT"
 
#1 lore raw
Quoted 5 lines · Goldwyn Rodrigues

The RWBS fields can output more fields, which need detailed description. This information is extracted from fill_rwbs() function. If there is more to it, I'd be happy to include it.

I did not see Barrier Operations in the fill_rwbs() function. Also,

Barrier Operations have long been removed. So, this seems correct.

Signature · 1 line
Goldwyn