]> granicus.if.org Git - sysstat/commitdiff
iostat.h: Update comment
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 22 Dec 2019 11:06:51 +0000 (12:06 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 22 Dec 2019 11:06:51 +0000 (12:06 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
iostat.h

index 1636306a5c832acd7d934ac0f72ec18ef95bf21a..2c45c0477fc0fca42247c106325f0dbc4d746f9a 100644 (file)
--- a/iostat.h
+++ b/iostat.h
 
 /*
  * Structures for I/O stats.
- * The number of structures allocated corresponds to the number of devices
- * present in the system, plus a preallocation number to handle those
- * that can be registered dynamically.
- * The number of devices is found by using /sys filesystem (if mounted).
- * For each io_stats structure allocated corresponds a io_hdr_stats structure.
- * A io_stats structure is considered as unused or "free" (containing no stats
- * for a particular device) if the 'major' field of the io_hdr_stats
- * structure is set to 0.
+ * These are now dynamically allocated.
  */
 struct io_stats {
        /* # of sectors read */