From 27ffc25a8f2dc5f74a6d5e2f03aea7e8b4369b04 Mon Sep 17 00:00:00 2001 From: wangdi Date: Mon, 9 Oct 2006 03:56:34 +0000 Subject: [PATCH] Branch: b_new_cmd update lmv slave object size. --- lustre/lmv/lmv_intent.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/lmv/lmv_intent.c b/lustre/lmv/lmv_intent.c index 593fd36..6ecfd08 100644 --- a/lustre/lmv/lmv_intent.c +++ b/lustre/lmv/lmv_intent.c @@ -941,8 +941,7 @@ int lmv_revalidate_slaves(struct obd_export *exp, struct ptlrpc_request **reqp, LASSERT(body); update: - obj->lo_inodes[i].li_size = (MAX_HASH_SIZE/obj->lo_objcount) * - (i + 1); + obj->lo_inodes[i].li_size = body->size; CDEBUG(D_OTHER, "fresh: %lu\n", (unsigned long)obj->lo_inodes[i].li_size); -- 1.8.3.1