Whamcloud - gitweb
LU-7585 scrub: general framework for OI scrub 07/28607/18
authorFan Yong <fan.yong@intel.com>
Wed, 29 Nov 2017 02:52:30 +0000 (10:52 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 17 Dec 2017 06:17:39 +0000 (06:17 +0000)
commit7e21ea59edcc65426e1753ab1884b9a2b93826ce
tree5864c6bd7b8d411beb3b7bcab956bb5827daa4d1
parent70a73c52d5a780e580e49ccfa778c4beab340c9c
LU-7585 scrub: general framework for OI scrub

Reconstruct OI scrub code to make some data structure and
functions can be shared between osd-ldiskfs and osd-ZFS.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I4c4e3fcbd11078d10592136e9e55de66516a2b16
Reviewed-on: https://review.whamcloud.com/28607
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
14 files changed:
lustre/include/Makefile.am
lustre/include/lustre_fid.h
lustre/include/lustre_scrub.h [new file with mode: 0644]
lustre/obdclass/Makefile.in
lustre/obdclass/scrub.c [new file with mode: 0644]
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_lproc.c
lustre/osd-ldiskfs/osd_oi.c
lustre/osd-ldiskfs/osd_oi.h
lustre/osd-ldiskfs/osd_scrub.c
lustre/osd-ldiskfs/osd_scrub.h
lustre/osd-zfs/osd_oi.c
lustre/tests/sanity-scrub.sh