Bug 596794
| Summary: | GFS2: Verify that generic quota tools can perform all functions of gfs2_quota (and remove gfs2_quota) | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steve Whitehouse <swhiteho> | |
| Component: | gfs2-utils | Assignee: | Abhijith Das <adas> | |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | rawhide | CC: | adas, agk, ajb2, bmarzins, cfeist, fdinitto, ppisar, rpeterso, swhiteho | |
| Target Milestone: | --- | Keywords: | Documentation, FutureFeature, ReleaseNotes | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Enhancement | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 658586 (view as bug list) | Environment: | ||
| Last Closed: | 2011-06-21 17:00:49 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 658586, 685136 | |||
| Attachments: | ||||
|
Description
Steve Whitehouse
2010-05-27 14:15:50 UTC
Created attachment 462205 [details]
upstream kernel patch to make gfs2 interact with userland in 512b blocks
This patch is already upstream
Created attachment 462206 [details]
upstream kernel patch to allow gfs2 to update quota usage through quotactl
This is already upstream
Created attachment 462207 [details]
proposed quota-tools (linuxquota) patch to implement sync functionality
gfs2 can use this to sync quotas through the quotactl syscall
Created attachment 462208 [details]
proposed quota-tools (linuxquota) patch to implement check functionality for gfs2
Uses the quotactl syscall to check and update gfs2 quotas from userland.
Created attachment 462235 [details]
proposed quota-tools (linuxquota) patch to implement check functionality for gfs2
updated.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Update: I have asked Jan Kara (owns the upstream linuxquota project on sourceforge) to review and include the above two quota-tools patches for sync and check. Haven't heard back from him. Meanwhile, Petr Pisar (who works on linuxquota for RHEL/Fedora) took a look and approved these patches. rpc.rquotad: When configured with --enable-rpcsetquota=yes , I got edquota to get/set quota limit/warn values on a gfs2 fs mounted over nfs. Looking at the code in repquota.c, it doesn't look like repquota works with rpc. Petr, can you confirm? With this, I think most of the things required for gfs2 support are in place. I'm going to do some more testing with these patches to check if we missed anything. (In reply to comment #10) > Looking at the code in repquota.c, it doesn't look like repquota works with > rpc. Petr, can you confirm? > Yes. You are right `repquota' does not work over RPC. Tested with ext3 and gfs2. I filed bug to upstream: https://sourceforge.net/tracker/?func=detail&aid=3154328&group_id=18136&atid=118136 Created attachment 474903 [details]
revised sync patch
Revised on basis of Jan Kara's comments. Also posted to the sourceforge linuxquota project page
Created attachment 474904 [details]
revised quotacheck patch
Revised on basis of Jan Kara's comments. Also posted to the sourceforge linuxquota project page
Both patches have been accepted by upstream and back-ported into Fedora 15 in package quota-4.00-0.6.pre1.fc15. Cool. It sounds like the first part of this is done. Next thing is to remove gfs2_quota from rawhide at the next convenient opportunity and then we can close this one. We will also need to ensure that we document that change so that people can find the new tools. We'll need to release note it when it happens at the very least. gfs2_quota removed from rawhide: http://pkgs.fedoraproject.org/gitweb/?p=gfs2-utils.git;a=commitdiff;h=db857572274e8f7423de1ac02959e7e9fb4abe91 Closing bug as NEXTRELEASE as the only things left to do are releasenotes/documentation related. |