From: wangdi Date: Mon, 9 Oct 2006 03:56:34 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~635 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=27ffc25a8f2dc5f74a6d5e2f03aea7e8b4369b04;p=fs%2Flustre-release.git Branch: b_new_cmd update lmv slave object size. --- 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);