osd: make FULL and NEAR_FULL configurable
FULL and NEAR_FULL are set in osd/osd_types.h:
#define CEPH_OSD_NEARFULL_RATIO .8 #define CEPH_OSD_FULL_RATIO .95
While 95% seems FULL, on a 2TB disk you still have 100GB left. On a 3TB disk you even have 150GB of space left.
I think it is up to the sysadmin to decide which values are acceptable. Make them configurable so we can choose.
#2 Updated by Greg Farnum about 10 years ago
- Status changed from New to Resolved
Made these configurable via mon_osd_full_ratio and mon_osd_nearfull_ratio in 158889b2e4089db2361b7f61d6e2e2c134fa26d6.
For the future, it might be nifty to adjust how this is handled a little bit so you could set these ratios individually on each OSD rather than as a blanket over the whole cluster.