[pbs-devel] [PATCH proxmox-backup v2 3/4] datastore: data blob: increase compression throughput

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Aug 2 13:59:58 CEST 2024


On 02/08/2024 12:47, Dominik Csapak wrote:
> sadly AFAICS this is currently not possible
> 
> i tried this and instead of error 70 i got:
> 
> '18446744073709551546'
> 
> reading your [2] link, it also states:
> 
>> *  note 1 : this API shall be used with static linking only.
>> *           dynamic linking is not yet officially supported.

That just sounds wrong... but oh well.
 
> so i don't thinks this works, unless we'd link statically?
>

I mean, the library can obviously translated the error to some meaningful
string. I mean that could be due to relying on internal compiled stuff that
we cannot use, but while I think that is a solid guess, I'd still evaluate
how it actually works to be sure. 
 
> so how do we want go forward with this?


If, after checking, this really seems to be unfeasible then lets go for
the string comparison with a TODO/FIXME comment point out why it's done
that way and that one might want to reevaluate if still required (in the
future)




More information about the pbs-devel mailing list