Whamcloud - gitweb
LU-8066 mdc: move mdc-specific procfs files to sysfs
[fs/lustre-release.git] / lustre / mdc / mdc_internal.h
index d1143ae..335928b 100644 (file)
@@ -23,7 +23,7 @@
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2011, 2016, Intel Corporation.
+ * Copyright (c) 2011, 2017, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -35,9 +35,7 @@
 
 #include <lustre_mdc.h>
 
-#ifdef CONFIG_PROC_FS
-extern struct lprocfs_vars lprocfs_mdc_obd_vars[];
-#endif
+int mdc_tunables_init(struct obd_device *obd);
 
 void mdc_pack_body(struct ptlrpc_request *req, const struct lu_fid *fid,
                   u64 valid, size_t ea_size, u32 suppgid, u32 flags);
@@ -129,6 +127,7 @@ int mdc_setattr(struct obd_export *exp, struct md_op_data *op_data,
                void *ea, size_t ealen, struct ptlrpc_request **request);
 int mdc_unlink(struct obd_export *exp, struct md_op_data *op_data,
               struct ptlrpc_request **request);
+int mdc_file_resync(struct obd_export *exp, struct md_op_data *data);
 int mdc_cancel_unused(struct obd_export *exp, const struct lu_fid *fid,
                      union ldlm_policy_data *policy, enum ldlm_mode mode,
                      enum ldlm_cancel_flags flags, void *opaque);