<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:54:49 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-12692] The maximum quota grace time check is wrong</title>
                <link>https://jira.whamcloud.com/browse/LU-12692</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;According to the the help message, The maximum quota grace time seems to be 2^48 - 1 seconds. But, the upper limit is checked by UINT_MAX. It should be checked by LQUOTA_GRACE_MAX.&lt;/p&gt;

&lt;p&gt;lustre/utils/lfs.c&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-object&quot;&gt;int&lt;/span&gt; lfs_setquota_times(&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; argc, &lt;span class=&quot;code-object&quot;&gt;char&lt;/span&gt; **argv)
{
&amp;lt;snip&amp;gt;
 &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((dqb-&amp;gt;dqb_valid | QIF_BTIME &amp;amp;&amp;amp; dqi-&amp;gt;dqi_bgrace &amp;gt;= UINT_MAX) ||
 (dqb-&amp;gt;dqb_valid | QIF_ITIME &amp;amp;&amp;amp; dqi-&amp;gt;dqi_igrace &amp;gt;= UINT_MAX)) {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&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 setquota -t -u --block-grace 281474976710655 /lustre/
error: grace time is too large
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;




&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="56749">LU-12692</key>
            <summary>The maximum quota grace time check is wrong</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="takamura">Tatsushi Takamura</assignee>
                                    <reporter username="takamura">Tatsushi Takamura</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Aug 2019 00:54:05 +0000</created>
                <updated>Mon, 26 Aug 2019 06:04:28 +0000</updated>
                                            <version>Lustre 2.12.2</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="253556" author="gerrit" created="Mon, 26 Aug 2019 01:02:13 +0000"  >&lt;p&gt;Tatsushi Takamura (takamr.tatsushi@jp.fujitsu.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35915&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35915&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12692&quot; title=&quot;The maximum quota grace time check is wrong&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12692&quot;&gt;LU-12692&lt;/a&gt; quota: the maximum quota grace time check is wrong&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 68736c30fb853ffe08e07e2a56a3511244e2f444&lt;/p&gt;</comment>
                            <comment id="253563" author="adilger" created="Mon, 26 Aug 2019 06:04:28 +0000"  >&lt;p&gt;Thank you for your patch.&lt;/p&gt;

&lt;p&gt;It may be useful to also fix &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12280&quot; title=&quot;Provide option to disable soft quota expiration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12280&quot;&gt;&lt;del&gt;LU-12280&lt;/del&gt;&lt;/a&gt; so that specifying &quot;&lt;tt&gt;-1&lt;/tt&gt;&quot; (or possibly anything larger than 2^48-1) as the grace period is mapped to 2^48-1 in &lt;tt&gt;lfs_setquota_times()&lt;/tt&gt;.  This would make the &quot;&lt;tt&gt;lfs quota&lt;/tt&gt;&quot; interface easier for administrators to use.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="55604">LU-12280</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_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|i00lrj:</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>