staging/lustre/mdc: layout lock rpc must not take rpc_lock
authorjcl <jacques-charles.lafoucriere@cea.fr>
Mon, 22 Jul 2013 16:06:33 +0000 (00:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 19:48:22 +0000 (12:48 -0700)
commitbdf43213f9e7faf980025f44ec82b80caf453e8d
treed63fba69a61742d5c9188da5566611ba5c98b40f
parent2d58de78b2f6c53688a154b02bae3ada19ed15a9
staging/lustre/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

Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3200
Lustre-change: http://review.whamcloud.com/6115
Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_mdc.h
drivers/staging/lustre/lustre/mdc/mdc_locks.c
This page took 0.02738 seconds and 5 git commands to generate.