<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:19:38 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-1782] Ignore sb_has_quota_active() in OFED&apos;s header</title>
                <link>https://jira.whamcloud.com/browse/LU-1782</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;On b1_8 + out-of-kerneltree OFED (e.g. Mellanox 1.5.3), the quota doesn&apos;t work well.&lt;/p&gt;

&lt;p&gt;1 x MDT, 1 x OST are mounted on a server and one client mounts that Lustre.&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;lfs quotaon -ug /l-exofed/&lt;/li&gt;
	&lt;li&gt;lfs quotacheck /l-exofed&lt;/li&gt;
	&lt;li&gt;lfs setquota -B 0 -g group1 /l-exofed/&lt;/li&gt;
	&lt;li&gt;lfs setquota -B 100000 -g group1 /l-exofed/&lt;/li&gt;
	&lt;li&gt;lfs quota -g group1 -v /l-exofed/&lt;br/&gt;
Disk quotas for group group1 (gid 1001):&lt;br/&gt;
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace&lt;br/&gt;
     /l-exofed/       0       0  100000       -       0       0       0       -&lt;br/&gt;
lustre-MDT0000_UUID&lt;br/&gt;
                      0       -       1       -       0       -       0       -&lt;br/&gt;
lustre-OST0000_UUID&lt;br/&gt;
                      0       -       1       -       -       -       -       -&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;su - user1&lt;br/&gt;
-bash-3.2$ cd /l-exofed/&lt;br/&gt;
-bash-3.2$ mkdir a&lt;br/&gt;
mkdir: cannot create directory `a&apos;: Disk quota exceeded&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;The problem seems to be caused by two functions sb_has_quota_active() and sb_any_quota_active() defined in &lt;br/&gt;
$BACKPORT_INCLUDES/include/linux/quotaops.h and use them, instead of lustre defined.&lt;br/&gt;
1.8.8 was no problem with out-of-kerneltree OFED, so &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1438&quot; title=&quot;quota_chk_acq_common() still haven&amp;#39;t managed to acquire quota&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1438&quot;&gt;&lt;del&gt;LU-1438&lt;/del&gt;&lt;/a&gt; patches might be related.&lt;/p&gt;

&lt;p&gt;I created the patches and will post it soon.&lt;/p&gt;</description>
                <environment>b1_8, out-of-kernel-tree OFED, RHEL5</environment>
        <key id="15577">LU-1782</key>
            <summary>Ignore sb_has_quota_active() in OFED&apos;s header</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="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="niu">Niu Yawei</assignee>
                                    <reporter username="ihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Aug 2012 12:34:47 +0000</created>
                <updated>Fri, 22 Feb 2013 11:23:13 +0000</updated>
                            <resolved>Sat, 22 Dec 2012 10:51:28 +0000</resolved>
                                    <version>Lustre 2.1.4</version>
                    <version>Lustre 1.8.8</version>
                                    <fixVersion>Lustre 2.1.4</fixVersion>
                    <fixVersion>Lustre 1.8.9</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="43703" author="ihara" created="Thu, 23 Aug 2012 12:45:43 +0000"  >&lt;p&gt;posted patches. &lt;a href=&quot;http://review.whamcloud.com/#change,3764&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,3764&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43717" author="pjones" created="Thu, 23 Aug 2012 22:36:44 +0000"  >&lt;p&gt;Thanks for the patches Ihara. Niu can you please take care of reviewing these?&lt;/p&gt;</comment>
                            <comment id="43721" author="niu" created="Thu, 23 Aug 2012 23:29:15 +0000"  >&lt;p&gt;that could probably be the root cause of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-340&quot; title=&quot;system hang when running sanity-quota on RHEL5-x86_64-OFED&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-340&quot;&gt;&lt;del&gt;LU-340&lt;/del&gt;&lt;/a&gt;, thanks for your patch, Ihara.&lt;/p&gt;</comment>
                            <comment id="44043" author="pjones" created="Fri, 31 Aug 2012 11:19:48 +0000"  >&lt;p&gt;This patch is landed to b1_8. Given that it relates to RHEL5 I think that it does not need to land to master but should also be ported to b2_1&lt;/p&gt;</comment>
                            <comment id="48526" author="emoly.liu" created="Thu, 29 Nov 2012 02:59:49 +0000"  >&lt;p&gt;port for b2_1 is here &lt;a href=&quot;http://review.whamcloud.com/#change,4704&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,4704&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49605" author="pjones" created="Sat, 22 Dec 2012 10:51:28 +0000"  >&lt;p&gt;Landed for 2.1.4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="10891">LU-340</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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvgn3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6345</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>