Whamcloud - gitweb
LU-8746 update: restore tdtd_refcount during failure 88/26888/2
authorwangdi <di.wang@intel.com>
Tue, 21 Mar 2017 14:49:52 +0000 (10:49 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 May 2017 03:47:15 +0000 (03:47 +0000)
commit92bbd06e4ddd2505fceaada9cda4bb0974733204
treee18b2a81aea1eeaadcac8a8e6113e89599fe13d8
parente5eec257c4daf9e2f538f13c7f7ff121acbc0195
LU-8746 update: restore tdtd_refcount during failure

During batchid_update, tdtd_refcount should be restored
once error happens, otherwise tdtd_refcount will not
reach 0 which will cause distribute thread hang during
umount.

Change the distribute thread name to "dist_txn".

Signed-off-by: Di Wang <di.wang@intel.com>
Change-Id: I585cc4ceb37a7f3ddaf38201306e0a331fb43e74
Reviewed-on: https://review.whamcloud.com/26888
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
lustre/target/update_trans.c