Date: Fri, 18 Jun 2004 11:30:35 GMT From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/68074: devstat: disappearing devices not properly removed Message-ID: <200406181130.i5IBUZUe090557@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/68074; it has been noted by GNATS. From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Hendrik Scholz <hendrik@scholz.net> Cc: FreeBSD-gnats-submit@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@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406181130.i5IBUZUe090557>