X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmdd%2Fmdd_lov.c;h=69df68e806fb4d3db1314c10b15b054c62e5fd85;hp=46d15804814273a0743ffcbd758952164d65d2d7;hb=01138321c7ce393c189a7ed11559c0938ce9f17e;hpb=99c3dc10e445cfe299da07eec57eae04b9aa4347;ds=sidebyside diff --git a/lustre/mdd/mdd_lov.c b/lustre/mdd/mdd_lov.c index 46d1580..69df68e 100644 --- a/lustre/mdd/mdd_lov.c +++ b/lustre/mdd/mdd_lov.c @@ -152,6 +152,9 @@ int mdd_init_obd(const struct lu_env *env, struct mdd_device *mdd, obd->obd_recovering = 1; cfs_spin_unlock(&obd->obd_dev_lock); obd->u.mds.mds_id = mds_id; + obd->u.obt.obt_osd_properties.osd_max_ea_size = + mdd->mdd_dt_conf.ddp_max_ea_size; + rc = class_setup(obd, lcfg); if (rc) GOTO(class_detach, rc); @@ -163,6 +166,7 @@ int mdd_init_obd(const struct lu_env *env, struct mdd_device *mdd, obd->obd_upcall.onu_upcall = mdd_notify; obd->obd_upcall.onu_owner = mdd; mdd->mdd_obd_dev = obd; + EXIT; class_detach: if (rc)