support for FSCTL_QUERY_ALLOCATED_RANGES.

Jeremy Allison jra at samba.org
Tue Apr 6 10:37:42 MDT 2010


On Tue, Apr 06, 2010 at 05:02:20PM +0200, Björn Jacke wrote:
> On 2010-04-05 at 19:35 -0700 Jeremy Allison sent off:
> > On Mon, Apr 05, 2010 at 08:30:03PM -0400, Ira Cooper wrote:
> > > It worked.
> > > 
> > > I've pulled it into my git over my version.  So... seems reasonable to me.
> > 
> > Pushed into master. It'll be in 3.6.0. If you need it earlier
> > than that (in the 3.5.x stream) log a bug in bugzilla.samba.org.
> 
> Jeremy, do you think it's much work to extend the patch to use fiemap on Linux
> to get the real allocation information of the file?  With strict allocate
> enabled we would only need to save the sparse flag along with the the dos
> attributes in EAs to get pretty well sparse file support.

So long as it's abstracted inside a VFS call, so it isn't Linux
specific, that's ok by me.

Jeremy.


More information about the samba-technical mailing list