os/filestore: make handle_conf_change() can handle xattr_value_* changing too

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
xie xingguo 2016-05-19 15:45:15 +08:00
parent dc88e41062
commit c6567d7e27

View 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();
}