HomeFreeBSD

zfsd: listen for sysevent.fs.zfs instead of misc.fs.zfs

Description

zfsd: listen for sysevent.fs.zfs instead of misc.fs.zfs

At some point the names of these devd events changed. Probably it
happened when importing OpenZFS. Before that, FreeBSD's sysevent_alloc
method didn't create a "class" nvpair in the event, which led to
log_sysevent using the event's ev_subclass field as its type.

MFC after: 2 weeks
Sponsored by: Axcient
Differential Revision: https://reviews.freebsd.org/D39437

Details

Provenance
asomersAuthored on Apr 3 2023, 9:45 PM
Differential Revision
D39437: Multiple fixes to zfsd and its tests
Parents
rG7acb53817ffc: release: Add code to make FreeBSD/Firecracker
Branches
Unknown
Tags
Unknown