Whamcloud - gitweb
LU-2041 oi: keep oi mapping cache consistency
authorFan Yong <yong.fan@whamcloud.com>
Mon, 8 Oct 2012 07:35:55 +0000 (15:35 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 9 Oct 2012 03:19:41 +0000 (23:19 -0400)
commit1d18700e987c62bb446d4c71c3d830940502e5a2
tree2c5cba85d83c3c067726e02d1c0d2931e0423408
parent0184a93f3c0244a82d542b775a35a693d955abe4
LU-2041 oi: keep oi mapping cache consistency

Sometimes the local ID of the per RPC thread OI mappig cache may be
changed, but the FID of such OI mapping cache has not been updated,
which will cause the RPC thread finds some unexpected object with
the given FID, should be fixed.

Move osd_device::osd_scrub::os_no_scrub to osd_device::od_noscrub.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: Idbc46cd70b136b7ffc2528331d5593fbac725900
Reviewed-on: http://review.whamcloud.com/4207
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Liang Zhen <liang@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_lproc.c
lustre/osd-ldiskfs/osd_scrub.c
lustre/osd-ldiskfs/osd_scrub.h
lustre/tests/sanity-scrub.sh