<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:43:27 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-11390] sanity-quota test_61: test timeout</title>
                <link>https://jira.whamcloud.com/browse/LU-11390</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for sarah &amp;lt;sarah@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/4b207cce-b97d-11e8-9df3-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/4b207cce-b97d-11e8-9df3-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_61 failed with the following error:&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;Timeout occurred after 1369 mins, last suite running was sanity-quota, restarting cluster to continue tests
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;cannot find error msg&lt;/p&gt;

&lt;p&gt;test log&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;set to use default quota
set default quota
get default quota
Disk default grp quota:
     Filesystem   bquota  blimit  bgrace   iquota  ilimit  igrace
    /mnt/lustre  20480   20480       0      0       0  604800
Test not out of quota
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0] [count=10] [oflag=sync]
10+0 records in
10+0 records out
10485760 bytes (10 MB) copied, 343.958 s, 30.5 kB/s
Test out of quota
CMD: trevis-38vm4 lctl set_param -n os[cd]*.*MDT*.force_sync=1
CMD: trevis-38vm3 lctl set_param -n osd*.*OS*.force_sync=1
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0] [count=40] [oflag=sync]
dd: error writing &apos;/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0&apos;: Disk quota exceeded
19+0 records in
18+0 records out
18874368 bytes (19 MB) copied, 636.705 s, 29.6 kB/s
Increase default quota
CMD: trevis-38vm4 lctl set_param -n os[cd]*.*MDT*.force_sync=1
CMD: trevis-38vm3 lctl set_param -n osd*.*OS*.force_sync=1
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0] [count=40] [oflag=sync]
40+0 records in
40+0 records out
41943040 bytes (42 MB) copied, 124.211 s, 338 kB/s
Set quota to override default quota
CMD: trevis-38vm4 lctl set_param -n os[cd]*.*MDT*.force_sync=1
CMD: trevis-38vm3 lctl set_param -n osd*.*OS*.force_sync=1
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0] [count=40] [oflag=sync]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
sanity-quota test_61 - Timeout occurred after 1369 mins, last suite running was sanity-quota, restarting cluster to continue tests&lt;/p&gt;</description>
                <environment></environment>
        <key id="53340">LU-11390</key>
            <summary>sanity-quota test_61: test timeout</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="hongchao.zhang">Hongchao Zhang</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Sep 2018 00:24:26 +0000</created>
                <updated>Fri, 30 Nov 2018 22:31:38 +0000</updated>
                            <resolved>Tue, 13 Nov 2018 11:10:37 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="233757" author="pjones" created="Wed, 19 Sep 2018 17:21:42 +0000"  >&lt;p&gt;Hongchao&lt;/p&gt;

&lt;p&gt;Can you please investigate?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="234003" author="hongchao.zhang" created="Wed, 26 Sep 2018 09:16:24 +0000"  >&lt;p&gt;this issue is caused by the wrong over-quota flag sent back to OSC, which cause the IO to be synchronized for each page.&lt;br/&gt;
1, the block size of the file is 1024K(1M) (dnode-&amp;gt;dn_datablksz), the qunit is also 1024K(1M)&lt;br/&gt;
2, if the client write some data within the existing blocks&lt;br/&gt;
    for example, the file has 2 blocks (2M) but its data only 1M+4K, and the client write 4K ~ 1023K to OST and the file&lt;br/&gt;
    will have still 2 blocks (2M) but its data will also be 2M. in this case,  the write will reserve 1M quota space and the QSD&lt;br/&gt;
    acquire 1M (the qunit) quota space from QMT, but it will trigger the over-quota flag in qsd_op_begin0&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;    static int qsd_op_begin0(const struct lu_env *env, struct qsd_qtype_info *qqi,
                         struct lquota_id_info *qid, long long space,
                         int *flags)
    {
        ...
        if (flags != NULL) {
    out_flags:
                LASSERT(qid-&amp;gt;lqi_is_blk);
                if (rc != 0) {
                        *flags |= lquota_over_fl(qqi-&amp;gt;qqi_qtype);
                } else {
                        __u64   usage;

                        lqe_read_lock(lqe);
                        usage  = lqe-&amp;gt;lqe_usage;
                        usage += lqe-&amp;gt;lqe_pending_write;
                        usage += lqe-&amp;gt;lqe_waiting_write;
                        usage += qqi-&amp;gt;qqi_qsd-&amp;gt;qsd_sync_threshold;

                        qtype_flag = lquota_over_fl(qqi-&amp;gt;qqi_qtype);
                        /* if we should notify client to start sync write */
                        if (usage &amp;gt;= lqe-&amp;gt;lqe_granted - lqe-&amp;gt;lqe_pending_rel)
                                *flags |= qtype_flag;
                        else
                                *flags &amp;amp;= ~qtype_flag;
                        lqe_read_unlock(lqe);
                }
        }
    ...
    &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;    After this, the following write at OSC will be synchronized for each page, which in turn cause the over-quota flag&lt;br/&gt;
    to be marked at OST, which cause the write performance to degrade drastically.&lt;/p&gt;</comment>
                            <comment id="234004" author="gerrit" created="Wed, 26 Sep 2018 09:39:52 +0000"  >&lt;p&gt;Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33238&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33238&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11390&quot; title=&quot;sanity-quota test_61: test timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11390&quot;&gt;&lt;del&gt;LU-11390&lt;/del&gt;&lt;/a&gt; quota: mark over-quota flag correctly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: bfb4285b53f6ab465d379277a6d553b5cbc52236&lt;/p&gt;</comment>
                            <comment id="236904" author="gerrit" created="Tue, 13 Nov 2018 06:17:30 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33238/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33238/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11390&quot; title=&quot;sanity-quota test_61: test timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11390&quot;&gt;&lt;del&gt;LU-11390&lt;/del&gt;&lt;/a&gt; quota: mark over-quota flag correctly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1ada2c947b894f97ac4e7e9c6435a8b4e42ca1fa&lt;/p&gt;</comment>
                            <comment id="236918" author="pjones" created="Tue, 13 Nov 2018 11:10:37 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="54056">LU-11678</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|i002lj:</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>