Date: Tue, 28 Apr 2020 14:03:09 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 225934] FIFOs lack kevent EVFILT_VNODE support Message-ID: <bug-225934-227-e4mMEo313S@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-225934-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225934 Mark Johnston <markj@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #1 from Mark Johnston <markj@FreeBSD.org> --- Indeed, at the end of fifo_open() we set the file's ops table to pipeops. pipe_kqfilter() has no way of attaching a knote to the fifo vnode. We could perhaps handle it with a new file ops table for fifos: every operation except kqfilter would just be the corresponding operation in pipeops. fifo_kqfilter() would attempt to handle EVFILT_VNODE by calling vfs_kqfilter() and otherwise would call pipe_kqfilter(). Another option might be to maintain a backpointer from the pipe structure to the vnode for named pipes. BTW there is some dead code here, I can't see how ufsfifo_kqfilter() can ever get called. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225934-227-e4mMEo313S>
