<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:35:06 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-17396] &apos;lfs quota -p ID&apos; will create quota entry</title>
                <link>https://jira.whamcloud.com/browse/LU-17396</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running a check with &quot;&lt;tt&gt;lfs quota -p SOME_ID MOUNT&lt;/tt&gt;&quot; will create a new &lt;tt&gt;SOME_ID&lt;/tt&gt; entry in the quota table if it doesn&apos;t already exist.  It requires &quot;&lt;tt&gt;lfs setquota --delete -p SOME_ID MOUNT&lt;/tt&gt;&quot; to delete this record again.   The same happens for &quot;&lt;tt&gt;lfs quota -u&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;lfs quota -g&lt;/tt&gt;&quot;.  Just &lt;b&gt;querying&lt;/b&gt; the quota ID should not create an entry in the quota database, as this adds overhead and confusion about which IDs are actually in use, and could add a lot of overhead if some admin decides to run &quot;&lt;tt&gt;for ID in {1..1000000}; do lfs quota -&lt;span class=&quot;error&quot;&gt;&amp;#91;ugp&amp;#93;&lt;/span&gt; $ID; done&lt;/tt&gt;&quot; to extract all of the quota information (until &lt;a href=&quot;https://review.whamcloud.com/42098&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;LU-14535 quota: get all quota info in LFS&lt;/a&gt; is available).&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@centos7 tests]# lctl get_param qmt.testfs-QMT0000.md-0x0.glb-prj
qmt.testfs-QMT0000.md-0x0.glb-prj=
global_pool0_md_prj
- id:      0
  limits:  { hard:              0, soft:              0, granted:              0, time:               604800 }
[root@centos7 tests]# lfs quota -p 1023 /mnt/testfs
Disk quotas for prj 1023 (pid 1023):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/testfs       0       0       0       -       0       0       0       -
[root@centos7 tests]# lctl get_param qmt.testfs-QMT0000.md-0x0.glb-prj
qmt.testfs-QMT0000.md-0x0.glb-prj=
global_pool0_md_prj
- id:      0
  limits:  { hard:              0, soft:              0, granted:              0, time:               604800 }
- id:      1023
  limits:  { hard:              0, soft:              0, granted:              0, time:      281474976710656 }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The &quot;&lt;tt&gt;id: 1023&lt;/tt&gt;&quot; entry is also persistent after remount, so it is definitely created in the quota table and not just in memory.&lt;/p&gt;</description>
                <environment></environment>
        <key id="79828">LU-17396</key>
            <summary>&apos;lfs quota -p ID&apos; will create quota entry</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Jan 2024 17:24:28 +0000</created>
                <updated>Thu, 4 Jan 2024 17:28:47 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="63417">LU-14535</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i046cv:</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>