On Thu, 4 Oct 2018, Maged Mokhtar wrote: > On 04/10/18 12:34, Vasiliy Tolstov wrote: > > Hi! I'm try to understand binary format of ceph crush map. Where i > > can find docs/spec about binary encoding of ceph crushmap? > > > > look in src/crush/CrushCompiler.cc You'll find the grammar for the plaintext form in src/crush/grammar.h, but the encoded format is implemented in CrushWrapper.{h,cc}'s encode() and decode() methods. sage