Revert "Fix data race between zil_commit() and zil_suspend()"
commit0e8a42bbee2c29f1a2c49fdbda403e839af4b38d
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 25 Apr 2023 23:40:55 +0000 (25 16:40 -0700)
committerGitHub <noreply@github.com>
Tue, 25 Apr 2023 23:40:55 +0000 (25 16:40 -0700)
tree35a6fcfd6fc9fb49b469e0bf6f9221359d20f3aa
parent6d59d5df9808902a3cb6064605c753ec2ab8d2d7
Revert "Fix data race between zil_commit() and zil_suspend()"

This reverts commit 4c856fb333ac57d9b4a6ddd44407fd022a702f00 to
resolve a newly introduced deadlock which in practice in more
disruptive that the issue this commit intended to address.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Mark Maybee <mark.maybee@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #14775
Closes #14790
include/sys/zil_impl.h
module/zfs/zil.c