Whamcloud - gitweb
LU-7383 mdt: retry for busy lock during migration 48/17048/5
authorDi Wang <di.wang@intel.com>
Tue, 3 Nov 2015 15:32:13 +0000 (07:32 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 9 Dec 2015 02:24:20 +0000 (02:24 +0000)
commit5cb0a721aea53ffc8230190c3a0b35e71a47d35b
tree45f8874371e1028ce62ea38d411953183fb2c0d4
parent9aebc6cad4877086104cd27d2da07596aedbeaa5
LU-7383 mdt: retry for busy lock during migration

In migration, if the lock of the migrating object
is being cached on other node, it should revoke
the lock and retry, instead of return -EBUSY.

Signed-off-by: Di Wang <di.wang@intel.com>
Change-Id: I1317681a892b9a21f2c78d7696ca6f94d43bd9bc
Reviewed-on: http://review.whamcloud.com/17048
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_reint.c
lustre/tests/sanity.sh