lkml.org 
[lkml]   [2009]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [stable] [PATCH] block: include empty disks in /proc/diskstats
On Tue, Apr 21 2009, Chris Wright wrote:
> * Tejun Heo (tj@kernel.org) wrote:
> > /proc/diskstats used to show stats for all disks whether they're
> > zero-sized or not and their non-zero partitions. Commit
> > 074a7aca7afa6f230104e8e65eba3420263714a5 accidentally changed the
> > behavior such that it doesn't print out zero sized disks. This patch
> > implements DISK_PITER_INCL_EMPTY_PART0 flag to partition iterator and
> > uses it in diskstats_show() such that empty part0 is shown in
> > /proc/diskstats.
> >
> > Reported and bisectd by Dianel Collins.
> >
> > Signed-off-by: Tejun Heo <tj@kernel.org>
> > Reported-by: Daniel Collins <solemnwarning@solemnwarning.no-ip.org>
>
> looks like this isn't upstream yet.

It'll go upstream today or tomorrow.

--
Jens Axboe



\
 
 \ /
  Last update: 2009-04-22 07:43    [W:0.084 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site