<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:13:33 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-14877] Lock inversion between inode mutex and layout mutex</title>
                <link>https://jira.whamcloud.com/browse/LU-14877</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;ll_fsync is taking an inode mutex and then creates IO that might go into layout refresh that might take layout mutex and block for IOs to finish&lt;/p&gt;

&lt;p&gt;write path might go into vvp_io_write_start with active IOs already incremented because IO was started and block on the locked inode held by ll_fsync.&lt;/p&gt;

&lt;p&gt;Thus the deadlock.&lt;/p&gt;

&lt;p&gt;It looks like we don&apos;t really need the inode lock held in ll_fsync at at least not for as much? the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-812&quot; title=&quot;Support for Linux 3.0 kernels&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-812&quot;&gt;&lt;del&gt;LU-812&lt;/del&gt;&lt;/a&gt; does not go into a lot of explanations on the reasons behind adding the locking there.&lt;/p&gt;</description>
                <environment></environment>
        <key id="65337">LU-14877</key>
            <summary>Lock inversion between inode mutex and layout mutex</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="green">Oleg Drokin</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Jul 2021 20:02:38 +0000</created>
                <updated>Thu, 16 Sep 2021 21:00:53 +0000</updated>
                            <resolved>Tue, 31 Aug 2021 16:52:43 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="307998" author="gerrit" created="Wed, 21 Jul 2021 20:16:04 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/44368&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44368&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14877&quot; title=&quot;Lock inversion between inode mutex and layout mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14877&quot;&gt;&lt;del&gt;LU-14877&lt;/del&gt;&lt;/a&gt; llite: Remove inode locking in ll_fsync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e5a21157d776b294fbfc3c853c0de887cf1b8223&lt;/p&gt;</comment>
                            <comment id="308439" author="gerrit" created="Mon, 26 Jul 2021 16:39:56 +0000"  >&lt;p&gt;Pushed patch against wrong LU - whoops!&lt;/p&gt;</comment>
                            <comment id="311653" author="gerrit" created="Tue, 31 Aug 2021 05:22:18 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/44368/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44368/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14877&quot; title=&quot;Lock inversion between inode mutex and layout mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14877&quot;&gt;&lt;del&gt;LU-14877&lt;/del&gt;&lt;/a&gt; llite: Remove inode locking in ll_fsync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e8d76d1090e912ee5d916284ca5c8ba9195ddd9b&lt;/p&gt;</comment>
                            <comment id="311724" author="pjones" created="Tue, 31 Aug 2021 16:52:43 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="12300">LU-812</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <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|i01zvr:</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>