path: root/xlators/storage
diff options
authorG√ľnther Deschner <>2017-07-25 11:54:09 +0200
committerJeff Darcy <>2017-10-30 15:52:09 +0000
commitae9b006f23b1408ff548348440369d056becdc1d (patch)
treee19269b5e0476023be1fe9c8f2927191c0ffad02 /xlators/storage
parent62dbefde4bc5c8d9dcfb10f3be5d349db341bb30 (diff)
md-cache: Add additional samba and macOS specific EAs to mdcache
Samba ships with a server implementation of the Apple Create Context extension (AAPL) as negotiated by all modern Apple clients. With the support of the AAPL extension, Apple clients will integrate better with Samba servers. The AAPL implementation itself is contained in the Samba vfs_fruit(8) module which has to be activated in Samba. This vfs_fruit module also provides support for macOS alternate data streams which will be represented in EAs. Two standard data streams ("AFP_AfpInfo" and "AFP_Resource") will be stored in the following EAs: * * For all other data streams, vfs_fruit relies on another Samba vfs module, vfs_streams_xattr(8), to handle these. Although configurable, by default the vfs_streams_xattr module will build EA keynames with a "user.DosStream." prefix. Please note that we have to deal with only one known prefix key, as macOS will happily compose EA keynames like: *$DATA *$DATA *$DATA *$DATA * etc. Caching of vfs_fruit specific EAs is crucial for SMB performance and is controlled with the same configuration option "performance.cache-samba-metadata". Guenther Change-Id: Ia7aa341234dc13e1c0057f3d658b7ef711b5d31e BUG: 1499933 Signed-off-by: Guenther Deschner <>
Diffstat (limited to 'xlators/storage')
0 files changed, 0 insertions, 0 deletions