From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hr2.samba.org ([144.76.82.148]:60204 "EHLO hr2.samba.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727098AbeH2BMt (ORCPT ); Tue, 28 Aug 2018 21:12:49 -0400 To: Jeremy Allison , Steve French Cc: Theodore Tso , samba-technical , Matthew Wilcox , ebiggers@kernel.org, Al Viro , linux-fsdevel , =?UTF-8?Q?Ralph_B=c3=b6hme?= References: <20180827170531.GC217636@jra3> <20180827182143.GB24544@bombadil.infradead.org> <20180828004523.GB2304@thunk.org> <20180828181245.GE41380@jra3> <20180828184057.GB97108@jra3> <20180828194742.GD97108@jra3> <20180828204711.GH97108@jra3> From: Stefan Metzmacher Subject: Re: Streams support in Linux Message-ID: <1167f7cb-e4d7-0d6d-5025-1903fb3b1888@samba.org> Date: Tue, 28 Aug 2018 23:19:09 +0200 MIME-Version: 1.0 In-Reply-To: <20180828204711.GH97108@jra3> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QLOuXouglGpqHDWFH3WVueTVLWA8DlGhR" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QLOuXouglGpqHDWFH3WVueTVLWA8DlGhR Content-Type: multipart/mixed; boundary="s3u1K0mTmy8RfWWWWA4zJJM3PDKtDLsHC"; protected-headers="v1" From: Stefan Metzmacher To: Jeremy Allison , Steve French Cc: Theodore Tso , samba-technical , Matthew Wilcox , ebiggers@kernel.org, Al Viro , linux-fsdevel , =?UTF-8?Q?Ralph_B=c3=b6hme?= Message-ID: <1167f7cb-e4d7-0d6d-5025-1903fb3b1888@samba.org> Subject: Re: Streams support in Linux References: <20180827170531.GC217636@jra3> <20180827182143.GB24544@bombadil.infradead.org> <20180828004523.GB2304@thunk.org> <20180828181245.GE41380@jra3> <20180828184057.GB97108@jra3> <20180828194742.GD97108@jra3> <20180828204711.GH97108@jra3> In-Reply-To: <20180828204711.GH97108@jra3> --s3u1K0mTmy8RfWWWWA4zJJM3PDKtDLsHC Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 28.08.2018 um 22:47 schrieb Jeremy Allison via samba-technical: > 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 s= treams) >> "streams.XPRESS" (for compression) >=20 > Hmmm. Yeah, I guess this works if you can ensure > the prefix is reserved. Remember some of the AFP stream can get very large, Ralph should have more details about it. Also from reading [MS-FSA] I have the impression that opens on stream would also support oplocks/leases as well as byte range locks. metze --s3u1K0mTmy8RfWWWWA4zJJM3PDKtDLsHC-- --QLOuXouglGpqHDWFH3WVueTVLWA8DlGhR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfFbGo3YXpfgryIw9DbX1YShpvVYFAluFvE0ACgkQDbX1YShp vVYf7w/+JLOuFh/NIYEHOWjeRrWV63bcw0pTxptcBwQgIOS84N4GJXnRIlW03qie jwbDSuPzzlia2cYYFtMmFQ8e+ernGN9QcF1l39TaKVqZ7GcycRvme9XeGeZyXh+s xR/rFFQzROVwcRr4Vt5ApPmdIzh/ox9S+BadK5F33jNLvIrVCrdm3WSylXC2L8QC zxfipfz26tr4osb7s6HUi+WPPJvTkrEGJcGyBcbgwyamZfREMhAzQsTOew0Ow2mI j+VmIDB0tRok+BQVxvUjRvbkh5966zJf7a0ofS8TMtSMJfuiEHxuarlBXaihuNmv x2z5/ZE/fOwJ9EO9YsP9PwnjUUhv6itlOCAy7C8XdrPIrM0RojF/ET0cCxgAVLme VD4oYSAxFKLhnfeMp5JKmjI1Gy29TP2oVT1r+euPQOIegU0Bpu1uyknheoEZcwxj WK6a4ZDxqarCr+Fw1ANhiChrGf557h2akJv2zOif2tX96t4WSoKVuLK3lh4ruB9T R7xA9CkPyLANSu8DnRT+x4j13P9eQnhut6+d9ALmsTssPhs0f3CvB7c5uT+JSt1M 1ypMgOavqrTyD7pDRJnxTatI2X7TczjxNNXtG2nacaeYHgsFWKI1j8nPUOM97B+x LzM4mNI7aryQFzgZS22GOF40kDs/CLw5HpZRF5mPFAcuvt/zNtA= =xsXM -----END PGP SIGNATURE----- --QLOuXouglGpqHDWFH3WVueTVLWA8DlGhR--