Project

General

Profile

Feature #4490

Updated by Sage Weil about 11 years ago

introduce a pg_pool_t flag for 'full', and fields and/or for max_bytes, max_objects, objects, etc. 
 mon: commands in the monitor code to update the quota field(s) 
 mon: checks in tick, etc. to set/clear the full flag 
 osd: osd, return ENOSPC if the pool is too full, or the flag is set. 

 if we use the flag, then the monitor needs to adjust it as the pool gets bigger/smaller. 

Back