Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666f6ae
)
b=23289 skip big loop in mds_lov_dump_objids if D_INFO is not set
author
Jian Yu
<jian.yu@oracle.com>
Tue, 2 Nov 2010 06:57:41 +0000
(14:57 +0800)
committer
Vitaly Fertman
<vitaly.fertman@sun.com>
Tue, 2 Nov 2010 12:08:05 +0000
(15:08 +0300)
o=liang
i=andreas.dilger
i=vitaly.fertman
lustre/mds/mds_lov.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_lov.c
b/lustre/mds/mds_lov.c
index
15886e2
..
40d477d
100644
(file)
--- a/
lustre/mds/mds_lov.c
+++ b/
lustre/mds/mds_lov.c
@@
-58,6
+58,9
@@
static void mds_lov_dump_objids(const char *label, struct obd_device *obd)
struct mds_obd *mds = &obd->u.mds;
unsigned int i=0, j;
+ if ((libcfs_debug & D_INFO) == 0)
+ return;
+
CDEBUG(D_INFO, "dump from %s\n", label);
if (mds->mds_lov_page_dirty == NULL) {
CERROR("NULL bitmap!\n");