Re: crushmap binary format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux