Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=22923 increase lst stat timeout
[fs/lustre-release.git]
/
lustre
/
mds
/
lproc_mds.c
diff --git
a/lustre/mds/lproc_mds.c
b/lustre/mds/lproc_mds.c
index
102e790
..
25ca6b6
100644
(file)
--- a/
lustre/mds/lproc_mds.c
+++ b/
lustre/mds/lproc_mds.c
@@
-43,18
+43,6
@@
#include "mds_internal.h"
#ifdef LPROCFS
#include "mds_internal.h"
#ifdef LPROCFS
-static int lprocfs_mds_rd_mntdev(char *page, char **start, off_t off, int count,
- int *eof, void *data)
-{
- struct obd_device* obd = (struct obd_device *)data;
-
- LASSERT(obd != NULL);
- LASSERT(obd->u.obt.obt_vfsmnt->mnt_devname);
- *eof = 1;
-
- return snprintf(page, count, "%s\n",obd->u.obt.obt_vfsmnt->mnt_devname);
-}
-
static int lprocfs_mds_rd_evictostnids(char *page, char **start, off_t off,
int count, int *eof, void *data)
{
static int lprocfs_mds_rd_evictostnids(char *page, char **start, off_t off,
int count, int *eof, void *data)
{
@@
-173,7
+161,7
@@
struct lprocfs_vars lprocfs_mds_obd_vars[] = {
{ "filestotal", lprocfs_rd_filestotal, 0, 0 },
{ "filesfree", lprocfs_rd_filesfree, 0, 0 },
{ "fstype", lprocfs_rd_fstype, 0, 0 },
{ "filestotal", lprocfs_rd_filestotal, 0, 0 },
{ "filesfree", lprocfs_rd_filesfree, 0, 0 },
{ "fstype", lprocfs_rd_fstype, 0, 0 },
- { "mntdev", lprocfs_
mds
_rd_mntdev, 0, 0 },
+ { "mntdev", lprocfs_
obd
_rd_mntdev, 0, 0 },
{ "recovery_status", lprocfs_obd_rd_recovery_status, 0, 0 },
{ "hash_stats", lprocfs_obd_rd_hash, 0, 0 },
{ "evict_client", 0, lprocfs_mds_wr_evict_client, 0 },
{ "recovery_status", lprocfs_obd_rd_recovery_status, 0, 0 },
{ "hash_stats", lprocfs_obd_rd_hash, 0, 0 },
{ "evict_client", 0, lprocfs_mds_wr_evict_client, 0 },