Re: minor GEOM disk API change coming

看板FB_current作者時間13年前 (2012/06/22 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/7 (看更多)
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC06ED5B5FAB9FEB9C1E7290A Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 21.06.2012 08:29, Kenneth D. Merry wrote: > Fix a bug which causes a panic in daopen(). The panic is caused by > a da(4) instance going away while GEOM is still probing it. > =09 > In this case, the GEOM disk class instance has been created by > disk_create(), and the taste of the disk is queued in the GEOM > event queue. > =09 > While that event is queued, the da(4) instance goes away. When the > open call comes into the da(4) driver, it dereferences the freed > (but non-NULL) peripheral pointer provided by GEOM, which results > in a panic. I think this situation is very specific for the GEOM_DISK class, and this callback will be less useful for other classes. Does g_cancel_event() cannot help you prevent tasting? --=20 WBR, Andrey V. Elsukov --------------enigC06ED5B5FAB9FEB9C1E7290A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJP40NlAAoJEAHF6gQQyKF6268H/06qUMl/0Rgjs67wEML2r4lM cKXm7stMsjBhAXImPcwxBlQvcwdtpTIOb0w+BM27uybv82Df+RIaEGsAdxt65rme F0FtTkBq4xYeF19WBthCyPL+X4fvBIGA6vqa79TFHbJ0nbjjPjZRtnBS8HfJ9Oyt nYUr0N3zvKWREGoF1KdffpAWh1AGVRdWuAodq2uUfWUyoIrgNa1wno9QrM4eiAS8 lJO5HH/D1kPsZZr4hPlGUegzUCJXEp7pjFZD2Gvo+t9jFJ1VFHlkwTCom/I5xVpv 1oMIkuGE9BFsxBljTgCWaKLpO9sJDK6BThdubwFT8UBE4Bd/qyCig+OXywOZO04= =TCs6 -----END PGP SIGNATURE----- --------------enigC06ED5B5FAB9FEB9C1E7290A--
文章代碼(AID): #1Fus5VdZ (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Fus5VdZ (FB_current)