FILE_SUPPORTS_SPARSE_FILES not set

Jeremy Allison jra at samba.org
Thu Aug 14 14:37:16 MDT 2014


On Thu, Aug 14, 2014 at 12:51:35PM -0700, Jeremy Allison wrote:
> 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.

I think this is what you want. Can I get a second
Team reviewer for master ?

Jeremy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-On-Linux-or-BSD-there-s-no-flag-to-say-if-the-filesy.patch
Type: text/x-diff
Size: 1424 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140814/717e2324/attachment.patch>


More information about the samba-technical mailing list