Gargi-jais11 opened a new pull request, #8278:
URL: https://github.com/apache/ozone/pull/8278

   ## What changes were proposed in this pull request?
   Currently, (scmUsed / capacity) is used to calculate the disk utilization. 
When reserved space for non-ozone usage is defined, scmUsed cannot reflect the 
data used by non-ozone usage, while free space can.
   
   So change to use formula ( capacity - free ) / capacity. This is also 
consist with the formula used by Container balancer.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-12678
   ## How was this patch tested?
   
   Existing test cases.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to