Subject: Re: tape drive instrumentation round 2
To: None <>
From: YAMAMOTO Takashi <>
List: tech-kern
Date: 03/08/2006 14:19:12
> On Tue, Mar 07, 2006 at 11:58:34AM +0900, YAMAMOTO Takashi wrote:
> > 
> > i don't see any point to have a "parent" pointer in io_stats or
> I put it there so that the stats were linked to the structure that is
> referencing them for this reason.
> > make {disk,drive}_find return io_stats.
> > 
> Because then I would have to return a struct disk which is wrong for a
> tape drive.

using a list of iostat when looking up a disk seems weird to me,
esp. if it's visible to callers.
maybe it was natural when its name was "drive" but...

let me think a little.