mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
OpenZFS 7659 - Missing thread_exit() in dmu_send.c
Two threads send_traverse_thread() and receive_writer_thread() should end with thread_exit(); Mostly a cosmetic issue under IllumOS. Authored by: Jorgen Lundman <lundman@lundman.net> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Ported-by: George Melikov <mail@gmelikov.ru> OpenZFS-issue: https://www.illumos.org/issues/7659 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/a569268 Closes #5603
This commit is contained in:
parent
a0aacd3741
commit
34a6b42844
@ -613,6 +613,7 @@ send_traverse_thread(void *arg)
|
||||
data->eos_marker = B_TRUE;
|
||||
bqueue_enqueue(&st_arg->q, data, 1);
|
||||
spl_fstrans_unmark(cookie);
|
||||
thread_exit();
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2874,6 +2875,7 @@ receive_writer_thread(void *arg)
|
||||
cv_signal(&rwa->cv);
|
||||
mutex_exit(&rwa->mutex);
|
||||
spl_fstrans_unmark(cookie);
|
||||
thread_exit();
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user