Re: [BLOCK] Unify the seperate read/write io stat fields into arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;
>  };
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux