-LPROC_SEQ_FOPS_RO_TYPE(osp, dt_blksize);
-LPROC_SEQ_FOPS_RO_TYPE(osp, dt_kbytestotal);
-LPROC_SEQ_FOPS_RO_TYPE(osp, dt_kbytesfree);
-LPROC_SEQ_FOPS_RO_TYPE(osp, dt_kbytesavail);
-LPROC_SEQ_FOPS_RO_TYPE(osp, dt_filestotal);
-LPROC_SEQ_FOPS_RO_TYPE(osp, dt_filesfree);
-
-static struct lprocfs_vars lprocfs_osp_osd_vars[] = {
- { .name = "blocksize",
- .fops = &osp_dt_blksize_fops },
- { .name = "kbytestotal",
- .fops = &osp_dt_kbytestotal_fops },
- { .name = "kbytesfree",
- .fops = &osp_dt_kbytesfree_fops },
- { .name = "kbytesavail",
- .fops = &osp_dt_kbytesavail_fops },
- { .name = "filestotal",
- .fops = &osp_dt_filestotal_fops },
- { .name = "filesfree",
- .fops = &osp_dt_filesfree_fops },
- { NULL }
+static struct attribute *osp_obd_attrs[] = {
+ /* First two for compatiability reasons */
+ &lustre_attr_lfsck_max_rpcs_in_flight.attr,
+ &lustre_attr_destroys_in_flight.attr,
+ &lustre_attr_active.attr,
+ &lustre_attr_max_rpcs_in_flight.attr,
+ &lustre_attr_max_rpcs_in_progress.attr,
+ &lustre_attr_maxage.attr,
+ &lustre_attr_ost_conn_uuid.attr,
+ &lustre_attr_ping.attr,
+ &lustre_attr_prealloc_status.attr,
+ &lustre_attr_prealloc_next_id.attr,
+ &lustre_attr_prealloc_last_id.attr,
+ &lustre_attr_prealloc_next_seq.attr,
+ &lustre_attr_prealloc_last_seq.attr,
+ &lustre_attr_prealloc_reserved.attr,
+ &lustre_attr_sync_in_flight.attr,
+ &lustre_attr_sync_in_progress.attr,
+ &lustre_attr_sync_changes.attr,
+ &lustre_attr_force_sync.attr,
+ &lustre_attr_old_sync_processed.attr,
+ &lustre_attr_create_count.attr,
+ &lustre_attr_max_create_count.attr,
+ NULL,