Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-744 clio: save memory allocations for cl_page
[fs/lustre-release.git]
/
lustre
/
osc
/
osc_object.c
diff --git
a/lustre/osc/osc_object.c
b/lustre/osc/osc_object.c
index
72ba12b
..
2bf87db
100644
(file)
--- a/
lustre/osc/osc_object.c
+++ b/
lustre/osc/osc_object.c
@@
-98,6
+98,8
@@
static int osc_object_init(const struct lu_env *env, struct lu_object *obj,
cfs_atomic_set(&osc->oo_nr_writes, 0);
spin_lock_init(&osc->oo_lock);
+ cl_object_page_init(lu2cl(obj), sizeof(struct osc_page));
+
return 0;
}