Current ceph implement backfill mechanism, let say, pg A primary is on the new osd, but it will not serve client io during backfilling, bc there is a replica act as temp primary, so it can recover fast, after backfill finished, the osd's role will turn to primary, and accept client io. 2017-03-30 17:47 GMT+08:00 Vincent Godin <vince.mlist@xxxxxxxxx>: > When you replace a failed osd, it has to recover all of its pgs and so > it is pretty busy. Is it possible to tell this OSD to not become > primary for any of its already synchronized pgs till every pgs (of the > OSD) have recovered ? It should accelerate the rebuild process because > this OSD won't have to serve client's read requests but just sync the > writes request from the OSDs owning the primary pgs and recover. Is > there something wrong with this idea ? > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Thank you! HuangJun -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html