forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DE38 race condition when pool is exported and connection to target is…
… in progress The problem is that conn struct can be freed by zinfo destroy thread (conn_fd == -1), while it is referenced from event loop thread. To avoid this we force conns to be destroyed exclusively from event loop thread. Signed-off-by: Jan Kryl <jan.kryl@cloudbyte.com>
- Loading branch information
Jan Kryl
committed
Jun 26, 2018
1 parent
d0963a0
commit 959ff7a
Showing
1 changed file
with
36 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters