]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/filestore: make handle_conf_change() can handle xattr_value_* changing too
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 19 May 2016 07:45:15 +0000 (15:45 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sun, 22 May 2016 06:38:36 +0000 (14:38 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/filestore/FileStore.cc

index 7939dfc195f911ee9055241cc3f3203d67f9d33d..eb81bbdcaf136649aaf26d8923a42e6625a856d0 100644 (file)
@@ -5480,7 +5480,11 @@ void FileStore::handle_conf_change(const struct md_config_t *conf,
       changed.count("filestore_max_inline_xattrs") ||
       changed.count("filestore_max_inline_xattrs_xfs") ||
       changed.count("filestore_max_inline_xattrs_btrfs") ||
-      changed.count("filestore_max_inline_xattrs_other")) {
+      changed.count("filestore_max_inline_xattrs_other") ||
+      changed.count("filestore_max_xattr_value_size") ||
+      changed.count("filestore_max_xattr_value_size_xfs") ||
+      changed.count("filestore_max_xattr_value_size_btrfs") ||
+      changed.count("filestore_max_xattr_value_size_other")) {
     Mutex::Locker l(lock);
     set_xattr_limits_via_conf();
   }