<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:42:15 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-11250] Wrong transaction order in mdd_migrate_entries()</title>
                <link>https://jira.whamcloud.com/browse/LU-11250</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Most mdd functions starts transaction and than takes mdd_write_lock&lt;/p&gt;

&lt;p&gt;but&#160;mdd_migrate_entries() does it in reverse order thus it leads to a deadlock&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;crash&amp;gt; bt 12342 
PID: 12342 &#160;TASK: ffff88009b538000 &#160;CPU: 1 &#160;&#160;COMMAND: &quot;mdt00_003&quot; 
 #0 [ffff88009cd6f6d8] __schedule at ffffffff816b3de4 
 #1 [ffff88009cd6f768] schedule at ffffffff816b4409 
 #2 [ffff88009cd6f778] wait_transaction_locked at ffffffffc00bd085 [jbd2] 
 #3 [ffff88009cd6f7d0] add_transaction_credits at ffffffffc00bd368 [jbd2] 
 #4 [ffff88009cd6f830] start_this_handle at ffffffffc00bd5e1 [jbd2] 
 #5 [ffff88009cd6f8c8] jbd2__journal_start at ffffffffc00bdae3 [jbd2] 
 #6 [ffff88009cd6f910] __ldiskfs_journal_start_sb at ffffffffc04f5179 [ldiskfs] 
 #7 [ffff88009cd6f950] osd_trans_start at ffffffffc0abd24e [osd_ldiskfs] 
 #8 [ffff88009cd6f988] top_trans_start at ffffffffc0900fed [ptlrpc] 
 #9 [ffff88009cd6f9e8] lod_trans_start at ffffffffc0d653f1 [lod] 
#10 [ffff88009cd6f9f8] mdd_trans_start at ffffffffc0e1488a [mdd] 
#11 [ffff88009cd6fa08] mdd_migrate_entries at ffffffffc0dfc846 [mdd] 
#12 [ffff88009cd6faa8] mdd_migrate at ffffffffc0dfd1af [mdd] 
#13 [ffff88009cd6fb18] mdt_reint_migrate_internal at ffffffffc0c9802e [mdt] 
#14 [ffff88009cd6fbc8] mdt_reint_rename_or_migrate at ffffffffc0c98515 [mdt] 
#15 [ffff88009cd6fc58] mdt_reint_migrate at ffffffffc0c98b20 [mdt] 
#16 [ffff88009cd6fc68] mdt_reint_rec at ffffffffc0c9cc53 [mdt] 
#17 [ffff88009cd6fc90] mdt_reint_internal at ffffffffc0c7c1bb [mdt] 
#18 [ffff88009cd6fcc8] mdt_reint at ffffffffc0c87187 [mdt] 
#19 [ffff88009cd6fcf8] tgt_request_handle at ffffffffc08ee6ba [ptlrpc] 
#20 [ffff88009cd6fd40] ptlrpc_server_handle_request at ffffffffc0893d43 [ptlrpc] 
#21 [ffff88009cd6fde0] ptlrpc_main at ffffffffc08974f2 [ptlrpc] 
#22 [ffff88009cd6fec8] kthread at ffffffff810b4031 
#23 [ffff88009cd6ff50] ret_from_fork at ffffffff816c1577 
crash&amp;gt; bt 13673 
PID: 13673 &#160;TASK: ffff88012c6c8000 &#160;CPU: 1 &#160;&#160;COMMAND: &quot;mdt00_027&quot; 
 #0 [ffff88012c9e39a8] __schedule at ffffffff816b3de4 
 #1 [ffff88012c9e3a30] schedule at ffffffff816b4409 
 #2 [ffff88012c9e3a40] rwsem_down_write_failed at ffffffff816b5cf5 
 #3 [ffff88012c9e3ad8] call_rwsem_down_write_failed at ffffffff81338247 
 #4 [ffff88012c9e3b20] down_write at ffffffff816b356d 
 #5 [ffff88012c9e3b38] osd_write_lock at ffffffffc0ab1b0c [osd_ldiskfs] 
 #6 [ffff88012c9e3b60] lod_write_lock at ffffffffc0d7e33b [lod] 
 #7 [ffff88012c9e3b70] mdd_write_lock at ffffffffc0dff7cb [mdd] 
 #8 [ffff88012c9e3b80] mdd_xattr_set at ffffffffc0e0cdb8 [mdd] 
 #9 [ffff88012c9e3be8] mdt_reint_setxattr at ffffffffc0c9e64b [mdt] 
#10 [ffff88012c9e3c68] mdt_reint_rec at ffffffffc0c9cc53 [mdt] 
#11 [ffff88012c9e3c90] mdt_reint_internal at ffffffffc0c7c1bb [mdt] 
#12 [ffff88012c9e3cc8] mdt_reint at ffffffffc0c87187 [mdt] 
#13 [ffff88012c9e3cf8] tgt_request_handle at ffffffffc08ee6ba [ptlrpc] 
#14 [ffff88012c9e3d40] ptlrpc_server_handle_request at ffffffffc0893d43 [ptlrpc] 
#15 [ffff88012c9e3de0] ptlrpc_main at ffffffffc08974f2 [ptlrpc] 
#16 [ffff88012c9e3ec8] kthread at ffffffff810b4031 
#17 [ffff88012c9e3f50] ret_from_fork at ffffffff816c1577
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="52976">LU-11250</key>
            <summary>Wrong transaction order in mdd_migrate_entries()</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="askulysh">Andriy Skulysh</assignee>
                                    <reporter username="askulysh">Andriy Skulysh</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Aug 2018 15:37:11 +0000</created>
                <updated>Thu, 14 Mar 2019 09:19:17 +0000</updated>
                            <resolved>Thu, 14 Mar 2019 09:19:17 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="231924" author="gerrit" created="Tue, 14 Aug 2018 15:38:01 +0000"  >&lt;p&gt;Andriy Skulysh (c17819@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33000&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33000&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11250&quot; title=&quot;Wrong transaction order in mdd_migrate_entries()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11250&quot;&gt;&lt;del&gt;LU-11250&lt;/del&gt;&lt;/a&gt; migrate: Wrong transaction order in mdd_migrate_entries&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 546d862f16570d86a820c621d9aa5ff5525eb04e&lt;/p&gt;</comment>
                            <comment id="243909" author="askulysh" created="Thu, 14 Mar 2019 09:18:59 +0000"  >&lt;p&gt;It isn&apos;t needed after &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4684&quot; title=&quot;DNE3: allow migrating DNE striped directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4684&quot;&gt;&lt;del&gt;LU-4684&lt;/del&gt;&lt;/a&gt;. &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|i000r3:</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>