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=23289 skip big loop in mds_lov_dump_objids if D_INFO is not set
[fs/lustre-release.git]
/
lustre
/
mds
/
mds_lov.c
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");