vfs_set_filelen function problem on FAT file systems.

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jun 11 08:23:02 GMT 2008

On Wed, Jun 11, 2008 at 01:42:27PM +0530, Rupesh Kumar wrote:
> What are your views on reporting vfs_set_filelen as success without
> truncating the file to the size requested. Does this have any side effects.

Yes, it does. We can not report the correct file size that
Windows clients expect anyore. This will break a lot of

There is currently work underway to make calls to ftruncate
and friends async, so that at least clients will not
reconnect if that call takes more than 30 seconds. Will take
a while thought before this hits a release.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080611/dc88141f/attachment.bin

More information about the samba-technical mailing list