X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fofd%2Fofd_fs.c;h=8be08a37e8f20942d990fdb118981531df373204;hp=0a1c87f3f7f97fb3da0ac3c9834c80e38fcee4e1;hb=b724079edc5b66e1046b5760a6bad3045e9a9260;hpb=d01fc74e8a347a0c8ebfcf92a49c7f71809cd0ad diff --git a/lustre/ofd/ofd_fs.c b/lustre/ofd/ofd_fs.c index 0a1c87f..8be08a3 100644 --- a/lustre/ofd/ofd_fs.c +++ b/lustre/ofd/ofd_fs.c @@ -416,7 +416,10 @@ struct ofd_seq *ofd_seq_load(const struct lu_env *env, struct ofd_device *ofd, if (info->fti_attr.la_size == 0) { /* object is just created, initialize last id */ - ofd_seq_last_oid_set(oseq, OFD_INIT_OBJID); + if (OBD_FAIL_CHECK(OBD_FAIL_OFD_SET_OID)) + ofd_seq_last_oid_set(oseq, 0xffffff00); + else + ofd_seq_last_oid_set(oseq, OFD_INIT_OBJID); ofd_seq_last_oid_write(env, ofd, oseq); } else if (info->fti_attr.la_size == sizeof(lastid)) { info->fti_off = 0;