Skip site navigation (1)Skip section navigation (2)
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/>
References:  <bug-225934-227@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=3D225934

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.=20
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 exce=
pt
kqfilter would just be the corresponding operation in pipeops.  fifo_kqfilt=
er()
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 ev=
er
get called.

--=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-225934-227-e4mMEo313S>