]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check if the ZVOL has been written before calling zil_async_to_sync.
authorMariusz Zaborski <oshogbo@FreeBSD.org>
Sun, 8 Nov 2020 14:08:00 +0000 (14:08 +0000)
committerMariusz Zaborski <oshogbo@FreeBSD.org>
Sun, 8 Nov 2020 14:08:00 +0000 (14:08 +0000)
commit36d6566e5985030fd2f1100bd9c1387bbe0bd290
tree29c8f920425aad696120ba02e1081daf46c3b99f
parent770495f4c08a37ffe9c21b1adef4ae1f069fcd28
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
sys/contrib/openzfs/module/os/freebsd/zfs/zvol_os.c