<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:36:51 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-3782] Divizion by zero in ost-pools 18</title>
                <link>https://jira.whamcloud.com/browse/LU-3782</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;ost-pools: create_perf () does not check if files were actually created on each iteration:&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;create_perf() {
...

    stat=$(createmany -o $cdir/${tfile} -$numsec | tail -1)
    files=$(echo $stat | cut -f 2 -d &lt;span class=&quot;code-quote&quot;&gt;&apos; &apos;&lt;/span&gt;)
    echo $stat 1&amp;gt;&amp;amp;2
..
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;$numsec is fixed as 15 seconds.&lt;br/&gt;
So test failed if there is lack of inodes and no files have been created:&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;== ost-pools test 18: File create in a directory which references a deleted pool == 15:47:58 (1371152878)
Create performance, iteration 1, 15 seconds x 3
total: 40940 creates in 14.28 seconds: 2867.34 creates/second
iter 1: 40940 creates without pool
mft51: Pool lustre.testpool created
mft51: OST lustre-OST0000_UUID added to pool lustre.testpool
mft51: OST lustre-OST0001_UUID added to pool lustre.testpool
total: 38563 creates in 14.42 seconds: 2674.14 creates/second
iter 1: 38563 creates with pool
mft51: OST lustre-OST0000_UUID removed from pool lustre.testpool
mft51: OST lustre-OST0001_UUID removed from pool lustre.testpool
mft51: Pool lustre.testpool destroyed
total: 43721 creates in 13.57 seconds: 3221.95 creates/second
iter 1: 43721 creates with missing pool

Create performance, iteration 2, 15 seconds x 3
total: 0 creates in 0.00 seconds: 0.00 creates/second
iter 2: 0 creates without pool
mft51: Pool lustre.testpool created
mft51: OST lustre-OST0000_UUID added to pool lustre.testpool
mft51: OST lustre-OST0001_UUID added to pool lustre.testpool
total: 0 creates in 0.00 seconds: 0.00 creates/second
iter 2: 0 creates with pool
mft51: OST lustre-OST0000_UUID removed from pool lustre.testpool
mft51: OST lustre-OST0001_UUID removed from pool lustre.testpool
mft51: Pool lustre.testpool destroyed
total: 0 creates in 0.00 seconds: 0.00 creates/second
iter 2: 0 creates with missing pool

Create performance, iteration 3, 15 seconds x 3
total: 0 creates in 0.00 seconds: 0.00 creates/second
iter 3: 0 creates without pool
mft51: Pool lustre.testpool created
mft51: OST lustre-OST0000_UUID added to pool lustre.testpool
mft51: OST lustre-OST0001_UUID added to pool lustre.testpool
total: 0 creates in 0.00 seconds: 0.00 creates/second
iter 3: 0 creates with pool
mft51: OST lustre-OST0000_UUID removed from pool lustre.testpool
mft51: OST lustre-OST0001_UUID removed from pool lustre.testpool
mft51: Pool lustre.testpool destroyed
total: 0 creates in 0.00 seconds: 0.00 creates/second
iter 3: 0 creates with missing pool

Avg files created in 15 seconds without pool: 0
Avg files created in 15 seconds with pool: 0
Avg files created in 15 seconds missing pool: 0
/usr/lib64/lustre/tests/ost-pools.sh: line 1000: (0 - 0) * 100 / 0: division by 0 (error token is &quot;0&quot;)
test_18 returned 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
	&lt;li&gt;createmany return code must be checked.&lt;/li&gt;
	&lt;li&gt;Number of files should be calculated more flexible.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>4-nodes virtual cluster, 2 OST 700MB per each.&lt;br/&gt;
</environment>
        <key id="20481">LU-3782</key>
            <summary>Divizion by zero in ost-pools 18</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="wc-triage">WC Triage</assignee>
                                    <reporter username="diff">Alexander Lezhoev</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 20 Aug 2013 10:45:41 +0000</created>
                <updated>Tue, 17 May 2016 14:58:42 +0000</updated>
                            <resolved>Mon, 14 Mar 2016 02:48:19 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="64652" author="keith" created="Tue, 20 Aug 2013 18:34:59 +0000"  >&lt;p&gt;Are you intending to submit a patch or just reporting the issue?&lt;/p&gt;</comment>
                            <comment id="64728" author="diff" created="Wed, 21 Aug 2013 14:14:01 +0000"  >&lt;p&gt;Keith, because the current design (use fixed time instead of number of files) appears after &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-797&quot; title=&quot;Test failure on test suite ost-pools, subtest test_14, test_18, test_23&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-797&quot;&gt;&lt;del&gt;LU-797&lt;/del&gt;&lt;/a&gt;, so my patch would look like reverting to the old version. I&apos;m not sure which solution is most acceptable for you.&lt;/p&gt;</comment>
                            <comment id="64749" author="adilger" created="Wed, 21 Aug 2013 16:28:44 +0000"  >&lt;p&gt;Probably the best solution is to change createmany to allow handing both a time limit and maximum file count, and exit when either condition is hit.  This would best be done by parsing named options instead of making more confusing positional parameter combinations.&lt;/p&gt;</comment>
                            <comment id="126577" author="kirtan" created="Mon, 7 Sep 2015 10:34:37 +0000"  >&lt;p&gt;Andreas Dilger, I have put the option of maximum file count in the test, but can you please elaborate on how this will help us in this issue ?&lt;/p&gt;</comment>
                            <comment id="129067" author="adilger" created="Thu, 1 Oct 2015 23:16:01 +0000"  >&lt;p&gt;You are correct - I don&apos;t think my suggestion will help in this case, because the test would still exit after 15s even if a (maximum) number of files was specified.  I was thinking of the more normal case where we want to run a test workload for a maximum amount of time, but not create too many files if the MDS is very fast.&lt;/p&gt;

&lt;p&gt;I guess the next question is what was wrong with the system that it couldn&apos;t create &lt;em&gt;any&lt;/em&gt; files in 90s?  Is the filesystem out of inodes?  Is the MDS or OSS down or in recovery?  I&apos;d probably consider it a test error if createmany wasn&apos;t able to create any files at all for this test.&lt;/p&gt;</comment>
                            <comment id="129281" author="kirtan" created="Mon, 5 Oct 2015 05:59:29 +0000"  >&lt;p&gt;Ok, got it. So for now just a check when zero files created should be enough right ?&lt;/p&gt;</comment>
                            <comment id="131518" author="gerrit" created="Mon, 26 Oct 2015 12:25:10 +0000"  >&lt;p&gt;kirtan.shetty (kirtan.shetty@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16939&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16939&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3782&quot; title=&quot;Divizion by zero in ost-pools 18&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3782&quot;&gt;&lt;del&gt;LU-3782&lt;/del&gt;&lt;/a&gt; test: Fix for faliure when no file are created.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5c7298fb807446cc66112886f7d430908148c9d2&lt;/p&gt;</comment>
                            <comment id="145361" author="gerrit" created="Mon, 14 Mar 2016 02:40:10 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16939/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16939/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3782&quot; title=&quot;Divizion by zero in ost-pools 18&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3782&quot;&gt;&lt;del&gt;LU-3782&lt;/del&gt;&lt;/a&gt; test: Fix for faliure when no file are created.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 475083a145b3b02156ede309fbaefd17b3786228&lt;/p&gt;</comment>
                    </comments>
                    <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|hzvyk7:</customfieldvalue>

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