Whamcloud - gitweb
LU-234 OOM killer causes node hang.
authoryangsheng <ys@whamcloud.com>
Fri, 22 Apr 2011 21:28:44 +0000 (05:28 +0800)
committerJohann Lombardi <johann@whamcloud.com>
Fri, 20 May 2011 08:35:57 +0000 (01:35 -0700)
commit0d7af2d437b622172c9975f1df9c1720e6f5b4f9
tree8f9c90a6d4d4d13dbdb16e79470d9f85839d1363
parent4c2ea168bb65cb0abe1182e319e650ea3a58da10
LU-234 OOM killer causes node hang.

b=18213 Handle the signal to avoid process hang.

Previous patch may cause a memleak. And also release the request when
ldlm_cli_enqueue() failed.

Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: I1c22e2b2027f61af257ce031cfb7b6cbe08b8141
Reviewed-on: http://review.whamcloud.com/457
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
lustre/mdc/mdc_locks.c