misc/68074: devstat: disappearing devices not properly removed
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Jun 18 11:31:15 GMT 2004
The following reply was made to PR misc/68074; it has been noted by GNATS.
From: "Poul-Henning Kamp" <phk at phk.freebsd.dk>
To: Hendrik Scholz <hendrik at scholz.net>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: misc/68074: devstat: disappearing devices not properly removed
Date: Fri, 18 Jun 2004 13:28:00 +0200
In message <200406180713.i5I7DBTE001123 at deimos.raisdorf.net>, Hendrik Scholz wr
ites:
>>Fix:
>
>devstat_remove_entry() gets called in sys/cam/scsi/scsi_ch.c, scsi_pass.c,
>scsi_pt.c and scsi_sa.c but not in scsi_da.c and scsi_cd.c.
>This patch adds the appropriate calls for disks and cdroms.
I don't think this is the corrrect solution.
scsi_da and scsi_ch are GEOM drivers and disk_destroy() should recover
those devstat entries in due time.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-bugs
mailing list