]> granicus.if.org Git - spl/commitdiff
TASKQ_DYNAMIC not yet support, do not create the global taskq with that flag or we...
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 13 Jan 2009 19:43:05 +0000 (11:43 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 13 Jan 2009 19:43:05 +0000 (11:43 -0800)
modules/spl/spl-debug.c
modules/spl/spl-taskq.c

index d2b96b0c346c442a4ca0a22ddde16bccdddf9c88..df22cbc487b478a80e5e4a1a45f600dac520fd72 100644 (file)
@@ -1118,8 +1118,10 @@ void spl_debug_bug(char *file, const char *func, const int line, int flags)
          if (spl_debug_panic_on_bug)
                 spl_panic_in_progress = 1;
 
+#ifdef DEBUG
         spl_debug_dumpstack(NULL);
         spl_debug_dumplog(flags);
+#endif
 
         if (spl_debug_panic_on_bug)
                 panic("SBUG");
index dc6959db555f2e03724b3feac060517cc853f2bc..799b54839c50e3595453b05c80f2317073b90568 100644 (file)
@@ -475,7 +475,7 @@ spl_taskq_init(void)
         ENTRY;
 
         system_taskq = taskq_create("system_taskq", 64, minclsyspri, 4, 512,
-                                    TASKQ_DYNAMIC | TASKQ_PREPOPULATE);
+                                    TASKQ_PREPOPULATE);
        if (system_taskq == NULL)
                RETURN(1);