Whamcloud - gitweb
LU-1866 lfsck: ancillary work for namespace LFSCK
authorFan Yong <yong.fan@whamcloud.com>
Tue, 15 Jan 2013 07:05:35 +0000 (15:05 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 6 Feb 2013 05:12:15 +0000 (00:12 -0500)
commit21b0820ab8b596ae4daf4a0a31e3725e52e0590a
tree86149e7afea08e7b16dd7184c97f9064c6829555
parent42bedf90159bcaf0c8415f19a821ba11b2957155
LU-1866 lfsck: ancillary work for namespace LFSCK

1) Share related linkEA functions with LFSCK.

2) Multiple linked objects are rare, and the objects with
   a lot of linkea entries are more rare. It is unnecessary
   to worry about performance under such cases. So drop the
   linkea entries count limitation: LINKEA_MAX_COUNT.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I75f90c9619c56f2f62063435aea26ed01337d6dd
Reviewed-on: http://review.whamcloud.com/4907
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/mdd/mdd_device.c
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_object.c
lustre/mdd/mdd_orphans.c