<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:54:50 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-12694] make &quot;lfs quota&quot; display correct group quota information</title>
                <link>https://jira.whamcloud.com/browse/LU-12694</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;lfs quota (without -g option) doesn&apos;t show correct group quota information&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
# lfs quota /lustre/
Disk quotas &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; usr root (uid 0):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
       /lustre/   13208       0       0       -    1096       0       0       -
Disk quotas &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; grp root (gid 0):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
       /lustre/       0       0       0       -       0       0       0       -

* kbytes(0 is dispolayed) should be 13208

# lfs quota -g root /lustre/
Disk quotas &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; grp root (gid 0):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
       /lustre/   13208       0       0       -    1096       0       0       -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is because, on the server side GETQUOTA is not executed when oqctl-&amp;gt;qc_dqblk.dqb_curspace not 0. So, qctl.qc_dqblk need to be cleared to display correct.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; quotactl_ioctl(struct ll_sb_info *sbi, struct if_quotactl *qctl)
{
&amp;lt;snip&amp;gt;
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (cmd == Q_GETQUOTA &amp;amp;&amp;amp;
                    !(oqctl-&amp;gt;qc_dqblk.dqb_valid &amp;amp; QIF_SPACE) &amp;amp;&amp;amp;
                    !oqctl-&amp;gt;qc_dqblk.dqb_curspace) {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="56751">LU-12694</key>
            <summary>make &quot;lfs quota&quot; display correct group quota information</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="takamura">Tatsushi Takamura</assignee>
                                    <reporter username="takamura">Tatsushi Takamura</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Aug 2019 01:20:49 +0000</created>
                <updated>Mon, 1 Jun 2020 06:21:23 +0000</updated>
                            <resolved>Sat, 7 Sep 2019 05:41:27 +0000</resolved>
                                    <version>Lustre 2.10.8</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="253558" author="gerrit" created="Mon, 26 Aug 2019 01:29:04 +0000"  >&lt;p&gt;Tatsushi Takamura (takamr.tatsushi@jp.fujitsu.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35917&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35917&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12694&quot; title=&quot;make &amp;quot;lfs quota&amp;quot; display correct group quota information&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12694&quot;&gt;&lt;del&gt;LU-12694&lt;/del&gt;&lt;/a&gt; quota: display correct group quota information&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0f5b713675aeffff8eaa5bbfb6caaf6dcebd3f94&lt;/p&gt;</comment>
                            <comment id="254312" author="gerrit" created="Sat, 7 Sep 2019 01:49:39 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35917/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35917/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12694&quot; title=&quot;make &amp;quot;lfs quota&amp;quot; display correct group quota information&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12694&quot;&gt;&lt;del&gt;LU-12694&lt;/del&gt;&lt;/a&gt; quota: display correct group quota information&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5c033757a9a36b83bf891715e683ed06a4bded8e&lt;/p&gt;</comment>
                            <comment id="254333" author="pjones" created="Sat, 7 Sep 2019 05:41:27 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="57169">LU-12868</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>Quota</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i00lrz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>