Whamcloud - gitweb
LU-957 scrub: osd-ldiskfs itable based iteration
authorFan Yong <yong.fan@whamcloud.com>
Thu, 14 Jun 2012 07:40:39 +0000 (15:40 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 22 Jun 2012 08:30:36 +0000 (04:30 -0400)
commitfafa0e31a54281167eebd615da847866eaf03a93
treecd071141d42079a3d3e30945ef23d8fe10b2d982
parent698d3088622b4610a84bd508f2b707a7a2dd1e3e
LU-957 scrub: osd-ldiskfs itable based iteration

Implement inode table based object iteration in osd-ldiskfs.
It is implemented as DT iteration APIs, which can be used by
up layer LFSCK to scan the whole device sequentially.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I3d80bb4a174d47429764e5cca35e4f07be52d50b
Reviewed-on: http://review.whamcloud.com/2553
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/dt_object.h
lustre/obdclass/dt_object.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_scrub.c