Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 May 2000 13:24:37 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Greg Lehey <grog@lemis.com>
Cc:        "Justin T. Gibbs" <gibbs@FreeBSD.ORG>, FreeBSD-arch@FreeBSD.ORG
Subject:   Re: Support for bootable Vinum file systems: please review 
Message-ID:  <12575.957698677@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 07 May 2000 20:29:44 %2B0930." <20000507202944.I55316@freebie.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000507202944.I55316@freebie.lemis.com>, Greg Lehey writes:

>>>
>>> This is pretty much what struct devstat does, except that it's more
>>> global.  Why should we maintain two lists, just because one is
>>> primarily intended for statistics?
>>>
>>> Anyway, I assume this isn't so much a criticism of the fix as of the
>>> infrastructure around it.  Correct?
>>
>> No, this is an objection to opening up devstat that way.
>
>Can you make an alternative suggestion?

>>>> The right way to do it is probably to link the "struct disk"s
>>>> registered by the drivers with disk_creat() into a list which can
>>>> be searched.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12575.957698677>