mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
mds: make MDCache::show_subtree less verbose when thrash exports is enabled
Subtree map can be very large when thrash exports is enabled. Printing subtree map causes size log to increase quickly. Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
a4e5ad2ff4
commit
6ae33aace1
@ -11583,6 +11583,9 @@ void MDCache::force_readonly()
|
||||
|
||||
void MDCache::show_subtrees(int dbl)
|
||||
{
|
||||
if (g_conf->mds_thrash_exports)
|
||||
dbl += 15;
|
||||
|
||||
//dout(10) << "show_subtrees" << dendl;
|
||||
|
||||
if (!g_conf->subsys.should_gather(ceph_subsys_mds, dbl))
|
||||
|
Loading…
Reference in New Issue
Block a user