From 392a3c1b8a286cc5b3efdad28a14c643504363aa Mon Sep 17 00:00:00 2001 From: yury Date: Fri, 12 Aug 2005 13:29:02 +0000 Subject: [PATCH] - expanded error message in lov md sanity check function. --- lustre/lov/lov_pack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/lov/lov_pack.c b/lustre/lov/lov_pack.c index 4f65c2a..23e871c 100644 --- a/lustre/lov/lov_pack.c +++ b/lustre/lov/lov_pack.c @@ -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; -- 1.8.3.1