X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2Fcl_object.c;h=1e39da330613f1fd5cac453e99f8bc563b3658f8;hp=ebfc7f2060dbddbbe3fbf5dd8c0e1aa0b09aa07f;hb=3db1d3322eb0d4271496c6fea169fb10fa500ebb;hpb=d1dded6e28473d889a9b24b47cbc804f90dd2956 diff --git a/lustre/obdclass/cl_object.c b/lustre/obdclass/cl_object.c index ebfc7f2..1e39da3 100644 --- a/lustre/obdclass/cl_object.c +++ b/lustre/obdclass/cl_object.c @@ -57,6 +57,7 @@ #include "cl_internal.h" static struct kmem_cache *cl_env_kmem; +struct kmem_cache *cl_dio_aio_kmem; /** Lock class of cl_object_header::coh_attr_guard */ static struct lock_class_key cl_attr_guard_class; @@ -1046,14 +1047,19 @@ static struct lu_context_key cl_key = { }; static struct lu_kmem_descr cl_object_caches[] = { - { - .ckd_cache = &cl_env_kmem, - .ckd_name = "cl_env_kmem", - .ckd_size = sizeof (struct cl_env) - }, - { - .ckd_cache = NULL - } + { + .ckd_cache = &cl_env_kmem, + .ckd_name = "cl_env_kmem", + .ckd_size = sizeof(struct cl_env) + }, + { + .ckd_cache = &cl_dio_aio_kmem, + .ckd_name = "cl_dio_aio_kmem", + .ckd_size = sizeof(struct cl_dio_aio) + }, + { + .ckd_cache = NULL + } }; /**