mirror of
https://github.com/ceph/ceph
synced 2024-12-30 15:33:31 +00:00
Merge pull request #12994 from ukernel/wip-18487
mds: add authority check for delay dirfrag split Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
commit
abb2608b6b
@ -400,6 +400,10 @@ void MDBalancer::queue_split(const CDir *dir, bool fast)
|
||||
dout(10) << "drop split on " << frag << " because not in cache" << dendl;
|
||||
return;
|
||||
}
|
||||
if (!split_dir->is_auth()) {
|
||||
dout(10) << "drop split on " << frag << " because non-auth" << dendl;
|
||||
return;
|
||||
}
|
||||
|
||||
// Pass on to MDCache: note that the split might still not
|
||||
// happen if the checks in MDCache::can_fragment fail.
|
||||
|
Loading…
Reference in New Issue
Block a user