Whamcloud - gitweb
LU-7384 lfsck: check transaction stop status 42/17042/3
authorFan Yong <fan.yong@intel.com>
Fri, 18 Sep 2015 07:52:31 +0000 (15:52 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Nov 2015 14:25:25 +0000 (14:25 +0000)
commit9a466ecccf5546e9fc3d0ce7b5c11280377e5a02
treed775fdbc3678ac58c9133ead07dfc5dda93e53d5
parentd7e621201ac5938731067a29fbc2e1c457dfb824
LU-7384 lfsck: check transaction stop status

The LFSCK modification will be sent to remote server when the
transaction stop, for sync transaction case, we can check the
dt_trans_stop() result.

If the lfsck_namespace_create_orphan_dir() failed, but we may
ignored that before because of ignoring dt_trans_stop result.
Then it may cause subsequent lfsck_namespace_insert_normal()
failed at LASSERT(lu_object_exists(o) != 0);

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: If897b7bd479ecdb61e6435f3177211f865a4e303
Reviewed-on: http://review.whamcloud.com/17042
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lfsck/lfsck_namespace.c
lustre/osp/osp_md_object.c