<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:10:14 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-7593] umount vs tgt_last_rcvd_update deadlock</title>
                <link>https://jira.whamcloud.com/browse/LU-7593</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;    tgt_client_del() and&lt;br/&gt;
    ofd_commitrw_write-&amp;gt;tgt_last_rcvd_update&lt;br/&gt;
    take transaction and ted-&amp;gt;ted_lcd_lock&lt;br/&gt;
    in different order:&lt;/p&gt;

&lt;p&gt;    thread1:&lt;br/&gt;
    osd_trans_start&lt;br/&gt;
    tgt_client_data_update&lt;br/&gt;
    tgt_client_del       &amp;lt;&amp;lt;&amp;lt; mutex_lock(&amp;amp;ted-&amp;gt;ted_lcd_lock);&lt;br/&gt;
    ofd_obd_disconnect&lt;br/&gt;
    class_disconnect_export_list&lt;br/&gt;
    class_disconnect_exports&lt;br/&gt;
    class_cleanup&lt;br/&gt;
    ...&lt;br/&gt;
    sys_umount&lt;/p&gt;

&lt;p&gt;    thread2:&lt;br/&gt;
    __mutex_lock_slowpath&lt;br/&gt;
    mutex_lock          &amp;lt;&amp;lt;&amp;lt; mutex_lock(&amp;amp;ted-&amp;gt;ted_lcd_lock);&lt;br/&gt;
    tgt_last_rcvd_update&lt;br/&gt;
    tgt_txn_stop_cb&lt;br/&gt;
    dt_txn_hook_stop&lt;br/&gt;
    osd_trans_stop&lt;br/&gt;
    ofd_trans_stop&lt;br/&gt;
    ofd_commitrw_write&lt;br/&gt;
    ...&lt;br/&gt;
    tgt_brw_write&lt;/p&gt;</description>
                <environment></environment>
        <key id="33813">LU-7593</key>
            <summary>umount vs tgt_last_rcvd_update deadlock</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="yong.fan">nasf</assignee>
                                    <reporter username="askulysh">Andriy Skulysh</reporter>
                        <labels>
                            <label>bgti</label>
                            <label>patch</label>
                    </labels>
                <created>Tue, 22 Dec 2015 11:38:39 +0000</created>
                <updated>Mon, 27 May 2019 16:23:08 +0000</updated>
                            <resolved>Tue, 25 Oct 2016 03:13:38 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="137168" author="gerrit" created="Tue, 22 Dec 2015 11:39:42 +0000"  >&lt;p&gt;Andriy Skulysh (andriy.skulysh@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17703&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17703&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7593&quot; title=&quot;umount vs tgt_last_rcvd_update deadlock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7593&quot;&gt;&lt;del&gt;LU-7593&lt;/del&gt;&lt;/a&gt; target: umount vs tgt_last_rcvd_update deadlock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f3e97908af29d76962bd20542f7c20ff9e4c3fe8&lt;/p&gt;</comment>
                            <comment id="137169" author="gerrit" created="Tue, 22 Dec 2015 12:11:23 +0000"  >&lt;p&gt;Andriy Skulysh (andriy.skulysh@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17704&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17704&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7593&quot; title=&quot;umount vs tgt_last_rcvd_update deadlock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7593&quot;&gt;&lt;del&gt;LU-7593&lt;/del&gt;&lt;/a&gt; target: umount vs tgt_last_rcvd_update deadlock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2c3f38babef3a657e5a6e0dc022ec273ae0447a1&lt;/p&gt;</comment>
                            <comment id="137207" author="pjones" created="Tue, 22 Dec 2015 18:37:45 +0000"  >&lt;p&gt;Andriy&lt;/p&gt;

&lt;p&gt;Could you please elaborate as to why there are two patches here? Was this issue hit in testing on master?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="137257" author="askulysh" created="Wed, 23 Dec 2015 10:18:32 +0000"  >&lt;p&gt;I forgot to add a test for the deadlock. Second patch contains both  test and  fix&lt;/p&gt;</comment>
                            <comment id="137265" author="pjones" created="Wed, 23 Dec 2015 13:09:44 +0000"  >&lt;p&gt;Ah I see. So only the second patch is intended to land and the first one will be abandoned?&lt;/p&gt;</comment>
                            <comment id="137445" author="askulysh" created="Fri, 25 Dec 2015 09:56:46 +0000"  >&lt;p&gt;Yes, only second patch is needed.&lt;/p&gt;</comment>
                            <comment id="164745" author="gerrit" created="Fri, 2 Sep 2016 02:23:56 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17704/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17704/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7593&quot; title=&quot;umount vs tgt_last_rcvd_update deadlock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7593&quot;&gt;&lt;del&gt;LU-7593&lt;/del&gt;&lt;/a&gt; target: umount vs tgt_last_rcvd_update deadlock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9197849bc761f7fbbdee65916ad1346eec79d412&lt;/p&gt;</comment>
                            <comment id="164771" author="pjones" created="Fri, 2 Sep 2016 04:46:08 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                            <comment id="169400" author="yong.fan" created="Thu, 13 Oct 2016 05:29:42 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I forgot to add a test for the deadlock. Second patch contains both test and fix&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The 2nd patch &lt;a href=&quot;http://review.whamcloud.com/#/c/17704/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/17704/&lt;/a&gt; does NOT contain test. So I think you refer to the 1st patch &lt;a href=&quot;http://review.whamcloud.com/#/c/17703/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/17703/&lt;/a&gt; ?&lt;br/&gt;
And the two patches looks quite different.&lt;/p&gt;</comment>
                            <comment id="169415" author="gerrit" created="Thu, 13 Oct 2016 09:47:38 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23129&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23129&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7593&quot; title=&quot;umount vs tgt_last_rcvd_update deadlock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7593&quot;&gt;&lt;del&gt;LU-7593&lt;/del&gt;&lt;/a&gt; target: take ted_lcd_lock after transaction started&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 57ab9916062248a102bbe7938509c41390c67e0c&lt;/p&gt;</comment>
                            <comment id="170875" author="gerrit" created="Tue, 25 Oct 2016 02:24:22 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/23129/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23129/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7593&quot; title=&quot;umount vs tgt_last_rcvd_update deadlock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7593&quot;&gt;&lt;del&gt;LU-7593&lt;/del&gt;&lt;/a&gt; target: take ted_lcd_lock after transaction started&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cbca8055b75d084bc6554d1a06f3cd8ccf2f8c09&lt;/p&gt;</comment>
                            <comment id="170884" author="yong.fan" created="Tue, 25 Oct 2016 03:13:38 +0000"  >&lt;p&gt;The patch &lt;a href=&quot;http://review.whamcloud.com/23129/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23129/&lt;/a&gt; has been landed to Lustre-2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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|hzxwkf:</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>