# Object backend
#osd_objectstore: filestore
+# xattrs. by default, 'filestore xattr use omap' is set to 'true' if
+# 'osd_mkfs_type' is set to 'ext4'; otherwise it isn't set. This can
+# be set to 'true' or 'false' to explicitly override those
+# defaults. Leave it 'null' to use the default for your chosen mkfs
+# type.
+# filestore_xattr_use_omap: null
+
# Performance tuning
#filestore_merge_threshold: 40
#filestore_split_multiple: 8
# Object backend\r
osd_objectstore: filestore\r
\r
+# xattrs. by default, 'filestore xattr use omap' is set to 'true' if\r
+# 'osd_mkfs_type' is set to 'ext4'; otherwise it isn't set. This can\r
+# be set to 'true' or 'false' to explicitly override those\r
+# defaults. Leave it 'null' to use the default for your chosen mkfs\r
+# type.\r
+filestore_xattr_use_omap: null\r
+\r
# Performance tuning\r
filestore_merge_threshold: 40\r
filestore_split_multiple: 8\r
osd op threads = {{ osd_op_threads }}
filestore op threads = {{ filestore_op_threads }}
filestore max sync interval = {{ filestore_max_sync_interval }}
+{% if filestore_xattr_use_omap != None %}
+filestore xattr use omap = {{ filestore_xattr_use_omap }}
+{% elif osd_mkfs_type == "ext4" %}
+filestore xattr use omap = true
+{# else, default is false #}
+{% endif %}
osd max scrubs = {{ osd_max_scrubs }}
{% if ceph_stable_release not in ['argonaut','bobtail','cuttlefish','dumpling','emperor','firefly','giant'] %}
osd scrub begin hour = {{ osd_scrub_begin_hour }}