mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 19:28:53 +03:00
Introduce names for ZTHRs
When debugging issues or generally analyzing the runtime of a system it would be nice to be able to tell the different ZTHRs running by name rather than having to analyze their stack. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Co-authored-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Serapheim Dimitropoulos <serapheim@delphix.com> Closes #10630
This commit is contained in:
committed by
GitHub
parent
5678d3f593
commit
843e9ca2e1
@@ -884,7 +884,8 @@ void
|
||||
spa_start_indirect_condensing_thread(spa_t *spa)
|
||||
{
|
||||
ASSERT3P(spa->spa_condense_zthr, ==, NULL);
|
||||
spa->spa_condense_zthr = zthr_create(spa_condense_indirect_thread_check,
|
||||
spa->spa_condense_zthr = zthr_create("z_indirect_condense",
|
||||
spa_condense_indirect_thread_check,
|
||||
spa_condense_indirect_thread, spa);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user