Whamcloud - gitweb
LU-969 debug: reduce stack usage
1, libcfs_debug_vmsg2 to accept libcfs_debug_msg_data struture
to replace SUBSYSTEM, __FILE__, __FUNCTION__, __LINE__ and
cdls on the stack
2, CDEBUG, DEBUG_CAPA use static libcfs_debug_msg_data
3, remove the local variable in RETURN/GOTO/__CHECK_STACK
4, reduce stack in recovery thread by moving lu_env,
ptlrpc_thread to heap.
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Change-Id: I4a66d18d956ea4526ac85794d17305bde67f5634
Reviewed-on: http://review.whamcloud.com/2162
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
29 files changed: