Bug 667755
| Summary: | rpc.rquotad can't handle quotas >4TB | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Petr Pisar <ppisar> | ||||||
| Component: | quota | Assignee: | Petr Pisar <ppisar> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Martin Cermak <mcermak> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 6.0 | CC: | bfields, dhowells, fnadge, jlayton, mcermak, rwheeler, sprabhu, steved | ||||||
| Target Milestone: | rc | Keywords: | Patch | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://sourceforge.net/tracker/?func=detail&aid=3152423&group_id=18136&atid=118136 | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | quota-3.17-11.el6 | Doc Type: | Bug Fix | ||||||
| Doc Text: |
Cause
Querying quota usage or limits for network-mounted file
system if quota values are 2^32 or bigger.
Consequence
Values are not properly transported over RPC and
interpreted by client. Mangled values (wrapped to 32
bits) are reported by client then.
Fix
Proper interpretation of RPC values by client has been
back-ported from upstream and proper reporting big
values by rpc.rquotad has been implemented.
Result
Block quota usage and limits values bigger than 2^32-1
are properly reported by client for network file
systems.
|
Story Points: | --- | ||||||
| Clone Of: | 667360 | ||||||||
| : | 667757 (view as bug list) | Environment: | |||||||
| Last Closed: | 2011-05-19 14:10:03 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Petr Pisar
2011-01-06 17:20:16 UTC
Created attachment 472791 [details]
Use factor signalled in RPC to compute real values
This patch back-ported from upstream utilizes rq_bsize factor transmitted by RPC to shift block limits and usage values before transmission and and to unshift them after transmission.
It allows client to respect shifted values (usable for values >= 2^32).
Created attachment 472795 [details]
Make RPC block factor dynamic
This patch submitted to upstream and back-ported for 3.17 scales block limits and usage values to common smallest base to pass all values longer than 32bits through RPC on quota query successfully.
It allows rpc.rquotad to report values bigger then 2^32-1.
Verified according to https://beaker.engineering.redhat.com/jobs/62389. Hi, I am reviewing and editing erratum: http://errata.devel.redhat.com/errata/stateview/10703 and would need some more details for this bug to state all the necessary points. Could you give a few key words to the points I pasted into the Technical Notes field. Once I have the text I can start on the approval process. Thanks
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause
What actions or circumstances cause this bug to present.
Consequence
What happens when the bug presents.
Fix
What was done to fix the bug.
Result
What now happens when the actions or circumstances above occur.
Note: this is not the same as the bug doesn’t present anymore.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,9 +1,15 @@
Cause
- What actions or circumstances cause this bug to present.
+ Querying quota usage or limits for network-mounted file
+ system if quota values are 2^32 or bigger.
Consequence
- What happens when the bug presents.
+ Values are not properly transported over RPC and
+ interpreted by client. Mangled values (wrapped to 32
+ bits) are reported by client then.
Fix
- What was done to fix the bug.
+ Proper interpretation of RPC values by client has been
+ back-ported from upstream and proper reporting big
+ values by rpc.rquotad has been implemented.
Result
- What now happens when the actions or circumstances above occur.
+ Block quota usage and limits values bigger than 2^32-1
- Note: this is not the same as the bug doesn’t present anymore.+ are properly reported by client for network file
+ systems.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0716.html |