Subject: Re: soc zfs: system disk list (from userland)
To: Brett Lymn <blymn@baesystems.com.au>
From: Oliver Gould <ogould@olix0r.net>
List: tech-kern
Date: 08/16/2007 00:09:38
On 2007-08-16 13:05 +0930, Brett Lymn wrote:
> Disk stats are no longer kept in the actual disk structure, I split
> them out when I did some work on generalising the i/o device statistic
> collecting.  The disk struct has a pointer to a stats structure that
> is associated with the device - all the stats structures are kept on
> another linked list so userland can just walk that to retrieve the i/o
> stats.

Alright.  I read through {io,vm}stat and I see that there are a few
sysctl calls that will fetch iostat structures for each disk.  It seems
easy enough to reproduce when I get there.

Thanks,
  - Oliver