Whamcloud - gitweb
LU-3285 mdc: add cl_device to the MDC
[fs/lustre-release.git] / lustre / mdc / mdc_internal.h
index 9877352..4dc7a5e 100644 (file)
@@ -95,6 +95,8 @@ int mdc_save_lovea(struct ptlrpc_request *req,
 /* mdc/mdc_request.c */
 int mdc_fid_alloc(const struct lu_env *env, struct obd_export *exp,
                  struct lu_fid *fid, struct md_op_data *op_data);
+int mdc_setup(struct obd_device *obd, struct lustre_cfg *cfg);
+int mdc_process_config(struct obd_device *obd, size_t len, void *buf);
 
 struct obd_client_handle;
 
@@ -163,4 +165,7 @@ static inline unsigned long hash_x_index(__u64 hash, int hash64)
        return ~0UL - (hash + !hash);
 }
 
+/* mdc_dev.c */
+extern struct lu_device_type mdc_device_type;
+
 #endif