Whamcloud - gitweb
LU-305 Temporarily block 'non-fatal' signals
authorNiu Yawei <niu@whamcloud.com>
Mon, 23 May 2011 12:54:25 +0000 (05:54 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 28 May 2011 03:12:17 +0000 (20:12 -0700)
commitcdb698a1a036870b6c9d8e51f69809c558d4823a
treefa9a901cd448a6dc0451d418bd1fae1ee6b10dfd
parentf3332b47e33c4f928190c05dd2d806c0d225bef8
LU-305 Temporarily block 'non-fatal' signals

In cl_lock_state_wait(), to avoid being interrupted by 'non-fatal'
signals (such as SIGCHLD), we'd block them temporarily.

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: I176530131a5983c19d64d311b100d1b81845164f
Reviewed-on: http://review.whamcloud.com/591
Reviewed-by: Jinshan Xiong <jay@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs.h
libcfs/libcfs/darwin/darwin-prim.c
libcfs/libcfs/linux/linux-prim.c
libcfs/libcfs/user-prim.c
libcfs/libcfs/winnt/winnt-prim.c
lustre/include/darwin/lustre_lib.h
lustre/include/linux/lustre_lib.h
lustre/include/lustre_lib.h
lustre/obdclass/cl_lock.c
lustre/obdclass/obd_mount.c