Whamcloud - gitweb
LU-2850 kernel: 3.8 upstream kills daemonize() 55/5655/13
authorPeng Tao <tao.peng@emc.com>
Fri, 14 Jun 2013 12:56:27 +0000 (08:56 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 20 Jun 2013 16:09:39 +0000 (16:09 +0000)
commitc8fd9c3c38a66ab3dd479c48e0168577a4ff960e
tree02461cc976ee330dffd2f014d1baa01078d045b2
parenta35113b690e39dcd39e126efc9085b3bc160b4ff
LU-2850 kernel: 3.8 upstream kills daemonize()

kernel_thread() is a low level kernel function.
Instead of calling kernel_thread() and relying on daemonize()
to create new kernel threads, we should really switch to
kthread_run() and elimilate daemonize().

All callers are converted except for those in
lnet/klnds/gnilnd/gnilnd*, as requested by James.

Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I9f977bfc5d58192957d8c8d634204f4910edfa2a
Reviewed-on: http://review.whamcloud.com/5655
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
67 files changed:
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/darwin/darwin-prim.h
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/linux/linux-prim.h
libcfs/include/libcfs/posix/libcfs.h
libcfs/include/libcfs/user-prim.h
libcfs/include/libcfs/winnt/winnt-prim.h
libcfs/libcfs/Makefile.in
libcfs/libcfs/darwin/darwin-prim.c
libcfs/libcfs/darwin/darwin-utils.c
libcfs/libcfs/debug.c
libcfs/libcfs/linux/Makefile.am
libcfs/libcfs/linux/linux-lwt.c [deleted file]
libcfs/libcfs/linux/linux-prim.c
libcfs/libcfs/tracefile.c
libcfs/libcfs/user-prim.c
libcfs/libcfs/watchdog.c
libcfs/libcfs/winnt/winnt-prim.c
libcfs/libcfs/winnt/winnt-tcpip.c
libcfs/libcfs/workitem.c
lnet/klnds/mxlnd/mxlnd.c
lnet/klnds/mxlnd/mxlnd_cb.c
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c
lnet/klnds/ptllnd/ptllnd.c
lnet/klnds/ptllnd/ptllnd_cb.c
lnet/klnds/qswlnd/qswlnd.c
lnet/klnds/qswlnd/qswlnd_cb.c
lnet/klnds/ralnd/ralnd.c
lnet/klnds/ralnd/ralnd.h
lnet/klnds/ralnd/ralnd_cb.c
lnet/klnds/socklnd/socklnd.c
lnet/klnds/socklnd/socklnd.h
lnet/klnds/socklnd/socklnd_cb.c
lnet/lnet/acceptor.c
lnet/lnet/module.c
lnet/lnet/router.c
lnet/selftest/timer.c
lnet/ulnds/socklnd/usocklnd.c
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_pool.c
lustre/lfsck/lfsck_engine.c
lustre/lfsck/lfsck_lib.c
lustre/llite/llite_capa.c
lustre/llite/llite_close.c
lustre/llite/lloop.c
lustre/llite/statahead.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_capa.c
lustre/mgc/mgc_request.c
lustre/mgs/mgs_nids.c
lustre/obdclass/genops.c
lustre/obdclass/llog.c
lustre/osd-ldiskfs/osd_scrub.c
lustre/osp/osp_precreate.c
lustre/osp/osp_sync.c
lustre/ptlrpc/import.c
lustre/ptlrpc/pinger.c
lustre/ptlrpc/ptlrpcd.c
lustre/ptlrpc/sec_gc.c
lustre/ptlrpc/service.c
lustre/quota/qmt_lock.c
lustre/quota/qsd_reint.c
lustre/quota/qsd_writeback.c