Whamcloud - gitweb
LU-5002 flock: accept EDEADLK in sanityn test_74 08/10208/2
authorJohn L. Hammond <john.hammond@intel.com>
Sun, 4 May 2014 21:05:58 +0000 (16:05 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 May 2014 15:56:10 +0000 (15:56 +0000)
commit45e24d91da89c4fccd2fb4c33d9171cd58e20f59
tree2b4338f4d43ddf578538a2beb23325079b3124a1
parent8b2f9c0e40822dd847494f27d9ef4c6858fee78c
LU-5002 flock: accept EDEADLK in sanityn test_74

In flocks_test.c t4() acquiring the second flock may legitimately fail
and return -EDEADLK. Handle this and ensure that errors encountered by
the child process are returned by the parent.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I55172add1412377b1c7125efa4177702d8bf1834
Reviewed-on: http://review.whamcloud.com/10208
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/flocks_test.c