Project

General

Profile

Actions

Feature #14374

open

Improve bhyve mevent EVF_VNODE monitoring

Added by Andy Fiddaman 12 days ago. Updated 9 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
bhyve
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

#14081 introduced a feature allowing notification callbacks when the attributes of a file changed and this is used to inform some drivers of a size change - initially this was only available for virtio block devices but work is in progress to allow for a size change to trigger an AEN on nvme too.

When this was ported to illumos, the attribute monitoring was implemented via event ports. However, this only currently works for file-backed storage devices and not those utilising ZFS volumes, since those do not support event ports.

We should add a fallback mechanism to watch for changes in the size of a ZVOL that underlies a storage backend so that size change notifications work properly.
This will also remove the warning that is currently output by bhyve when booting a VM that uses a ZVOL.

Actions #1

Updated by Electric Monk 9 days ago

  • Gerrit CR set to 1930
Actions

Also available in: Atom PDF