[pbs-devel] [RFC v2 pxar 04/36] decoder: add optional payload input stream

Christian Ebner c.ebner at proxmox.com
Mon Mar 11 16:51:14 CET 2024


> On 11.03.2024 16:27 CET Fabian Grünbichler <f.gruenbichler at proxmox.com> wrote:
> 
> > Good, this will come in handy as Dietmar also suggested to add a header for
> > all the payloads stored in the separated payload archive. I plan on using the
> > existing PXAR_PAYLOAD header for this, also encoding the payload size. I will
> > therefore add a check for the header here and compare the sizes as found in
> > the payload input and metadata archives.
> 
> out of intereset - what do we need the header for? or is it just to make
> the resulting payload archive more debuggable?
> 

For consistency checks, so one can verify in the decoder that the payload
reference offset correctly points to the start of a file payload.




More information about the pbs-devel mailing list