}
LPROC_SEQ_FOPS(ofd_lfsck_verify_pfid);
+static int ofd_site_stats_seq_show(struct seq_file *m, void *data)
+{
+ struct obd_device *obd = m->private;
+
+ return lu_site_stats_seq_print(obd->obd_lu_dev->ld_site, m);
+}
+LPROC_SEQ_FOPS_RO(ofd_site_stats);
+
LPROC_SEQ_FOPS_RO_TYPE(ofd, uuid);
LPROC_SEQ_FOPS_RO_TYPE(ofd, blksize);
LPROC_SEQ_FOPS_RO_TYPE(ofd, kbytestotal);
.fops = &ofd_lfsck_layout_fops },
{ .name = "lfsck_verify_pfid",
.fops = &ofd_lfsck_verify_pfid_fops },
+ { .name = "site_stats",
+ .fops = &ofd_site_stats_fops },
{ NULL }
};