HomeFreeBSD

Check if the ZVOL has been written before calling zil_async_to_sync.

Description

Check if the ZVOL has been written before calling zil_async_to_sync.
The ZIL will be opened on the first write, not earlier.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mariusz Zaborski <oshogbo@vexillium.org>
OpenZFS Pull Request: https://github.com/openzfs/zfs/pull/11152
PR: 250934

Details

Provenance
oshogboAuthored on Nov 8 2020, 2:08 PM
Parents
rG770495f4c08a: Fix build broken by r367484: add route_ifaddrs.c.
Branches
Unknown
Tags
Unknown

Event Timeline