-static struct lprocfs_vars lprocfs_lod_obd_vars[] = {
- { "uuid", lprocfs_rd_uuid, 0, 0 },
- { "stripesize", lod_rd_stripesize, lod_wr_stripesize, 0 },
- { "stripeoffset", lod_rd_stripeoffset, lod_wr_stripeoffset, 0 },
- { "stripecount", lod_rd_stripecount, lod_wr_stripecount, 0 },
- { "stripetype", lod_rd_stripetype, lod_wr_stripetype, 0 },
- { "numobd", lod_rd_numobd, 0, 0 },
- { "activeobd", lod_rd_activeobd, 0, 0 },
- { "desc_uuid", lod_rd_desc_uuid, 0, 0 },
- { "qos_prio_free",lod_rd_qos_priofree, lod_wr_qos_priofree, 0 },
- { "qos_threshold_rr", lod_rd_qos_thresholdrr, lod_wr_qos_thresholdrr, 0 },
- { "qos_maxage", lod_rd_qos_maxage, lod_wr_qos_maxage, 0 },
- { 0 }
-};
-
-static struct lprocfs_vars lprocfs_lod_osd_vars[] = {
- { "blocksize", lprocfs_osd_rd_blksize, 0, 0 },
- { "kbytestotal", lprocfs_osd_rd_kbytestotal, 0, 0 },
- { "kbytesfree", lprocfs_osd_rd_kbytesfree, 0, 0 },
- { "kbytesavail", lprocfs_osd_rd_kbytesavail, 0, 0 },
- { "filestotal", lprocfs_osd_rd_filestotal, 0, 0 },
- { "filesfree", lprocfs_osd_rd_filesfree, 0, 0 },
- { 0 }
-};
+/**
+ * Show whether special failout mode for testing is enabled or not.
+ *
+ * \param[in] m seq file
+ * \param[in] v unused for single entry
+ *
+ * \retval 0 on success
+ * \retval negative error code if failed
+ */
+static ssize_t lmv_failout_show(struct kobject *kobj, struct attribute *attr,
+ char *buf)
+{
+ struct dt_device *dt = container_of(kobj, struct dt_device,
+ dd_kobj);
+ struct lod_device *lod = dt2lod_dev(dt);