Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/lib/libzpool Initialize system_taskq dur...
details: https://anonhg.NetBSD.org/src/rev/e47049e85fb7
branches: trunk
changeset: 754520:e47049e85fb7
user: haad <haad%NetBSD.org@localhost>
date: Sun May 02 23:50:34 2010 +0000
description:
Initialize system_taskq during taskq init. This fixes ztest crash in taskq_dispatch.
diffstat:
external/cddl/osnet/lib/libzpool/kernel.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 2ccca0877aa4 -r e47049e85fb7 external/cddl/osnet/lib/libzpool/kernel.c
--- a/external/cddl/osnet/lib/libzpool/kernel.c Sun May 02 23:22:51 2010 +0000
+++ b/external/cddl/osnet/lib/libzpool/kernel.c Sun May 02 23:50:34 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kernel.c,v 1.3 2010/03/01 21:13:10 haad Exp $ */
+/* $NetBSD: kernel.c,v 1.4 2010/05/02 23:50:34 haad Exp $ */
/*
* CDDL HEADER START
@@ -29,7 +29,7 @@
#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/cdefs.h>
-__RCSID("$NetBSD: kernel.c,v 1.3 2010/03/01 21:13:10 haad Exp $");
+__RCSID("$NetBSD: kernel.c,v 1.4 2010/05/02 23:50:34 haad Exp $");
#include <sys/zfs_context.h>
#include <sys/sysctl.h>
@@ -597,6 +597,8 @@
snprintf(hw_serial, sizeof (hw_serial), "%ld", gethostid());
+ system_taskq_init();
+
spa_init(mode);
}
Home |
Main Index |
Thread Index |
Old Index