summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-09-29 08:03:11 +0800
committerYan, Zheng <zheng.z.yan@intel.com>2013-10-05 11:31:12 +0800
commitf82aefafd4c9db3bd55730b1cdfcffd7fab78e3e (patch)
treec072cd98c5ab9b23f94fd958756d8fd137252139
parent488ddad7fe4fc8de6e94552f3a1b21c23c565b35 (diff)
downloadceph-f82aefafd4c9db3bd55730b1cdfcffd7fab78e3e.tar.gz
mds: reduce verbosity of dir fragment logging
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
-rw-r--r--src/mds/MDBalancer.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mds/MDBalancer.cc b/src/mds/MDBalancer.cc
index 8d7f91d24a4..6a404c46974 100644
--- a/src/mds/MDBalancer.cc
+++ b/src/mds/MDBalancer.cc
@@ -351,7 +351,7 @@ void MDBalancer::do_fragmenting()
}
if (!split_queue.empty()) {
- dout(0) << "do_fragmenting " << split_queue.size() << " dirs marked for possible splitting" << dendl;
+ dout(10) << "do_fragmenting " << split_queue.size() << " dirs marked for possible splitting" << dendl;
set<dirfrag_t> q;
q.swap(split_queue);
@@ -364,13 +364,13 @@ void MDBalancer::do_fragmenting()
!dir->is_auth())
continue;
- dout(0) << "do_fragmenting splitting " << *dir << dendl;
+ dout(10) << "do_fragmenting splitting " << *dir << dendl;
mds->mdcache->split_dir(dir, g_conf->mds_bal_split_bits);
}
}
if (!merge_queue.empty()) {
- dout(0) << "do_fragmenting " << merge_queue.size() << " dirs marked for possible merging" << dendl;
+ dout(10) << "do_fragmenting " << merge_queue.size() << " dirs marked for possible merging" << dendl;
set<dirfrag_t> q;
q.swap(merge_queue);
@@ -384,7 +384,7 @@ void MDBalancer::do_fragmenting()
dir->get_frag() == frag_t()) // ok who's the joker?
continue;
- dout(0) << "do_fragmenting merging " << *dir << dendl;
+ dout(10) << "do_fragmenting merging " << *dir << dendl;
CInode *diri = dir->get_inode();
@@ -1007,7 +1007,7 @@ void MDBalancer::hit_dir(utime_t now, CDir *dir, int type, int who, double amoun
(v > g_conf->mds_bal_split_rd && type == META_POP_IRD) ||
(v > g_conf->mds_bal_split_wr && type == META_POP_IWR)) &&
split_queue.count(dir->dirfrag()) == 0) {
- dout(1) << "hit_dir " << type << " pop is " << v << ", putting in split_queue: " << *dir << dendl;
+ dout(10) << "hit_dir " << type << " pop is " << v << ", putting in split_queue: " << *dir << dendl;
split_queue.insert(dir->dirfrag());
}
@@ -1015,7 +1015,7 @@ void MDBalancer::hit_dir(utime_t now, CDir *dir, int type, int who, double amoun
if (dir->get_frag() != frag_t() &&
(dir->get_num_head_items() < (unsigned)g_conf->mds_bal_merge_size) &&
merge_queue.count(dir->dirfrag()) == 0) {
- dout(1) << "hit_dir " << type << " pop is " << v << ", putting in merge_queue: " << *dir << dendl;
+ dout(10) << "hit_dir " << type << " pop is " << v << ", putting in merge_queue: " << *dir << dendl;
merge_queue.insert(dir->dirfrag());
}
}