lkml.org 
[lkml]   [2005]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BLOCK] Unify the seperate read/write io stat fields into arrays
On Wed, Nov 02 2005, Chris Wedgwood wrote:
> I wouldn't mind a comment with that:
>
> > struct disk_stats {
> > - unsigned read_sectors, write_sectors;
> > - unsigned reads, writes;
> > - unsigned read_merges, write_merges;
> > - unsigned read_ticks, write_ticks;
> /* Element 0 is for reads, 1 for writes */
> > + unsigned sectors[2];
> > + unsigned ios[2];
> > + unsigned merges[2];
> > + unsigned ticks[2];
> > unsigned io_ticks;
> > unsigned time_in_queue;
> > };

Then send me such a comment patch :-)

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-03 08:36    [W:0.029 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site