* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2012, 2015, Intel Corporation.
+ * Copyright (c) 2012, 2017, Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
struct kmem_cache *osc_thread_kmem;
struct kmem_cache *osc_session_kmem;
struct kmem_cache *osc_extent_kmem;
-EXPORT_SYMBOL(osc_extent_kmem);
struct kmem_cache *osc_quota_kmem;
-EXPORT_SYMBOL(osc_quota_kmem);
+struct kmem_cache *osc_obdo_kmem;
struct lu_kmem_descr osc_caches[] = {
{
.ckd_size = sizeof(struct osc_quota_info)
},
{
- .ckd_cache = NULL
- }
+ .ckd_cache = &osc_obdo_kmem,
+ .ckd_name = "osc_obdo_kmem",
+ .ckd_size = sizeof(struct obdo)
+ },
+ {
+ .ckd_cache = NULL
+ }
};
/*****************************************************************************