Whamcloud - gitweb
b=19906
authorjxiong <jxiong>
Wed, 25 Nov 2009 02:10:39 +0000 (02:10 +0000)
committerjxiong <jxiong>
Wed, 25 Nov 2009 02:10:39 +0000 (02:10 +0000)
commit51459371a2e146d01f9d2ef27fdf75d77639266f
treedb4e4f6fd9f31f45999097cf1712fc8ec7bfb8dd
parent020c0a8c6ac50ab1b7d0a240722b90c7c31b64c1
b=19906
r=wangdi,ericm

Revise osc_lock_cancel_wait. In clio, we tend to cancel the conflicting locks
at the same client before enqueuing a new lock. In the old implementation, it
waits at osc layer with parent lock held, this is not good - so I moved the
wait to lov layer.
lustre/include/cl_object.h
lustre/lov/lov_lock.c
lustre/lov/lovsub_lock.c
lustre/obdclass/cl_lock.c
lustre/osc/osc_cl_internal.h
lustre/osc/osc_lock.c