Revision 92070017

b/doc/design-monitoring-agent.rst
346 346
``name``
347 347
  The name of the device.
348 348

  
349
``reads``
349
``readsNum``
350 350
  This is the total number of reads completed successfully.
351 351

  
352 352
``mergedReads``
b/src/Ganeti/Block/Diskstats/Types.hs
37 37
  [ simpleField "major"        [t| Int |]
38 38
  , simpleField "minor"        [t| Int |]
39 39
  , simpleField "name"         [t| String |]
40
  , simpleField "reads"        [t| Int |]
40
  , simpleField "readsNum"        [t| Int |]
41 41
  , simpleField "mergedReads"  [t| Int |]
42 42
  , simpleField "secRead"      [t| Int |]
43 43
  , simpleField "timeRead"     [t| Int |]
b/test/hs/Test/Ganeti/Block/Diskstats/Parser.hs
101 101
serializeDiskstats :: Diskstats -> String
102 102
serializeDiskstats ds =
103 103
  printf "\t%d\t%d %s %d %d %d %d %d %d %d %d %d %d %d\n"
104
    (dsMajor ds) (dsMinor ds) (dsName ds) (dsReads ds) (dsMergedReads ds)
104
    (dsMajor ds) (dsMinor ds) (dsName ds) (dsReadsNum ds) (dsMergedReads ds)
105 105
    (dsSecRead ds) (dsTimeRead ds) (dsWrites ds) (dsMergedWrites ds)
106 106
    (dsSecWritten ds) (dsTimeWrite ds) (dsIos ds) (dsTimeIO ds) (dsWIOmillis ds)
107 107

  

Also available in: Unified diff