이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 20. Extended Attributes


Extended Attributes (XATTRs) are an important aspect in your configuration. Some file systems have limits on the number of bytes stored in XATTRS. 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

Description
Use object map for XATTRS. Set to true for ext4 file systems.
Type
Boolean
Required
No
Default
false

filestore_omap_header_cache_size

Description
Determines the size of the LRU used to cache object omap headers. Larger values use more memory but may reduce lookups on omap. (Experts only).
Type
Integer
Default
1024

filestore_omap_backend

Description
Used to determine which backend is used for the omap. Can be set to "leveldb" or "rocksdb". (Experts only. rocksdb is experimental.)
Type
String
Default
"leveldb"

filestore_debug_omap_check

Description
Debugging check on synchronization. Expensive. For debugging only.
Type
Boolean
Required
No
Default
0

filestore_max_inline_xattr_size

Description
The maximimum size of an XATTR stored in the filesystem (i.e., XFS, btrfs, ext4, etc.) per object. Should not be larger than the filesytem can handle.
Type
Unsigned 32-bit Integer
Required
No
Default
512

filestore_max_inline_xattrs

Description
The maximum number of XATTRs stored in the fileystem per object.
Type
32-bit Integer
Required
No
Default
2

filestore_max_inline_xattr_size_xfs

Description
The maximimum size of an XATTR stored in the filesystem for XFS filesystems per object. Should not be larger than the filesytem can handle.
Type
Unsigned 32-bit Integer
Default
65536

filestore_max_inline_xattr_size_btrfs

Description
The maximimum size of an XATTR stored in the filesystem for btrfs per object. Should not be larger than the filesytem can handle.
Type
Unsigned 32-bit Integer
Default
2048

filestore_max_inline_xattr_size_other

Description
The maximimum size of an XATTR stored in the filesystem for filesystems other than btrfs or XFS (i.e., ext3, ext4, etc.) per object. Should not be larger than the filesystem can handle.
Type
Unsigned 32-bit Integer
Default
512

filestore_max_inline_xattrs

Description
The maximum number of XATTRs stored in the fileystem per object. Overrides fine-grained settings.
Type
Unsigned 32-bit Integer
Default
0

filestore_max_inline_xattrs_xfs

Description
The maximum number of XATTRs stored in an XFS fileystem per object.
Type
Unsigned 32-bit Integer
Default
10

filestore_max_inline_xattrs_btrfs

Description
The maximum number of XATTRs stored in a btrfs fileystem per object.
Type
Unsigned 32-bit Integer
Default
10

filestore_max_inline_xattrs_other

Description
The maximum number of XATTRs stored in filesystems other than btrfs or XFS (i.e., ext3, ext4, etc.) per object.
Type
Unsigned 32-bit Integer
Default
2
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동