return 0;
}
-int rd_numobjects(char* page, char **start, off_t off, int count, int *eof,
+int rd_filestotal(char* page, char **start, off_t off, int count, int *eof,
void *data)
{
return 0;
}
-int rd_objfree(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_filesfree(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
return 0;
}
-int rd_objgroups(char* page, char **start, off_t off, int count, int *eof,
+int rd_filegroups(char* page, char **start, off_t off, int count, int *eof,
void *data)
{
return 0;
{"status/stripetype", rd_stripetype, 0, 0},
{"status/numobd",rd_numobd, 0, 0},
{"status/activeobd", rd_activeobd, 0, 0},
- {"status/objects", rd_numobjects, 0, 0},
- {"status/objectsfree", rd_objfree, 0, 0},
- {"status/objectgroups", rd_objgroups, 0, 0},
+ {"status/filestotal", rd_filestotal, 0, 0},
+ {"status/filesfree", rd_filesfree, 0, 0},
+ {"status/filegroups", rd_filegroups, 0, 0},
{"status/blocksize", rd_blksize, 0, 0},
{"status/kbytestotal", rd_kbtotal, 0, 0},
{"status/kbytesfree", rd_kbfree, 0, 0},
}
-int rd_files(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_filestotal(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
return 0;
}
{"status/blocksize",rd_blksize, 0, 0},
{"status/kbytestotal",rd_kbtotal, 0, 0},
{"status/kbytesfree", rd_kbfree, 0, 0},
- {"status/files", rd_files, 0, 0},
+ {"status/filestotal", rd_filestotal, 0, 0},
{"status/filesfree", rd_filesfree, 0, 0},
{"status/filegroups", rd_filegroups, 0, 0},
{"status/mds_server_uuid", rd_server_uuid, 0, 0},
}
-int rd_files(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_filestotal(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
struct obd_device* temp = (struct obd_device*)data;
struct mds_obd *mds = &temp->u.mds;
return len;
}
-int rd_filesets(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_filegroups(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
return 0;
}
{"status/kbytestotal",rd_kbtotal, 0, 0},
{"status/kbytesfree", rd_kbfree, 0, 0},
{"status/fstype", rd_fstype, 0, 0},
- {"status/files", rd_files, 0, 0},
+ {"status/filestotal", rd_filestotal, 0, 0},
{"status/filesfree", rd_filesfree, 0, 0},
- {"status/filesets", rd_filesets, 0, 0},
+ {"status/filegroups", rd_filegroups, 0, 0},
{0}
};
int rd_numrefs(char* page, char **start, off_t off, int count, int *eof,
len += snprintf(page, count, "%s\n", temp->u.filter.fo_fstype);
return len;
}
-int rd_files(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_filestotal(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
struct obd_device* temp = (struct obd_device*)data;
struct statfs mystats;
return len;
}
+int rd_filegroups(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
+{
+ return 0;
+}
struct lprocfs_vars status_var_nm_1[] = {
{"status/uuid", rd_uuid, 0, 0},
{"status/blocksize",rd_blksize, 0, 0},
{"status/kbytestotal",rd_kbtotal, 0, 0},
{"status/kbytesfree", rd_kbfree, 0, 0},
- {"status/files", rd_files, 0, 0},
+ {"status/filestotal", rd_filestotal, 0, 0},
{"status/filesfree", rd_filesfree, 0, 0},
+ {"status/filegroups", rd_filegroups, 0, 0},
{"status/fstype", rd_fstype, 0, 0},
{0}
};
{
return 0;
}
-int rd_blktotal(char* page, char **start, off_t off, int count, int *eof,
- void *data)
-{
- return 0;
-}
-
-int rd_blkfree(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_kbytestotal(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
return 0;
}
-int rd_kbfree(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_kbytesfree(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
return 0;
}
-int rd_numobjects(char* page, char **start, off_t off, int count, int *eof,
+int rd_filestotal(char* page, char **start, off_t off, int count, int *eof,
void *data)
{
return 0;
}
-int rd_objfree(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_filesfree(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
return 0;
}
-int rd_objgroups(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_filegroups(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
return 0;
}
struct lprocfs_vars status_var_nm_1[] = {
{"status/uuid", rd_uuid, 0, 0},
- {"status/f_blocksize",rd_blksize, 0, 0},
- {"status/f_blockstotal",rd_blktotal, 0, 0},
- {"status/f_blocksfree",rd_blkfree, 0, 0},
- {"status/f_kbytesfree", rd_kbfree, 0, 0},
- {"status/f_objects", rd_numobjects, 0, 0},
- {"status/f_objectsfree", rd_objfree, 0, 0},
- {"status/f_objectgroups", rd_objgroups, 0, 0},
+ {"status/blocksize",rd_blksize, 0, 0},
+ {"status/kbytestotal", rd_kbytestotal, 0, 0},
+ {"status/kbytesfree", rd_kbytesfree, 0, 0},
+ {"status/filestotal", rd_filestotal, 0, 0},
+ {"status/filesfree", rd_filesfree, 0, 0},
+ {"status/filegroups", rd_filegroups, 0, 0},
{"status/ost_server_uuid", rd_server_uuid, 0, 0},
{"status/ost_conn_uuid", rd_conn_uuid, 0, 0},
{0}
return len;
}
-int rd_files(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_filestotal(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
struct obd_device* temp = (struct obd_device*)data;
struct ost_obd *ost = &temp->u.ost;
}
-int rd_objgroups(char* page, char **start, off_t off, int count, int *eof,
- void *data)
+int rd_filegroups(char* page, char **start, off_t off, int count, int *eof,
+ void *data)
{
return 0;
}
{"status/blocksize",rd_blksize, 0, 0},
{"status/kbytesfree", rd_kbfree, 0, 0},
{"status/kbytestotal", rd_kbtotal, 0, 0},
- {"status/files", rd_files, 0, 0},
+ {"status/filestotal", rd_filestotal, 0, 0},
{"status/filesfree", rd_filesfree, 0, 0},
- {"status/objectgroups", rd_objgroups, 0, 0},
+ {"status/filegroups", rd_filegroups, 0, 0},
{0}
};