Whamcloud - gitweb
b=23120 eliminate defunct changelog_send_thread processes
authorNathan Rutman <nathan.rutman@oracle.com>
Thu, 19 Aug 2010 21:36:44 +0000 (01:36 +0400)
committerMikhail Pershin <tappro@sun.com>
Fri, 20 Aug 2010 11:46:50 +0000 (15:46 +0400)
o=thomas.leibovici@cea.fr
i=nathan

lustre/mdc/mdc_request.c

index 6e688fd..a1e4044 100644 (file)
@@ -1282,6 +1282,8 @@ out:
         if (cs->cs_buf)
                 OBD_FREE(cs->cs_buf, CR_MAXSIZE);
         OBD_FREE_PTR(cs);
+        /* detach from parent process so we get cleaned up */
+        cfs_daemonize("cl_send");
         return rc;
 }