Re: NFS kqueue handlers & poll(2)/select(2) compatibility

2020-06-03 Thread Martin Pieuchot
On 01/06/20(Mon) 15:41, Visa Hankala wrote: > On Sun, May 31, 2020 at 10:48:52AM +0200, Martin Pieuchot wrote: > > NFS poll(2)/select(2) and kqueue(2) behaviors are incoherent. Diff > > below uses the kernel-only NOTE_IMM hint to make the kqueue handlers > > behave like the current poll handler: t

NFS kqueue handlers & poll(2)/select(2) compatibility

2020-05-31 Thread Martin Pieuchot
NFS poll(2)/select(2) and kqueue(2) behaviors are incoherent. Diff below uses the kernel-only NOTE_IMM hint to make the kqueue handlers behave like the current poll handler: the poller is bypassed. The new EVFILT_WRITE handler doesn't check for NOTE_IMM because it is unlikely to introduce regress