Whamcloud - gitweb
LU-8066 osp: migrate from proc to sysfs
[fs/lustre-release.git] / lustre / osp / osp_internal.h
index a842528..9b052e8 100644 (file)
@@ -172,8 +172,6 @@ struct osp_device {
        struct obd_uuid                  opd_cluuid;
        struct obd_connect_data         *opd_connect_data;
        int                              opd_connects;
-       struct proc_dir_entry           *opd_proc_entry;
-       struct lprocfs_stats            *opd_stats;
        /* connection status. */
        unsigned int                     opd_new_connection:1,
                                         opd_got_disconnected:1,
@@ -249,7 +247,6 @@ struct osp_device {
        /* how often to update statfs data */
        time64_t                         opd_statfs_maxage;
 
-       struct proc_dir_entry           *opd_symlink;
        struct dentry                   *opd_debugfs;
 
        /* If the caller wants to do some idempotent async operations on
@@ -805,8 +802,8 @@ int osp_write_last_oid_seq_files(struct lu_env *env, struct osp_device *osp,
 int osp_init_pre_fid(struct osp_device *osp);
 
 /* lproc_osp.c */
-void osp_lprocfs_init(struct osp_device *osp);
-void osp_lprocfs_fini(struct osp_device *osp);
+void osp_tunables_init(struct osp_device *osp);
+void osp_tunables_fini(struct osp_device *osp);
 
 /* osp_sync.c */
 int osp_sync_declare_add(const struct lu_env *env, struct osp_object *o,