Whamcloud - gitweb
b=19928
authorjxiong <jxiong>
Wed, 25 Nov 2009 01:05:36 +0000 (01:05 +0000)
committerjxiong <jxiong>
Wed, 25 Nov 2009 01:05:36 +0000 (01:05 +0000)
commit830ca9aa130bbbb1a4dc8fb76a5b65ab8ef982e9
treecb0c492ff6ddadc79aa7b4b1797f99c3f9645103
parent6a372ec6b576b628e13a506edf8ba6a76ec2d497
b=19928
r=wangdi,ericm

A workaround fix for 19928 where we found that sometimes MDS takes much long time to finish setattr, which then causes clients can't take inode mutex on time after holding extent lock.

I just added ->lli_trunc_sem to make the above process atomic.
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c