From: Loic Dachary Date: Tue, 2 Apr 2013 13:54:57 +0000 (+0200) Subject: explain what an inline xattr is and how it relates to omap X-Git-Tag: v0.62~108^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F184%2Fhead;p=ceph.git explain what an inline xattr is and how it relates to omap The logic of the configuration flags related to xattr is clarified to define what an inline xattr is and when storing in the object map is preferred. http://tracker.ceph.com/issues/4617 refs #4617 Signed-off-by: Loic Dachary --- diff --git a/doc/rados/configuration/filestore-config-ref.rst b/doc/rados/configuration/filestore-config-ref.rst index 80aed8e81a4e..64eaaec13005 100644 --- a/doc/rados/configuration/filestore-config-ref.rst +++ b/doc/rados/configuration/filestore-config-ref.rst @@ -21,6 +21,12 @@ Additionally, in some cases, the filesystem may not be as fast as an alternative method of storing XATTRs. The following settings may help improve performance by using a method of storing XATTRs that is extrinsic to the underlying filesystem. +Ceph XATTRs are stored as ``inline xattr``, using the XATTRs provided +by the underlying file system, if it does not impose a size limit. If +there is a size limit ( 4KB total on ext4, for instance ), some Ceph +XATTRs will be stored in an key/value database ( aka ``omap`` ) when +the ``filestore max inline xattr size`` or ``filestore max inline +xattrs`` threshold are reached. ``filestore xattr use omap``