[DCR] Remove devstat
From: Sue Howard (howardsue_at_gmail.com)
Date: 06/14/05
- Previous message: Poul-Henning Kamp: "Re: simplify disksort, please review."
- Next in thread: Poul-Henning Kamp: "Re: [DCR] Remove devstat"
- Reply: Poul-Henning Kamp: "Re: [DCR] Remove devstat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Jun 2005 19:33:01 +0800 To: arch@freebsd.org, ken@freebsd.org
Hi,
I found devstat is not widely used in the device drivers. Based the
grep result of 'devstat_new_entry', it shows only cam, ata, fd,
geom_disk are using it. In my workstation, the output of 'sysctl
kern.devstat' shows:
kern.devstat.version: 6
kern.devstat.generation: 229
kern.devstat.numdevs: 2
I am wondering if devstat can be replaced by the sysctl nodes %desc,
%pnpinfo etc that jhb introduced. Almost all the information devstat
can provide can be also exposed by such sysctl node.
I have plan to introduce a new node named status so that userland can
disable on individual device. Before that, I want to understand some
related stuffs.
Any comments about this?
Howard Sue
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Poul-Henning Kamp: "Re: simplify disksort, please review."
- Next in thread: Poul-Henning Kamp: "Re: [DCR] Remove devstat"
- Reply: Poul-Henning Kamp: "Re: [DCR] Remove devstat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|