.dio_delete = osd_index_compat_delete
};
-/*
- * OSD device type methods
- */
-
+/* type constructor/destructor: osd_type_init, osd_type_fini */
LU_TYPE_INIT_FINI(osd, &osd_key);
static struct lu_context_key osd_key = {
return info;
}
+/* context key destructor: osd_key_fini */
LU_KEY_FINI(osd, struct osd_thread_info);
static void osd_key_exit(const struct lu_context *ctx,