From: xie xingguo Date: Thu, 19 May 2016 07:45:15 +0000 (+0800) Subject: os/filestore: make handle_conf_change() can handle xattr_value_* changing too X-Git-Tag: v11.0.0~409^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c6567d7e2788d45ec4aa467e9f1322e36964b000;p=ceph.git os/filestore: make handle_conf_change() can handle xattr_value_* changing too Signed-off-by: xie xingguo --- diff --git a/src/os/filestore/FileStore.cc b/src/os/filestore/FileStore.cc index 7939dfc195f..eb81bbdcaf1 100644 --- a/src/os/filestore/FileStore.cc +++ b/src/os/filestore/FileStore.cc @@ -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(); }