<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:44:27 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-4627] Client deadlock on ll_setattr_raw</title>
                <link>https://jira.whamcloud.com/browse/LU-4627</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While investigating &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3732&quot; title=&quot;osd_io.c:320:osd_do_bio()) ASSERTION( iobuf-&amp;gt;dr_rw == 0 ) failed: page_idx 4, block_idx 4, i 0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3732&quot;&gt;&lt;del&gt;LU-3732&lt;/del&gt;&lt;/a&gt; I&apos;ve regularly bumped into what seems to be a deadlock on lli_trunc_sem, according to the trace below: &lt;/p&gt;

&lt;p&gt;Call Trace:&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81511655&amp;gt;&amp;#93;&lt;/span&gt; rwsem_down_failed_common+0x95/0x1d0&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff815117b3&amp;gt;&amp;#93;&lt;/span&gt; rwsem_down_write_failed+0x23/0x30&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81284163&amp;gt;&amp;#93;&lt;/span&gt; call_rwsem_down_write_failed+0x13/0x20&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81510cb2&amp;gt;&amp;#93;&lt;/span&gt; ? down_write+0x32/0x40&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0e03fe1&amp;gt;&amp;#93;&lt;/span&gt; ll_setattr_raw+0x191/0x10c0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810758c7&amp;gt;&amp;#93;&lt;/span&gt; ? current_fs_time+0x27/0x30&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0e04f6d&amp;gt;&amp;#93;&lt;/span&gt; ll_setattr+0x5d/0xf0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8119ec18&amp;gt;&amp;#93;&lt;/span&gt; notify_change+0x168/0x340&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa06bb3bb&amp;gt;&amp;#93;&lt;/span&gt; ? libcfs_debug_vmsg2+0x50b/0xbb0 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff811197ef&amp;gt;&amp;#93;&lt;/span&gt; file_remove_suid+0x5f/0x90&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8111c2c0&amp;gt;&amp;#93;&lt;/span&gt; __generic_file_aio_write+0x220/0x490&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa06bbaa1&amp;gt;&amp;#93;&lt;/span&gt; ? libcfs_debug_msg+0x41/0x50 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8111c5b8&amp;gt;&amp;#93;&lt;/span&gt; generic_file_aio_write+0x88/0x100&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0e4353b&amp;gt;&amp;#93;&lt;/span&gt; vvp_io_write_start+0xdb/0x3d0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa08cbcaa&amp;gt;&amp;#93;&lt;/span&gt; cl_io_start+0x6a/0x140 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa08cfe24&amp;gt;&amp;#93;&lt;/span&gt; cl_io_loop+0xb4/0x1b0 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0de2a36&amp;gt;&amp;#93;&lt;/span&gt; ll_file_io_generic+0x2b6/0x710 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa08bfdf9&amp;gt;&amp;#93;&lt;/span&gt; ? cl_env_get+0x29/0x350 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0de3702&amp;gt;&amp;#93;&lt;/span&gt; ll_file_aio_write+0x142/0x2c0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0de39ec&amp;gt;&amp;#93;&lt;/span&gt; ll_file_write+0x16c/0x2a0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff811814b8&amp;gt;&amp;#93;&lt;/span&gt; vfs_write+0xb8/0x1a0&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81181e72&amp;gt;&amp;#93;&lt;/span&gt; sys_pwrite64+0x82/0xa0&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8100b072&amp;gt;&amp;#93;&lt;/span&gt; system_call_fastpath+0x16/0x1b&lt;/p&gt;

&lt;p&gt;It seems to me that the down_read() in ll_file_io_generic() should only be done if iot == CIT_READ since in the write case, we down_write() later.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23142">LU-4627</key>
            <summary>Client deadlock on ll_setattr_raw</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="hdoreau">Henri Doreau</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Feb 2014 13:04:36 +0000</created>
                <updated>Tue, 12 Jul 2016 17:39:26 +0000</updated>
                            <resolved>Mon, 10 Mar 2014 23:45:53 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="76963" author="pjones" created="Thu, 13 Feb 2014 14:29:00 +0000"  >&lt;p&gt;Bobijam&lt;/p&gt;

&lt;p&gt;Could you please advise on this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="77002" author="green" created="Thu, 13 Feb 2014 18:18:50 +0000"  >&lt;p&gt;What&apos;s the version of Lustre being used here?&lt;/p&gt;</comment>
                            <comment id="77015" author="hdoreau" created="Thu, 13 Feb 2014 20:29:11 +0000"  >&lt;p&gt;This is the current HEAD&lt;/p&gt;</comment>
                            <comment id="77053" author="bobijam" created="Fri, 14 Feb 2014 02:25:31 +0000"  >&lt;p&gt;I think you are right about it. patch tracking at &lt;a href=&quot;http://review.whamcloud.com/9267&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9267&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="78952" author="pjones" created="Mon, 10 Mar 2014 23:45:53 +0000"  >&lt;p&gt;Landed for 2.6&lt;/p&gt;</comment>
                            <comment id="96142" author="simmonsja" created="Fri, 10 Oct 2014 18:58:44 +0000"  >&lt;p&gt;Patch backport for b2_5 at &lt;a href=&quot;http://review.whamcloud.com/#/c/12268&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/12268&lt;/a&gt;. I&apos;m hoping this will fix some performance issues with truncates I have seen.&lt;/p&gt;</comment>
                            <comment id="100733" author="gerrit" created="Thu, 4 Dec 2014 20:20:51 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12268/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12268/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4627&quot; title=&quot;Client deadlock on ll_setattr_raw&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4627&quot;&gt;&lt;del&gt;LU-4627&lt;/del&gt;&lt;/a&gt; llite: deed taking lli_trunc_sem during file write&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8a2fe616a959f18a928d4edf185467cbf905c355&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="23458">LU-4710</issuekey>
        </issuelink>
                            </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|hzwf1j:</customfieldvalue>

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