SMB_ROUNDUP

Jeremy Allison jra at samba.org
Mon Apr 8 23:33:04 GMT 2002


On Mon, Apr 08, 2002 at 07:12:57PM -0700, Shirish Kalele wrote:
> Hi,
> 
> Is there a specific need to roundup the reported allocation size of a file
> using SMB_ROUNDUP or SMB_ROUNDUP_ALLOCATION?
> 
> Samba seems to report the allocation size inconsistently: it uses a roundup
> in some places and doesn't use it in other. This is confusing
> offline-caching clients.
> 
> Can we do away with the roundups?

No, don't do that. I'm afraid they're essential to the correct
functioning of some of the trans2 calls (in that some copying
ops fail is we get it wrong). Can you tell me where
the inconsistencies are and I can fix them ?

Jeremy.




More information about the samba-technical mailing list