Add linux-spa-thread topic branch
Disable the spa thread under Linux until it can be implemented.
This commit is contained in:
parent
b41c7ff877
commit
6104e13be6
17
.topmsg
17
.topmsg
|
@ -1,19 +1,6 @@
|
|||
From: Brian Behlendorf <behlendorf1@llnl.gov>
|
||||
Subject: [PATCH] zfs branch
|
||||
Subject: [PATCH] linux spa thread
|
||||
|
||||
Merged result of all changes which are relevant to both Solaris
|
||||
and Linux builds of the ZFS code. These are changes where there
|
||||
is a reasonable chance they will be accepted upstream.
|
||||
|
||||
Additionally, since this is effectively the root of the linux
|
||||
ZFS tree the core linux build system is added here. This
|
||||
includes autogen.sh, configure.ac, m4 macros, some scripts/*,
|
||||
and makefiles for all the core ZFS components. Linux-only
|
||||
features which require tweaks to the build system should appear
|
||||
on the relevant topic branches. All autotools products which
|
||||
result from autogen.sh are commited to the linux-configure-branch.
|
||||
|
||||
This branch also contains the META, ChangeLog, AUTHORS, TODO,
|
||||
and README, files.
|
||||
Disable the spa thread under Linux until it can be implemented.
|
||||
|
||||
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
|
||||
|
|
|
@ -669,7 +669,7 @@ spa_create_zio_taskqs(spa_t *spa)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef _KERNEL
|
||||
#if defined(_KERNEL) && defined(HAVE_SPA_THREAD)
|
||||
static void
|
||||
spa_thread(void *arg)
|
||||
{
|
||||
|
@ -759,6 +759,7 @@ spa_activate(spa_t *spa, int mode)
|
|||
ASSERT(spa->spa_proc == &p0);
|
||||
spa->spa_did = 0;
|
||||
|
||||
#ifdef HAVE_SPA_THREAD
|
||||
/* Only create a process if we're going to be around a while. */
|
||||
if (spa_create_process && strcmp(spa->spa_name, TRYIMPORT_NAME) != 0) {
|
||||
if (newproc(spa_thread, (caddr_t)spa, syscid, maxclsyspri,
|
||||
|
@ -779,6 +780,7 @@ spa_activate(spa_t *spa, int mode)
|
|||
#endif
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_SPA_THREAD */
|
||||
mutex_exit(&spa->spa_proc_lock);
|
||||
|
||||
/* If we didn't create a process, we need to create our taskqs. */
|
||||
|
|
Loading…
Reference in New Issue