diff options
author | Jens Axboe <axboe@suse.de> | 2005-11-09 13:38:47 +0100 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2005-11-12 10:55:21 +0100 |
commit | 47a004103d663bbba8c7c433a710a86f44351cf3 (patch) | |
tree | 91bf9479fa43e7a13b02b2f6b957373b5b28b5ef /include | |
parent | cff3ba2204a0797b05150a4b2b7f40a55023d952 (diff) | |
download | linux-47a004103d663bbba8c7c433a710a86f44351cf3.tar.gz linux-47a004103d663bbba8c7c433a710a86f44351cf3.tar.bz2 linux-47a004103d663bbba8c7c433a710a86f44351cf3.zip |
[BLOCK] Document the READ/WRITE splitup of the disk stats
Use the symbolic name where appropriate and add a comment to the
disk_stats structure.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/genhd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h index 8eeaa53a68c9..eef5ccdcd731 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -78,7 +78,7 @@ struct hd_struct { sector_t start_sect; sector_t nr_sects; struct kobject kobj; - unsigned ios[2], sectors[2]; + unsigned ios[2], sectors[2]; /* READs and WRITEs */ int policy, partno; }; @@ -89,7 +89,7 @@ struct hd_struct { #define GENHD_FL_SUPPRESS_PARTITION_INFO 32 struct disk_stats { - unsigned sectors[2]; + unsigned sectors[2]; /* READs and WRITEs */ unsigned ios[2]; unsigned merges[2]; unsigned ticks[2]; |