From c6567d7e2788d45ec4aa467e9f1322e36964b000 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Thu, 19 May 2016 15:45:15 +0800 Subject: [PATCH] os/filestore: make handle_conf_change() can handle xattr_value_* changing too Signed-off-by: xie xingguo --- src/os/filestore/FileStore.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); } -- 2.47.3