+static struct lprocfs_vars lprocfs_osc_obd_vars[] = {
+ { "uuid", lprocfs_rd_uuid, 0, 0 },
+ { "ping", 0, lprocfs_wr_ping, 0, 0, 0222 },
+ { "connect_flags", lprocfs_rd_connect_flags, 0, 0 },
+ { "blocksize", lprocfs_rd_blksize, 0, 0 },
+ { "kbytestotal", lprocfs_rd_kbytestotal, 0, 0 },
+ { "kbytesfree", lprocfs_rd_kbytesfree, 0, 0 },
+ { "kbytesavail", lprocfs_rd_kbytesavail, 0, 0 },
+ { "filestotal", lprocfs_rd_filestotal, 0, 0 },
+ { "filesfree", lprocfs_rd_filesfree, 0, 0 },
+ //{ "filegroups", lprocfs_rd_filegroups, 0, 0 },
+ { "ost_server_uuid", lprocfs_rd_server_uuid, 0, 0 },
+ { "ost_conn_uuid", lprocfs_rd_conn_uuid, 0, 0 },
+ { "active", osc_rd_active,
+ osc_wr_active, 0 },
+ { "max_pages_per_rpc", lprocfs_obd_rd_max_pages_per_rpc,
+ lprocfs_osc_wr_max_pages_per_rpc, 0 },
+ { "max_rpcs_in_flight", osc_rd_max_rpcs_in_flight,
+ osc_wr_max_rpcs_in_flight, 0 },
+ { "destroys_in_flight", osc_rd_destroys_in_flight, 0, 0 },
+ { "max_dirty_mb", osc_rd_max_dirty_mb, osc_wr_max_dirty_mb, 0 },
+ { "osc_cached_mb", osc_rd_cached_mb, osc_wr_cached_mb, 0 },
+ { "cur_dirty_bytes", osc_rd_cur_dirty_bytes, 0, 0 },
+ { "cur_grant_bytes", osc_rd_cur_grant_bytes,
+ osc_wr_cur_grant_bytes, 0 },
+ { "cur_lost_grant_bytes", osc_rd_cur_lost_grant_bytes, 0, 0},
+ { "grant_shrink_interval", osc_rd_grant_shrink_interval,
+ osc_wr_grant_shrink_interval, 0 },
+ { "checksums", osc_rd_checksum, osc_wr_checksum, 0 },
+ { "checksum_type", osc_rd_checksum_type, osc_wd_checksum_type, 0 },
+ { "resend_count", osc_rd_resend_count, osc_wr_resend_count, 0},
+ { "timeouts", lprocfs_rd_timeouts, 0, 0 },
+ { "contention_seconds", osc_rd_contention_seconds,
+ osc_wr_contention_seconds, 0 },
+ { "lockless_truncate", osc_rd_lockless_truncate,
+ osc_wr_lockless_truncate, 0 },
+ { "import", lprocfs_rd_import, lprocfs_wr_import, 0 },
+ { "state", lprocfs_rd_state, 0, 0 },
+ { "pinger_recov", lprocfs_rd_pinger_recov,
+ lprocfs_wr_pinger_recov, 0, 0 },
+ { "unstable_stats", osc_rd_unstable_stats, 0, 0},
+
+ { 0 }
+};
+
+static struct lprocfs_vars lprocfs_osc_module_vars[] = {
+ { "num_refs", lprocfs_rd_numrefs, 0, 0 },
+ { 0 }
+};
+