<!-- 
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-17395] df -h is limited by project quota even if quota enforcement is disabled </title>
                <link>https://jira.whamcloud.com/browse/LU-17395</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;$ git log --oneline -n3&lt;br/&gt;
d43e8b471f (HEAD -&amp;gt; df_noenf, tag: v2_15_60, tag: 2.15.60, origin/master, origin/HEAD) New tag 2.15.60&lt;br/&gt;
54d8859bef &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17215&quot; title=&quot;sanity/398q should use $tfile&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17215&quot;&gt;&lt;del&gt;LU-17215&lt;/del&gt;&lt;/a&gt; tests: sanity/398q to use $tfile&lt;br/&gt;
7a56a689d4 &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17374&quot; title=&quot;Do not slow down GSS authentication with many cache entries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17374&quot;&gt;&lt;del&gt;LU-17374&lt;/del&gt;&lt;/a&gt; gss: get rid of rsi cache entries after req handle&lt;br/&gt;
$ MDSCOUNT=2  FSTYPE=ldiskfs bash lustre/tests/llmount.sh &lt;br/&gt;
$ lfs project -sp 1212  /mnt/lustre&lt;br/&gt;
$ lfs setquota -p 1212 -b 10M -B 10M -i 10K -I 10K /mnt/lustre&lt;br/&gt;
$ df -h /mnt/lustre&lt;br/&gt;
Filesystem             Size  Used Avail Use% Mounted on&lt;br/&gt;
10.0.2.15@tcp:/lustre   10M  4.0K   10M   1% /mnt/lustre&lt;br/&gt;
$ lfs project -d  /mnt/lustre&lt;br/&gt;
 1212 P /mnt/lustre&lt;br/&gt;
$ lfs project -sp 0  /mnt/lustre&lt;br/&gt;
$ df -h /mnt/lustre&lt;br/&gt;
Filesystem             Size  Used Avail Use% Mounted on&lt;br/&gt;
10.0.2.15@tcp:/lustre  612M  3.0M  556M   1% /mnt/lustre&lt;br/&gt;
$ lctl get_param osd-ldiskfs.*.quota_slave.info | grep enabled&lt;br/&gt;
quota enabled:  none&lt;br/&gt;
quota enabled:  none&lt;br/&gt;
quota enabled:  none&lt;br/&gt;
quota enabled:  none&lt;/p&gt;
</description>
                <environment></environment>
        <key id="79825">LU-17395</key>
            <summary>df -h is limited by project quota even if quota enforcement is disabled </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="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="aboyko">Alexander Boyko</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Jan 2024 15:36:00 +0000</created>
                <updated>Thu, 11 Jan 2024 11:52:13 +0000</updated>
                                            <version>Lustre 2.16.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="398759" author="adilger" created="Sat, 6 Jan 2024 09:38:00 +0000"  >&lt;p&gt;It seems like a bug that &lt;tt&gt;statfs()&lt;/tt&gt; is affected if project quota is not enforced.  Is there some way that &lt;tt&gt;ll_statfs_project()-&amp;gt;quotactl_ioctl()&lt;/tt&gt; can determine that quota is not enforced?&lt;/p&gt;</comment>
                            <comment id="398979" author="sergey" created="Tue, 9 Jan 2024 14:42:58 +0000"  >&lt;p&gt;The solution of this problem could be common with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16660&quot; title=&quot;don&amp;#39;t show grace time if this quota type is disabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16660&quot;&gt;LU-16660&lt;/a&gt;. In my case I also wanted to know whether quotas enforced or not. The problem is that to be 100% sure that quotas are disabled we need to ask all &quot;quota slaves&quot;, i.e. all OSTs and MDTs. It is too expensive to ask all targets, so probably it is worth to have some common flag on MDS0 that is set to &quot;TRUE&quot; only when quota on all targets is disabled(quota_slave=none).&#160;&lt;/p&gt;</comment>
                            <comment id="399269" author="adilger" created="Thu, 11 Jan 2024 11:52:13 +0000"  >&lt;p&gt;In &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16771&quot; title=&quot;statfs_max_age not used with statfs() project quotas?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16771&quot;&gt;LU-16771&lt;/a&gt; there was also a performance issue related to an application getting the project quota repeatedly due to many &lt;tt&gt;statfs()&lt;/tt&gt; syscalls, and no cache for the project quota on the clients.  I think it is reasonable to cache the &quot;quota enabled/disabled&quot; state on the client and MDS, along with the quota usage for an ID+type for a short time (same as statfs), as long as these are not used to make actual decisions about IO.  For these cases, the values are mostly cosmetic, so caching them for a few seconds is fine.&lt;/p&gt;

&lt;p&gt;There would need to be a tunable like &quot;&lt;tt&gt;enable_quota_cache=0&lt;/tt&gt;&quot; to disable the cache for sanity-quota to work properly when fetching the quota, or in case of problems in the field.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="75189">LU-16660</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="75793">LU-16771</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="69584">LU-15721</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="46293">LU-9555</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|i046c7:</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>