Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62a329a
)
- replace assert with cwarn when gap is found in objids. This is allowed
author
tappro
<tappro>
Tue, 13 Jan 2009 07:21:42 +0000
(07:21 +0000)
committer
tappro
<tappro>
Tue, 13 Jan 2009 07:21:42 +0000
(07:21 +0000)
situation due to inode reuse
b:18168
i:adilger, shadow
lustre/mds/mds_lov.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_lov.c
b/lustre/mds/mds_lov.c
index
cd279f3
..
d48f4cb
100644
(file)
--- 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);