Whamcloud - gitweb
Branch HEAD
authorzam <zam>
Mon, 14 Sep 2009 06:36:00 +0000 (06:36 +0000)
committerzam <zam>
Mon, 14 Sep 2009 06:36:00 +0000 (06:36 +0000)
commitdebd88622fdf5657f46289d80510f95604d633cd
tree95d8a1fee81638617444129869db488bf9e768a3
parente7f3c2955a426bbe3e39b32208056b9ab8667190
Branch HEAD
b=19580
i=johann
i=tappro

prevent taking lov_lock semaphore while holding lco_lock spinlock,
by convering the spinlock to a semaphore.
cl_ocd_update()
 ->spin_lock(&lco_lock)
  ->mdc_init_ea_size()
   ->lov_get_info()
     ->lov_getref/putref()
      ->mutex_down(lov_lock)
lustre/include/lustre_lite.h
lustre/lclient/lcommon_misc.c
lustre/llite/llite_lib.c