[Bugs] [Bug 1499933] New: md-cache: Add additional samba and macOS specific EAs to mdcache

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 9 15:15:48 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1499933

            Bug ID: 1499933
           Summary: md-cache: Add additional samba and macOS specific EAs
                    to mdcache
           Product: GlusterFS
           Version: mainline
         Component: md-cache
          Assignee: bugs at gluster.org
          Reporter: gdeschner at redhat.com
                CC: bugs at gluster.org



Description of problem:

For performance reason Gluster needs to cache additional macOS specific EAs
which are used by the Samba vfs_fruit module.

>From the commit message:

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:

* user.org.netatalk.Metadata
* user.org.netatalk.ResourceFork

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:

* user.DosStream.com.apple.diskimages.fsck:$DATA
* user.DosStream.com.apple.diskimages.recentcksum:$DATA
* user.DosStream.com.apple.metadata:kMDItemWhereFroms:$DATA
* user.DosStream.com.apple.quarantine:$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".



Version-Release number of selected component (if applicable):
all

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list