From: tappro Date: Tue, 13 Jan 2009 07:06:37 +0000 (+0000) Subject: - warning instead of assert when gap is found in objids without recovery. That X-Git-Tag: v1_8_0_110~331 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=04953dbfa9772f5f162c83e9af4c642b26d41806;p=fs%2Flustre-release.git - warning instead of assert when gap is found in objids without recovery. That may happen due to inode reuse problem b:18168 i:shadow, adilger --- diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index cd279f3..d48f4cb 100644 --- a/lustre/mds/mds_lov.c +++ b/lustre/mds/mds_lov.c @@ -315,7 +315,8 @@ void mds_lov_update_objids(struct obd_device *obd, struct lov_mds_md *lmm) /* we might have lost precreated objects due to VBR */ if (lost > 0 && obd->obd_recovering) { CDEBUG(D_HA, "GAP in objids is %u\n", lost); - LASSERT(obd->obd_version_recov); + if (!obd->obd_version_recov) + CWARN("Unexpected gap in objids\n"); /* lsm is allocated if NULL */ mds_log_lost_precreated(obd, &lsm, &stripes, data[idx] + 1, lost, i);