Whamcloud - gitweb
LU-4725 mdt: child-parent lock ordering in rename 38/9538/7
authorHongchao Zhang <hongchao.zhang@intel.com>
Sat, 5 Apr 2014 04:41:03 +0000 (12:41 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 9 May 2014 14:32:38 +0000 (14:32 +0000)
commit4e308ef74f271ec7e19917e3c0f88586537582c3
treeee47b028ec52c82ca4da40cdc662cf445739b3ef
parent4a81ba05b728af66c269ae46d203dfb6e7de8b34
LU-4725 mdt: child-parent lock ordering in rename

change rename so that it always has parent-child lock ordering,
otherwise it may deadlock with other operations.

Signed-off-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Change-Id: If676da82ca50a20a4bb3aadef0f81c9c5ed3cbcb
Xyratex-bug-id: MRP-1700
Reviewed-on: http://review.whamcloud.com/9538
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd_support.h
lustre/mdt/mdt_reint.c
lustre/tests/sanityn.sh