Whamcloud - gitweb
- expanded error message in lov md sanity check function.
authoryury <yury>
Fri, 12 Aug 2005 13:29:02 +0000 (13:29 +0000)
committeryury <yury>
Fri, 12 Aug 2005 13:29:02 +0000 (13:29 +0000)
lustre/lov/lov_pack.c

index 4f65c2a..23e871c 100644 (file)
@@ -371,7 +371,8 @@ int lov_unpackmd_v1(struct lov_obd *lov, struct lov_stripe_md *lsm,
                 loi->loi_ost_idx = le32_to_cpu(lmm->lmm_objects[i].l_ost_idx);
                 loi->loi_ost_gen = le32_to_cpu(lmm->lmm_objects[i].l_ost_gen);
                 if (loi->loi_ost_idx >= lov->desc.ld_tgt_count) {
-                        CERROR("OST index %d more than OST count %d\n",
+                        CERROR("OST index %d more than OST count %d. "
+                               "MDS and client use different OST sets?\n",
                                loi->loi_ost_idx, lov->desc.ld_tgt_count);
                         lov_dump_lmm_v1(D_WARNING, lmm);
                         return -EINVAL;