FILE_SUPPORTS_SPARSE_FILES not set

Jeremy Allison jra at samba.org
Thu Aug 14 13:51:35 MDT 2014


On Mon, Aug 11, 2014 at 01:17:12PM -0500, Steve French wrote:
> Why is darwin the only one that supports setting FILE_SUPPORTS_SPARSE_FILES
> in source3/smbd/statvfs.c?
> 
> Yet Samba 4.1 supports setting fsctl set_sparse (and it seems to
> work), and of course ext4 and multiple local linux fs support sparse
> files.

That's an ommision, from before we implemented the fsp->is_sparse
flag in the file handle struct.

Log a bug and I'll update it for Linux/BSD.

Jeremy.


More information about the samba-technical mailing list