Whamcloud - gitweb
LU-5180 lfsck: linkea for orphan 33/10733/15
authorFan Yong <fan.yong@intel.com>
Fri, 30 May 2014 03:59:19 +0000 (11:59 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 9 Jul 2014 14:17:24 +0000 (14:17 +0000)
commit4f046691023175db492ef784d6577da428ec5e1b
tree733b9285d20f500bd71857f7a772b55b4e67338b
parent6d8d0efa7bc88bfdcfcd96a11dfc3221c985cd0d
LU-5180 lfsck: linkea for orphan

To make the fid2path tools can work against any client visible
object, the LFSCK will generate linkEA not only for the orphan
under the directory /ROOT/.lustre/lost+found/MDTxxxx/ but also
for the objects ".lustre" and ".lustre/lost+found".

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ibf957e8e2ec93d0f8f8a7cf1ac45706fb79a41db
Reviewed-on: http://review.whamcloud.com/10733
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
lustre/lfsck/lfsck_internal.h
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_lib.c
lustre/lfsck/lfsck_namespace.c