HomeFreeBSD

zvol_wait: Ignore locked zvols

Description

zvol_wait: Ignore locked zvols

"When an encrypted zvol is locked the zfs-volume-wait service does not
start. The /sbin/zvol_wait should not wait for links when the volume
has property keystatus=unavailable."

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Damian Szuberski <szuberskidamian@gmail.com>
Thanks: James Dingwall <james-launchpad@dingwall.me.uk>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Closes #10662

Details

Provenance
Richard Laager <rlaager@wiktel.com>Authored on Apr 22 2022, 10:37 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 20 2022, 5:33 PM
Parents
rG1f3188904648: FreeBSD: Implement hole-punching support
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG1d54deb42faa: zvol_wait: Ignore locked zvols (authored by Richard Laager <rlaager@wiktel.com>).May 20 2022, 5:33 PM