Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 18:11:53 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r316899 - vendor-sys/illumos/dist/uts/common/fs/zfs
Message-ID:  <201704141811.v3EIBrrx064586@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Fri Apr 14 18:11:53 2017
New Revision: 316899
URL: https://svnweb.freebsd.org/changeset/base/316899

Log:
  7659 Missing thread_exit() in dmu_send.c
  
  illumos/illumos-gate@f2c1e9bc48e4e20e8e9bd56203a75ff2e219b345
  https://github.com/illumos/illumos-gate/commit/f2c1e9bc48e4e20e8e9bd56203a75ff2e219b345
  
  https://www.illumos.org/issues/7659
    Two threads send_traverse_thread() and receive_writer_thread() should
    end with thread_exit();
    Mostly a cosmetic issue under IllumOS.
    https://github.com/openzfs/openzfs/pull/252
  
  Reviewed by: Paul Dagnelie <pcd@delphix.com>
  Reviewed by: Matt Ahrens <mahrens@delphix.com>
  Approved by: Richard Lowe <richlowe@richlowe.net>
  Author: Jorgen Lundman <lundman@lundman.net>

Modified:
  vendor-sys/illumos/dist/uts/common/fs/zfs/dmu_send.c

Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/dmu_send.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/dmu_send.c	Fri Apr 14 18:11:16 2017	(r316898)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/dmu_send.c	Fri Apr 14 18:11:53 2017	(r316899)
@@ -576,6 +576,7 @@ send_traverse_thread(void *arg)
 	data = kmem_zalloc(sizeof (*data), KM_SLEEP);
 	data->eos_marker = B_TRUE;
 	bqueue_enqueue(&st_arg->q, data, 1);
+	thread_exit();
 }
 
 /*
@@ -2815,6 +2816,7 @@ receive_writer_thread(void *arg)
 	rwa->done = B_TRUE;
 	cv_signal(&rwa->cv);
 	mutex_exit(&rwa->mutex);
+	thread_exit();
 }
 
 static int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704141811.v3EIBrrx064586>