Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43a6fab
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Mon, 9 Oct 2006 03:56:34 +0000
(
03:56
+0000)
committer
wangdi
<wangdi>
Mon, 9 Oct 2006 03:56:34 +0000
(
03:56
+0000)
update lmv slave object size.
lustre/lmv/lmv_intent.c
patch
|
blob
|
history
diff --git
a/lustre/lmv/lmv_intent.c
b/lustre/lmv/lmv_intent.c
index
593fd36
..
6ecfd08
100644
(file)
--- 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);