summaryrefslogtreecommitdiffstats
path: root/src/sys/vfs
diff options
context:
space:
mode:
authorJosh Rispoli <jprispol@us.ibm.com>2014-06-26 13:46:33 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-07-14 13:56:03 -0500
commit57cc498bd1d752d6f5ac0446f010f7b7e480597c (patch)
tree05d5a1521efa6929d935555c16700047e1ca2c9f /src/sys/vfs
parent60958fcd0aab33fcb224e64e8723e24206b1df70 (diff)
downloadtalos-hostboot-57cc498bd1d752d6f5ac0446f010f7b7e480597c.tar.gz
talos-hostboot-57cc498bd1d752d6f5ac0446f010f7b7e480597c.zip
Revisit all daemon tasks and make sure they are properly daemonizing quickly
Added task_detach() to daemons not properly daemonizing Added printk to alert when detached tasks crash Change-Id: Ibc7567c7d61064627b3105f98c89c310fcfaa1c6 RTC:110382 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11829 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/sys/vfs')
-rw-r--r--src/sys/vfs/vfs_main.C7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sys/vfs/vfs_main.C b/src/sys/vfs/vfs_main.C
index 291005945..bf31df680 100644
--- a/src/sys/vfs/vfs_main.C
+++ b/src/sys/vfs/vfs_main.C
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2010,2014 */
+/* Contributors Listed Below - COPYRIGHT 2010,2014 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -59,6 +61,9 @@ struct VfsEntry
void* vfs_main(void* i_barrier)
{
+ // Detach this task from the parent
+ task_detach();
+
barrier_t * barrier = (barrier_t *)i_barrier;
// Create message queue, register with kernel.
msg_q_t vfsMsgQ = msg_q_create();
OpenPOWER on IntegriCloud