Whamcloud - gitweb
don't fail open with -ERANGE.
authorshadow <shadow>
Tue, 5 Aug 2008 09:05:43 +0000 (09:05 +0000)
committershadow <shadow>
Tue, 5 Aug 2008 09:05:43 +0000 (09:05 +0000)
if client connected until mds will be know about real ost count,
getting LOV EA can be fail because mds not allocate enougth buffer
for LOV EA.
Branch b1_8_gate
b=16080
i=tappro
i=johann

lustre/mds/mds_internal.h

index f8c6ee3..f1407f9 100644 (file)
@@ -229,6 +229,7 @@ int mds_lov_connect(struct obd_device *obd, char * lov_name);
 int mds_lov_disconnect(struct obd_device *obd);
 
 int mds_lov_write_objids(struct obd_device *obd);
+int mds_lov_prepare_objids(struct obd_device *obd, struct lov_mds_md *lmm);
 void mds_lov_update_objids(struct obd_device *obd, struct lov_mds_md *lmm);
 int mds_lov_clear_orphans(struct mds_obd *mds, struct obd_uuid *ost_uuid);