]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check if the ZVOL has been written before calling zil_async_to_sync.
authoroshogbo <oshogbo@FreeBSD.org>
Sun, 8 Nov 2020 14:08:00 +0000 (14:08 +0000)
committeroshogbo <oshogbo@FreeBSD.org>
Sun, 8 Nov 2020 14:08:00 +0000 (14:08 +0000)
commitfe2e76a9988b1d0fef457bf71de62e35602fa77f
tree29c8f920425aad696120ba02e1081daf46c3b99f
parent4abd460ad716499c9525e8a0c1f4a8fa497f1276
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