<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:28:59 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-2877] sanity test_34h failed Multiop blocked on ftruncate, pid=</title>
                <link>https://jira.whamcloud.com/browse/LU-2877</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Happens pretty frequently in maloo since April 2012.&lt;br/&gt;
Sample failures:&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/33b06c22-8065-11e2-9b82-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/33b06c22-8065-11e2-9b82-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/sub_tests/9ccebafe-807b-11e2-b777-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/sub_tests/9ccebafe-807b-11e2-b777-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I think the underlying problem is that multiop as written can block on not just truncate lock, but also at group lock getting time it can block on cache flush.&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;        dd &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;=/dev/zero of=$DIR/$tfile bs=1M count=10 || error
        $MULTIOP $DIR/$tfile OG${gid}T${sz}g${gid}c &amp;amp;
        MULTIPID=$!
        sleep 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Co perhaps we need to add sync or other way of cache flush after dd before doing multiop.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17715">LU-2877</key>
            <summary>sanity test_34h failed Multiop blocked on ftruncate, pid=</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="green">Oleg Drokin</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                            <label>mq313</label>
                    </labels>
                <created>Tue, 26 Feb 2013 22:24:12 +0000</created>
                <updated>Wed, 1 May 2013 06:45:12 +0000</updated>
                            <resolved>Wed, 1 May 2013 06:45:12 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="53065" author="green" created="Tue, 26 Feb 2013 22:37:41 +0000"  >&lt;p&gt;My idea of a patch is &lt;a href=&quot;http://review.whamcloud.com/#change,5541&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5541&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53339" author="pjones" created="Tue, 5 Mar 2013 12:28:36 +0000"  >&lt;p&gt;Landed for 2.4&lt;/p&gt;</comment>
                            <comment id="53708" author="adilger" created="Mon, 11 Mar 2013 13:21:16 +0000"  >&lt;p&gt;My test at &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/0be54d54-8626-11e2-b472-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/0be54d54-8626-11e2-b472-52540035b04c&lt;/a&gt; still fails with Oleg&apos;s patch landed.&lt;/p&gt;

&lt;p&gt;This is from &lt;a href=&quot;http://review.whamcloud.com/5470&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5470&lt;/a&gt;, which has parent commit hash b7f949e04bbd4533316f0ca09b4b7d4f1765eca1, which is commit one after Oleg&apos;s patch commit hash 8fcac3f7a25c2d97974d292830dabe1611274085.&lt;/p&gt;</comment>
                            <comment id="53758" author="green" created="Tue, 12 Mar 2013 01:07:48 +0000"  >&lt;p&gt;There was another patch for a similar issue from Johann that also changed multiop, but I can no longer find it. Johann, do you remember?&lt;/p&gt;

&lt;p&gt;Also it&apos;s strange that sync was not enough, since there should be nothing to flush left.&lt;/p&gt;</comment>
                            <comment id="54042" author="johann" created="Thu, 14 Mar 2013 14:42:26 +0000"  >&lt;p&gt;It was &lt;a href=&quot;http://review.whamcloud.com/#change,5558&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5558&lt;/a&gt; which also uses multiop_bg_pause. Not sure it really makes a difference ...&lt;/p&gt;

&lt;p&gt;That said, this latest report is with ldiskfs while all the previous ones i looked at were with ZFS ...&lt;/p&gt;</comment>
                            <comment id="54050" author="johann" created="Thu, 14 Mar 2013 15:21:11 +0000"  >&lt;p&gt;On 2nd thought, i think multiop_bg_pause is not suitable here. We probably need to look at the logs to understand where we are slow/stuck.&lt;/p&gt;</comment>
                            <comment id="54402" author="green" created="Tue, 19 Mar 2013 17:36:43 +0000"  >&lt;p&gt;I wonder if it&apos;s a timing issue left - multiop starts late and has no chance to terminate by the time we check for it? Or I guess truncate serve-side mght be taking longer time under disk load?&lt;/p&gt;</comment>
                            <comment id="55071" author="green" created="Fri, 29 Mar 2013 03:52:19 +0000"  >&lt;p&gt;Ok, another attempt at fixing: &lt;a href=&quot;http://review.whamcloud.com/5882&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5882&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57417" author="adilger" created="Wed, 1 May 2013 06:45:12 +0000"  >&lt;p&gt;Sanity test_32h hasn&apos;t failed in over a month, even before the most recent patch landed...&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|hzvjxj:</customfieldvalue>

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