Repository navigation
Conversation
| :Description: Whether quota should be checked on raw usage instead of the 4 KiB rounded one. | ||
| :Description: Whether quota should be checked on rounded value instead of the 4 KiB. |
There was a problem hiding this comment.
this new wording is confusing. when check_on_raw is false, quota limits are compared against the usage rounded to nearest 4k. when true, quota limits are compared against the usage without any rounding
There was a problem hiding this comment.
Thanks for the clarity. Please help me understand why rounding is an option
There was a problem hiding this comment.
https://github.com/ceph/ceph/blob/main/src/rgw/rgw_quota_types.h#L34 describes the check_on_raw field as a standard field of RGWQuotaInfo
https://github.com/ceph/ceph/blob/main/src/rgw/rgw_op.cc#L3605 says "Swift requires checking on raw usage instead of the 4 KiB rounded one."
There was a problem hiding this comment.
Please help me understand why rounding is an option
small objects have storage overhead, both for object metadata and the min_alloc size of its data. that overhead isn't accounted for in the raw usage, so we have separate tracking that rounds each object's size up to the nearest 4k. this allows operators to enforce quotas that more accurately reflect the use of underlying storage
there's an rfe in https://tracker.ceph.com/issues/73858 asking that we make this rounding configurable
There was a problem hiding this comment.
checked on rounded value instead of the 4 KiB.
i still find this text confusing - use of the 'rounded value' and the '4 KiB' are the same case (check_on_raw = false)
70f26c6 to
373c178
Compare
Based on comment received on ceph#66919 (comment) Signed-off-by: Jiffin Tony Thottan <[email protected]>
373c178 to
2a1965a
Compare
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
Based on comment received on #66919 (comment)
Signed-off-by: Jiffin Tony Thottan [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.