Whamcloud - gitweb
LU-3200 mdc: layout lock rpc must not take rpc_lock
authorjcl <jacques-charles.lafoucriere@cea.fr>
Mon, 15 Apr 2013 20:21:13 +0000 (22:21 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 7 Jun 2013 03:54:18 +0000 (23:54 -0400)
commita104459086c0e550e11d73eba635a72a1a282eb0
tree5ab36b4c07e1e9d06393731be7b8cc7c1db7fd9c
parentd98a6fefc9fcb67320502990613ca9deb934b4d6
LU-3200 mdc: layout lock rpc must not take rpc_lock

When a client issue an RPC to get a layout lock, it
must not hold rpc_lock because in case of a restore
the rpc can be blocking for a long time

Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Change-Id: Id9ea9be47669fd52c8d6e681090b4c911cfe2dc1
Reviewed-on: http://review.whamcloud.com/6115
Tested-by: Hudson
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lustre/include/lustre_mdc.h
lustre/mdc/mdc_locks.c