Whamcloud - gitweb
LU-2041 oi: keep oi mapping cache consistency
authorFan Yong <yong.fan@whamcloud.com>
Mon, 8 Oct 2012 06:33:29 +0000 (14:33 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 18 Oct 2012 16:30:52 +0000 (12:30 -0400)
commit5dca0371d2ce9c4f54c31a9c88223a4eed77ecde
tree636cafff27596386a7a355ef91cb1c65934c1814
parent2ad695f40cf1920033d77723311ed5ed7a3b07cc
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.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I90cc01601925ada08e0f021ba49e3310f10aed35
Reviewed-on: http://review.whamcloud.com/4208
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Liang Zhen <liang@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_scrub.c