mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
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:
parent
dc88e41062
commit
c6567d7e27
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user