Whamcloud - gitweb
LU-3335 scrub: purge inconsistenct objects after OI scrub 97/6697/10
authorFan Yong <fan.yong@intel.com>
Sat, 15 Jun 2013 09:29:18 +0000 (17:29 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 10 Jul 2013 04:12:02 +0000 (04:12 +0000)
commit895fbd93b2cfb1a1ea2ad676d1b7355867e9f1c0
tree2e3fbc7be1da1b5d9efe1fd49652009b4897d882
parent612f27788166e2f1153cb5f2c4b4bffba9a42235
LU-3335 scrub: purge inconsistenct objects after OI scrub

When OI scrub repaired the found inconsistency, it needs to purge the
old object out of cache; otherwise, others may still use those cached
stale information.

Test-Parameters: testlist=sanity-scrub
Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Id3607c38952da9bfec01139743e817c95a854047
Reviewed-on: http://review.whamcloud.com/6697
Tested-by: Hudson
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lu_object.h
lustre/lfsck/lfsck_lib.c
lustre/obdclass/lu_object.c
lustre/osd-ldiskfs/osd_scrub.c
lustre/tests/sanity-scrub.sh