]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/filestore: add xattr config family to tracked key
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 19 May 2016 07:47:48 +0000 (15:47 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sun, 22 May 2016 06:38:36 +0000 (14:38 +0800)
So we can track these option change dynamically and react properly.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/filestore/FileStore.cc

index eb81bbdcaf136649aaf26d8923a42e6625a856d0..7cd380d420bc93d7725de524133a155330ef9f8c 100644 (file)
@@ -5447,6 +5447,18 @@ out:
 const char** FileStore::get_tracked_conf_keys() const
 {
   static const char* KEYS[] = {
+    "filestore_max_inline_xattr_size",
+    "filestore_max_inline_xattr_size_xfs",
+    "filestore_max_inline_xattr_size_btrfs",
+    "filestore_max_inline_xattr_size_other",
+    "filestore_max_inline_xattrs",
+    "filestore_max_inline_xattrs_xfs",
+    "filestore_max_inline_xattrs_btrfs",
+    "filestore_max_inline_xattrs_other",
+    "filestore_max_xattr_value_size",
+    "filestore_max_xattr_value_size_xfs",
+    "filestore_max_xattr_value_size_btrfs",
+    "filestore_max_xattr_value_size_other",
     "filestore_min_sync_interval",
     "filestore_max_sync_interval",
     "filestore_queue_max_ops",