Skip to content

Slot power control breaks build on FreeBSD #15709

Closed
@mmatuska

Description

@mmatuska

a9520e6 breaks build on FreeBSD, as zpool_disk_wait() has not been implemented for FreeBSD

In addition, zpool_power_current_state() and zpool_power() should include (void) lines to suppress unused parameter warnings.

System information

Type Version/Name
Distribution Name FreeBSD
Distribution Version main (freebsd/freebsd-src@9bf957fc9)
Kernel Version freebsd/freebsd-src@9bf957fc9
Architecture amd64
OpenZFS Version zfs-2.2.99-279-g233d34e47

Describe the problem you're observing

OpenZFS cannot be build, as the FreeBSD implementation of zpool_disk_wait() introduced in a9520e6 is missing.

Describe how to reproduce the problem

Try to build OpenZFS

Include any warning/errors/backtraces from the system logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions