Streams support in Linux

Steve French smfrench at
Tue Aug 28 20:51:23 UTC 2018

On Tue, Aug 28, 2018 at 3:47 PM Jeremy Allison <jra at> wrote:
> On Tue, Aug 28, 2018 at 03:43:45PM -0500, Steve French wrote:
> >
> > In theory I could construct a struct fd by setting up a struct file on the fly
> > (see "alloc_empty_file" for example) and the few dozen fields in it,
> > but it would be a lot easier to return them as xattrs with a reserved
> > prefix (e.g. "streams")
> > since most of these are small (some examples) and could have been
> > stored in xattrs
> > if the Apple or Windows developers had wanted to
> >
> > "streams.ZoneIdentifier" (for Internet Explorer download security info)
> > "streams.favicon"  (for Internet explorer icons)
> > "streams.AFP_AfpInfo" and "streams.AFP_Resource" (for two common Mac streams)
> > "streams.XPRESS" (for compression)
> Hmmm. Yeah, I guess this works if you can ensure
> the prefix is reserved.

And it gives Ronnie another chance to show off the performance benefits of
his good work on compounding (open/read/close in this case)



More information about the samba-technical mailing list