Whamcloud - gitweb
b=22307 remove lock acquisition during holding spinlock
authorhongchao.zhang <Hongchao.Zhang@Sun.COM>
Thu, 1 Apr 2010 12:08:51 +0000 (20:08 +0800)
committerJohann Lombardi <johann@sun.com>
Tue, 6 Apr 2010 08:42:32 +0000 (10:42 +0200)
commit23d648e4d185ec903a55516cb60774a4b963d70d
tree0db788df379efbb5f6d329902b18de041cc7f6eb
parentd3742319595e2dc80d07290c18d5256205d0e9d8
b=22307 remove lock acquisition during holding spinlock

in ras_update, "lov_get_info" could be called during increasing
readahead windows, which tries to get the mutex lock "lov_lock"
while holding the spin_lock "ras_lock",  then causes system lockup.

i=johann@sun.com
i=tom.wang@sun.com
lustre/llite/rw.c