staging/lustre: fix build error on non-x86 platforms
authorPeng Tao <bergwolf@gmail.com>
Mon, 15 Jul 2013 14:27:15 +0000 (22:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 19:24:05 +0000 (12:24 -0700)
commit5d4450c41fe308e10a1805cb90d26adbf1267146
tree06d47059e599d313ea5aec4c64e82fb2199b54ae
parent4b1a25f06b30b203b35c227b163c8191b091dad8
staging/lustre: fix build error on non-x86 platforms

dump_trace() is only available on X86. Without it, Lustre's own
watchdog is broken. We can only dump current task's stack.

The client-side this code is much less likely to hit deadlocks and
it's probably OK to drop this altogether, since we hardly have any
ptlrpc threads on clients, most notable ones are ldlm cb threads
that should not really be blocking on the client anyway.

Remove libcfs watchdog for now, until the upstream kernel watchdog
can detect distributed deadlocks and dump other kernel threads.

Cc: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 files changed:
drivers/staging/lustre/include/linux/libcfs/libcfs.h
drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
drivers/staging/lustre/lustre/include/linux/obd.h
drivers/staging/lustre/lustre/include/lustre_net.h
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
drivers/staging/lustre/lustre/libcfs/Makefile
drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c
drivers/staging/lustre/lustre/libcfs/watchdog.c [deleted file]
drivers/staging/lustre/lustre/llite/dcache.c
drivers/staging/lustre/lustre/llite/rw.c
drivers/staging/lustre/lustre/osc/osc_io.c
drivers/staging/lustre/lustre/ptlrpc/service.c