ceph: gracefully avoid empty crush buckets
This avoids a divide by zero when the input and/or map are
malformed.
Signed-off-by: NSage Weil <sage@newdream.net>
Showing
想要评论请 注册 或 登录
This avoids a divide by zero when the input and/or map are
malformed.
Signed-off-by: NSage Weil <sage@newdream.net>