return false;
}
-bool Objecter::_osdmap_pool_full(const pg_pool_t &p) const
-{
- return p.has_flag(pg_pool_t::FLAG_FULL) && honor_pool_full;
-}
-
/**
* Wrapper around osdmap->test_flag for special handling of the FULL flag.
*/
bool osdmap_full_flag() const;
bool osdmap_pool_full(const int64_t pool_id) const;
+
private:
/**
* the global full flag is set, else false
*/
bool _osdmap_pool_full(const int64_t pool_id) const;
- bool _osdmap_pool_full(const pg_pool_t &p) const;
+ bool _osdmap_pool_full(const pg_pool_t &p) const {
+ return p.has_flag(pg_pool_t::FLAG_FULL) && honor_pool_full;
+ }
void update_pool_full_map(std::map<int64_t, bool>& pool_full_map);
std::map<uint64_t, LingerOp*> linger_ops;