messages.tdb growing to 4GB (4294971392 bytes)

Marcel Ritter Marcel.Ritter at rrze.uni-erlangen.de
Thu Jun 4 16:11:12 GMT 2009


Volker Lendecke wrote:
> Yep, 4GB is a known limit for tdb, it uses 32 bit pointers
> internally. Tridge right now is looking at expanding that.
>   
I've spent some time to make tdb 64-bit capable. First tests look
quite promising - but only on x86_64.

On i386 machines tdb still fails on files > 4GB.

I guess I'm missing some 32-bit / 64-bit conversion magic
at some point.

Maybe someone with more knowledge about tdb can have a look
at the patch and use it to get a clean 64-bit capable tdb.
In the meantime I'll keep trying :-)

Bye,
   Marcel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba4-tdb.patch
Type: text/x-patch
Size: 20417 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090604/5155cfa9/samba4-tdb.bin


More information about the samba-technical mailing list