-struct lprocfs_vars lprocfs_mds_obd_vars[] = {
- { "uuid", lprocfs_rd_uuid, 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 },
- { "fstype", lprocfs_rd_fstype, 0, 0 },
- { "filestotal", lprocfs_rd_filestotal, 0, 0 },
- { "filesfree", lprocfs_rd_filesfree, 0, 0 },
- { "filesopen", lprocfs_rd_filesopen, 0, 0 },
- { "mntdev", lprocfs_mds_rd_mntdev, 0, 0 },
- { "last_fid", lprocfs_rd_last_fid, 0, 0 },
- { "group", lprocfs_rd_group, 0, 0 },
- { "recovery_status", lprocfs_obd_rd_recovery_status, 0, 0 },
- { "evict_client", 0, lprocfs_mds_wr_evict_client, 0 },
- { "config_update", 0, lprocfs_mds_wr_config_update, 0 },
- { "num_exports", lprocfs_rd_num_exports, 0, 0 },
- { 0 }
-};
-
-/*
- * LSD proc entry handlers
- */
-static int lprocfs_wr_lsd_downcall(struct file *file, const char *buffer,
- unsigned long count, void *data)
-{
- struct upcall_cache *cache = __mds_get_global_lsd_cache();
- struct lsd_downcall_args param;
- gid_t gids_local[NGROUPS_SMALL];
- gid_t *gids = NULL;
-
- if (count != sizeof(param)) {
- CERROR("invalid data size %lu\n", count);
- return count;
- }
- if (copy_from_user(¶m, buffer, count)) {
- CERROR("broken downcall\n");
- return count;