Add dirfrag split and merge to scrub process.
Fixes: https://tracker.ceph.com/issues/57481
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
mds->mdlog->flush();
}
+void MDCache::maybe_fragment(CDir *dir) {
+ mds->balancer->maybe_fragment(dir, false);
+}
// ==============================================================
// debug crap
bool is_readonly() { return readonly; }
void force_readonly();
+ void maybe_fragment(CDir* dir);
+
static file_layout_t gen_default_file_layout(const MDSMap &mdsmap);
static file_layout_t gen_default_log_layout(const MDSMap &mdsmap);
<< " log and `damage ls` output for details";
}
+ mdcache->maybe_fragment(dir);
dir->scrub_finished();
dir->auth_unpin(this);