]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/genhd.h
[PATCH] slab: extract slab_{put|get}_obj
[linux-2.6-omap-h63xx.git] / include / linux / genhd.h
index eabdb5cce357f2770c6b01f2ce4670f8d14e43ce..eef5ccdcd7317942755af990969ca3c9c20030d2 100644 (file)
@@ -78,7 +78,7 @@ struct hd_struct {
        sector_t start_sect;
        sector_t nr_sects;
        struct kobject kobj;
-       unsigned reads, read_sectors, writes, write_sectors;
+       unsigned ios[2], sectors[2];    /* READs and WRITEs */
        int policy, partno;
 };
 
@@ -89,10 +89,10 @@ struct hd_struct {
 #define GENHD_FL_SUPPRESS_PARTITION_INFO       32
 
 struct disk_stats {
-       unsigned read_sectors, write_sectors;
-       unsigned reads, writes;
-       unsigned read_merges, write_merges;
-       unsigned read_ticks, write_ticks;
+       unsigned sectors[2];            /* READs and WRITEs */
+       unsigned ios[2];
+       unsigned merges[2];
+       unsigned ticks[2];
        unsigned io_ticks;
        unsigned time_in_queue;
 };