Whamcloud - gitweb
LU-1534 osd: Fix LBUGs when destroying IGIF objects
When destroying MDT objects with IGIF FIDs, the following assertion
may occur:
LustreError: 28147:0:(osd_internal.h:665:osd_fid2oi()) ASSERTION(
!fid_is_igif(fid) ) failed:
LustreError: 28147:0:(osd_internal.h:665:osd_fid2oi()) LBUG
Pid: 28147, comm: mdt_00
With call traces like this:
osd_oi_delete()
osd_object_destroy()
mdd_object_kill()
mdd_finish_unlink()
mdd_unlink()
This patch fixes osd_oi_delete() to avoid trying to delete IGIF FIDs
from OI. Also, the assertion is enhanced to print more debugging
information.
Signed-off-by: Li Wei <liwei@whamcloud.com>
Change-Id: I95fe9db8aec53a496a8dc84c87594ed81f3fe106
Signed-off-by: Li Wei <liwei@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/3120
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson