Whamcloud - gitweb
LU-613 clio: Client dead-lock during binary exec
authorJinshan Xiong <jay@whamcloud.com>
Fri, 19 Aug 2011 22:24:15 +0000 (15:24 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 4 Jan 2012 18:19:19 +0000 (13:19 -0500)
commit7af2428511c286788d9c73c436cb43d6f791821f
tree32d6ad5a315b31d6ed67c5b61c217e714024519f
parent7796bdfb07954422e81b124ba176a5e431b43d8b
LU-613 clio: Client dead-lock during binary exec

The root cause is clio takes attr lock and i_size_sem in reverse
order.

In my patch, I find out there is no deadlock issue any more in fault
and truncate path, so it holds i_size_sem in fault path to fix this
problem.

Change-Id: I04cca9324158a34fded6651692410e29aae2e402
Signed-off-by: Jinshan Xiong <jay@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1281
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lclient.h
lustre/lclient/lcommon_cl.c
lustre/liblustre/llite_cl.c
lustre/llite/rw.c
lustre/llite/vvp_io.c
lustre/tests/Makefile.am
lustre/tests/racer.sh
lustre/tests/racer/file_exec.sh [new file with mode: 0755]
lustre/tests/racer/racer.sh