<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:05:53 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-13986] livelock is possible in distribute_txn_commit_thread()</title>
                <link>https://jira.whamcloud.com/browse/LU-13986</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A recent patch to update_trans.c changed how distribute_txn_thread() waited for more work to do.&lt;/p&gt;

&lt;p&gt;It previously had an explicit &quot;wait_event()&quot; which listed all the conditions to wait for. It would then recheck each condition and possibly perform an appropriate action.&lt;/p&gt;

&lt;p&gt;It was changed to check each condition only once (per loop). If the condition was true, the action would be performed and a flag set. If no conditions were true (indicated by flag), it would wait, otherwise it would loop and recheck all condition.&lt;/p&gt;

&lt;p&gt;One of the &quot;if (condition) { do work }&quot; stanzas in the loop tested a condition that was &lt;b&gt;not&lt;/b&gt; a condition that should wake up the loop. &quot;batchid&quot; was not tested at all in the wait_event(). The flag mentioned above was, however, set when that condition tested true.&lt;br/&gt;
This can cause the loop to spin indefinitely.&lt;/p&gt;

&lt;p&gt;The &quot;__set_current_state(TASK_RUNNING);&quot; should be removed so that the value&lt;br/&gt;
of batchid cannot stop the loop from sleeping (calling &apos;schedule()&apos;).&lt;/p&gt;</description>
                <environment></environment>
        <key id="60936">LU-13986</key>
            <summary>livelock is possible in distribute_txn_commit_thread()</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="neilb">Neil Brown</assignee>
                                    <reporter username="neilb">Neil Brown</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Sep 2020 05:11:54 +0000</created>
                <updated>Mon, 12 Oct 2020 12:35:58 +0000</updated>
                            <resolved>Mon, 12 Oct 2020 12:35:58 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="280602" author="gerrit" created="Fri, 25 Sep 2020 05:12:50 +0000"  >&lt;p&gt;Neil Brown (neilb@suse.de) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40043&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40043&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13986&quot; title=&quot;livelock is possible in distribute_txn_commit_thread()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13986&quot;&gt;&lt;del&gt;LU-13986&lt;/del&gt;&lt;/a&gt; target: fix possible liveloop in distribute_txn thd&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a6caa6ac9d871e549b2b1bfdaa4118b53e161dd4&lt;/p&gt;</comment>
                            <comment id="282017" author="gerrit" created="Mon, 12 Oct 2020 05:48:00 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40043/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40043/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13986&quot; title=&quot;livelock is possible in distribute_txn_commit_thread()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13986&quot;&gt;&lt;del&gt;LU-13986&lt;/del&gt;&lt;/a&gt; target: fix possible liveloop in distribute_txn thd&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d05cab2fd7b9b38cc8414dcb03dbcc7b9ed31696&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="56937">LU-12780</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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i01aqf:</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>