Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2016 16:26:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 214338] devel/glib20: patch: new kqueue() backend for file monitoring
Message-ID:  <bug-214338-6497-k5CMfldAro@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214338-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214338-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214338

Ting-Wei Lan <lantw44@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lantw44@gmail.com

--- Comment #4 from Ting-Wei Lan <lantw44@gmail.com> ---
(In reply to rozhuk.im from comment #0)
I opened an upstream bug report for kqueue backend reworking 2 years ago:
https://bugzilla.gnome.org/show_bug.cgi?id=3D739424

You can regenerate your patch in 'git format-patch' format and upload it th=
ere
to get feedback from upstream developers. kqueue backend is used by many
operating systems, so your code will be tested on other operating system li=
ke
OpenBSD before it can be accepted by upstream.

>From the discussion on IRC we had last year, the reason to have a polling
fallback is that kqueue requires a file descriptor to the directory to be
monitored, but having an open file descriptor blocks unmount. Linux inotify
doesn't have this problem because inotify uses a file path instead of a file
descriptor, and Apple Mac allows getting a file descriptor for use in kqueue
without blocking unmount by using O_EVTONLY.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214338-6497-k5CMfldAro>