Whamcloud - gitweb
LU-1274 osc: Do not grab mutex of cl_lock for glimpse
authorJinshan Xiong <jinshan.xiong@whamcloud.com>
Fri, 30 Mar 2012 19:57:34 +0000 (12:57 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 1 Jun 2012 13:14:25 +0000 (09:14 -0400)
commit32c51c0b6f61a5c026993706d06de8654868df79
treeba3ca8963b11441c253ee2700f7283fcca9c024a
parent5d37670e8507563db556879041c7992936aefa56
LU-1274 osc: Do not grab mutex of cl_lock for glimpse

Otherwise this will cause client eviction if that lock is being
flushed and OST happens to be slow to finish the IO.

Signed-off-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Change-Id: I8cbd9c38a317f4afaf3b0e237efe55e4c0f991c2
Reviewed-on: http://review.whamcloud.com/2426
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
lustre/osc/osc_lock.c