Whamcloud - gitweb
LU-2214 lod: fix tricky iterator methods
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Mon, 22 Oct 2012 13:35:53 +0000 (17:35 +0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 29 Oct 2012 05:07:58 +0000 (01:07 -0400)
commit593e71ba5504f017673356ca811249fea3ba119b
tree9ea518fdb037d0e7017c16dea402353bba6eb7fa
parent3402e6c6517cc15f159b19bf4462279285cd83f2
LU-2214 lod: fix tricky iterator methods

instead of bypassing LOD layer in the iterator methods,
just get own iterator structure in lod, which keep references
to the object and the iterator of the layer below.

this also let LOD to have different iterators in different
objects which is required for DNE.

to verify the approach lfsck goes through LOD now.

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: I62935319a686f4b06b2cdf5ea4002a800c0c430d
Reviewed-on: http://review.whamcloud.com/4370
Tested-by: Hudson
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: wangdi <di.wang@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_internal.h
lustre/lod/lod_object.c
lustre/mdd/mdd_lfsck.c