Whamcloud - gitweb
LU-4525 lfsck: distinguish objects visibility by LFSCK 86/9186/4
authorFan Yong <fan.yong@intel.com>
Fri, 31 Jan 2014 03:55:59 +0000 (11:55 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 13 Feb 2014 19:13:53 +0000 (19:13 +0000)
commit5afd3300d1ded80f79dbea92d47d287ad75f463a
treee2b080a35e0857b4de6508b1564af77ab4382bf2
parent5b19499e653172b8deed45f18c09d4eb0499ed18
LU-4525 lfsck: distinguish objects visibility by LFSCK

Originally, the ldiskfs backend otable-based iteration only returned
namespace visible FIDs. That means that the OSD needs to distinguish
related objects visibility. But the OSD should not has the knowledge
about the objects visibility. It is the iteration caller - LFSCK, to
distinguish that by itself.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I1eef4041170e856af00a4b222d053ccb3d8d0023
Reviewed-on: http://review.whamcloud.com/9186
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lfsck/lfsck_engine.c
lustre/osd-ldiskfs/osd_compat.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_oi.c
lustre/osd-ldiskfs/osd_scrub.c