-struct lprocfs_vars lprocfs_lov_obd_vars[] = {
- { "uuid", lprocfs_rd_uuid, 0, 0 },
- { "stripesize", lov_rd_stripesize, lov_wr_stripesize, 0 },
- { "stripeoffset", lov_rd_stripeoffset, lov_wr_stripeoffset, 0 },
- { "stripecount", lov_rd_stripecount, lov_wr_stripecount, 0 },
- { "stripetype", lov_rd_stripetype, lov_wr_stripetype, 0 },
- { "numobd", lov_rd_numobd, 0, 0 },
- { "activeobd", lov_rd_activeobd, 0, 0 },
- { "filestotal", lprocfs_rd_filestotal, 0, 0 },
- { "filesfree", lprocfs_rd_filesfree, 0, 0 },
- /*{ "filegroups", lprocfs_rd_filegroups, 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 },
- { "desc_uuid", lov_rd_desc_uuid, 0, 0 },
- { "qos_prio_free",lov_rd_qos_priofree, lov_wr_qos_priofree, 0 },
- { "qos_threshold_rr", lov_rd_qos_thresholdrr, lov_wr_qos_thresholdrr, 0 },
- { "qos_maxage", lov_rd_qos_maxage, lov_wr_qos_maxage, 0 },
- { 0 }
+LPROC_SEQ_FOPS_RO_TYPE(lov, uuid);
+LPROC_SEQ_FOPS_RO_TYPE(lov, filestotal);
+LPROC_SEQ_FOPS_RO_TYPE(lov, filesfree);
+LPROC_SEQ_FOPS_RO_TYPE(lov, blksize);
+LPROC_SEQ_FOPS_RO_TYPE(lov, kbytestotal);
+LPROC_SEQ_FOPS_RO_TYPE(lov, kbytesfree);
+LPROC_SEQ_FOPS_RO_TYPE(lov, kbytesavail);
+
+struct lprocfs_seq_vars lprocfs_lov_obd_vars[] = {
+ { .name = "uuid",
+ .fops = &lov_uuid_fops },
+ { .name = "stripesize",
+ .fops = &lov_stripesize_fops },
+ { .name = "stripeoffset",
+ .fops = &lov_stripeoffset_fops },
+ { .name = "stripecount",
+ .fops = &lov_stripecount_fops },
+ { .name = "stripetype",
+ .fops = &lov_stripetype_fops },
+ { .name = "numobd",
+ .fops = &lov_numobd_fops },
+ { .name = "activeobd",
+ .fops = &lov_activeobd_fops },
+ { .name = "filestotal",
+ .fops = &lov_filestotal_fops },
+ { .name = "filesfree",
+ .fops = &lov_filesfree_fops },
+ { .name = "blocksize",
+ .fops = &lov_blksize_fops },
+ { .name = "kbytestotal",
+ .fops = &lov_kbytestotal_fops },
+ { .name = "kbytesfree",
+ .fops = &lov_kbytesfree_fops },
+ { .name = "kbytesavail",
+ .fops = &lov_kbytesavail_fops },
+ { .name = "desc_uuid",
+ .fops = &lov_desc_uuid_fops },
+ { 0 }