Implement fool protection for FS pools
This commit is contained in:
+1
-1
@@ -631,7 +631,7 @@ void osd_t::apply_no_inode_stats()
|
||||
std::vector<uint64_t> no_inode_stats;
|
||||
for (auto & pool_item: st_cli.pool_config)
|
||||
{
|
||||
if (pool_item.second.no_inode_stats)
|
||||
if (!pool_item.second.used_for_fs.empty())
|
||||
{
|
||||
no_inode_stats.push_back(pool_item.first);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user