HomeFreeBSD

bhyve: set EV_CLEAR for EVFILT_VNODE mevents

Description

bhyve: set EV_CLEAR for EVFILT_VNODE mevents

When an EVFILT_VNODE filter event is triggered, reset it.

This fixes the issue where a virtio-blk resize event would cause the
mevent thread to consume 100% of the cpu.

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D33326

Details

Provenance
rewAuthored on Dec 12 2021, 9:39 PM
Reviewer
jhb
Differential Revision
D33326: bhyve: reset event after blockif resize
Parents
rGda2012af42fb: Revert clang change that breaks CTF on aarch64
Branches
Unknown
Tags
Unknown