Date: Tue, 6 Apr 2021 22:50:16 -0600 From: Warner Losh <imp@bsdimp.com> To: Rozhuk Ivan <rozhuk.im@gmail.com> Cc: Gleb Popov <arrowd@freebsd.org>, Damjan Jovanovic <damjan.jov@gmail.com>, "freebsd-hackers@freebsd.org" <hackers@freebsd.org> Subject: Re: RFC: possible issue with kqueue Message-ID: <CANCZdfoEZx%2BdoBR-X3xGv_o9jeSJADU1Pz4mKKZN9tNQRX9K0A@mail.gmail.com> In-Reply-To: <20210407071419.6dc84f3c@rimwks.local> References: <20210327131011.e16291cac86475e75a33812c@FreeBSD.org> <20210330181402.GM14975@funkthat.com> <CAJm2B-kbkJPUHiurCfYsOmrCFSNPBD74FYsHsuNNdOVC6F4C%2BQ@mail.gmail.com> <CALH631mwWZBGiKhz3FAcL=dEQyYDM%2B7Z8Gc2H9VNMEh5dNfysA@mail.gmail.com> <CANCZdfr5q1KnWU4kGXWsgpS9m_vn1jyLBEzOdnJFYq_6htbFOw@mail.gmail.com> <20210407071419.6dc84f3c@rimwks.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 6, 2021 at 10:14 PM Rozhuk Ivan <rozhuk.im@gmail.com> wrote: > On Sat, 3 Apr 2021 11:21:50 -0600 > Warner Losh <imp@bsdimp.com> wrote: > > > > > https://reviews.freebsd.org/D19690 > > > > > > > > I do not finish this. > > > > Plan was: implement this and catch unmount notify in my FAM, that > > > > in glib20. > > > > > > > > > > Hum, but I do see mount/unmount events in devd on CURRENT! > > > > > > > I did this in conjunction with the forced unmount work of chs@. > > > Where I can learn more about this? > The devd stuff is documented in devd.conf(5). The umount stuff is documented in the commit message for hash d79ff54b5caad61e657b9cc651aa256f3949b97a commit d79ff54b5caad61e657b9cc651aa256f3949b97a Author: Chuck Silvers <chs@FreeBSD.org> Date: Mon May 25 23:47:31 2020 +0000 This commit enables a UFS filesystem to do a forcible unmount when the underlying media fails or becomes inaccessible. For example when a USB flash memory card hosting a UFS filesystem is unplugged. ... https://cgit.freebsd.org/src/commit/?id=d79ff54b5caad61e657b9cc651aa256f3949b97a has the whole commit message. I'm not aware of other documentation for it though. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoEZx%2BdoBR-X3xGv_o9jeSJADU1Pz4mKKZN9tNQRX9K0A>