<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:19: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-1735] sanityn 18 hung</title>
                <link>https://jira.whamcloud.com/browse/LU-1735</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Observed this potential recursive locking of mm_sem on orion_head_sync:&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;Lustre: DEBUG MARKER: == sanityn test 18: mmap sanity check =================================== 10:53:49 (1344567229)
INFO: task mmap_sanity:29252 blocked for more than 120 seconds.
&quot;echo 0 &amp;gt; /proc/sys/kernel/hung_task_timeout_secs&quot; disables this message.
mmap_sanity   D 0000000000000000     0 29252  29230 0x00000080
 ffff8800095116e0 0000000000000082 ffff880011a75e40 ffff880009511668
 ffff880022934940 000000000000001d ffff880011a75300 ffff880022934940
 ffff88002f077ab8 ffff880009511fd8 000000000000fb88 ffff88002f077ab8
Call Trace:
 [&amp;lt;ffffffff81500185&amp;gt;] rwsem_down_failed_common+0x95/0x1d0
 [&amp;lt;ffffffff81500316&amp;gt;] rwsem_down_read_failed+0x26/0x30
 [&amp;lt;ffffffff8127e924&amp;gt;] call_rwsem_down_read_failed+0x14/0x30
 [&amp;lt;ffffffff814ff814&amp;gt;] ? down_read+0x24/0x30
 [&amp;lt;ffffffffa030e838&amp;gt;] cfs_get_environ+0x158/0x5f0 [libcfs]
 [&amp;lt;ffffffffa04dd317&amp;gt;] lustre_get_jobid+0x107/0x2c0 [obdclass]
 [&amp;lt;ffffffffa07c1f72&amp;gt;] ptlrpcd_add_req+0x52/0x350 [ptlrpc]
 [&amp;lt;ffffffffa07705db&amp;gt;] ? ldlm_cli_enqueue+0x1eb/0x790 [ptlrpc]
 [&amp;lt;ffffffffa0773aef&amp;gt;] ? ldlm_prep_elc_req+0x23f/0x530 [ptlrpc]
 [&amp;lt;ffffffffa08dd830&amp;gt;] ? osc_ldlm_glimpse_ast+0x0/0x170 [osc]
 [&amp;lt;ffffffffa08c6f96&amp;gt;] osc_enqueue_base+0x426/0x580 [osc]
 [&amp;lt;ffffffffa08dde64&amp;gt;] osc_lock_enqueue+0x204/0x850 [osc]
 [&amp;lt;ffffffffa08df100&amp;gt;] ? osc_lock_upcall+0x0/0x600 [osc]
 [&amp;lt;ffffffffa053491c&amp;gt;] cl_enqueue_try+0xfc/0x300 [obdclass]
 [&amp;lt;ffffffffa09599ea&amp;gt;] lov_lock_enqueue+0x23a/0x830 [lov]
 [&amp;lt;ffffffffa053491c&amp;gt;] cl_enqueue_try+0xfc/0x300 [obdclass]
 [&amp;lt;ffffffffa0535e1d&amp;gt;] cl_enqueue_locked+0x6d/0x210 [obdclass]
 [&amp;lt;ffffffffa0536ace&amp;gt;] cl_lock_request+0x7e/0x280 [obdclass]
 [&amp;lt;ffffffffa0c1765b&amp;gt;] cl_glimpse_lock+0x17b/0x4a0 [lustre]
 [&amp;lt;ffffffffa0c17ee7&amp;gt;] cl_glimpse_size0+0x187/0x190 [lustre]
 [&amp;lt;ffffffffa0c04040&amp;gt;] ll_file_mmap+0xe0/0x220 [lustre]
 [&amp;lt;ffffffff81145b00&amp;gt;] mmap_region+0x400/0x590
 [&amp;lt;ffffffff81145fca&amp;gt;] do_mmap_pgoff+0x33a/0x380
 [&amp;lt;ffffffff81135a00&amp;gt;] sys_mmap_pgoff+0x200/0x2d0
 [&amp;lt;ffffffff810104e9&amp;gt;] sys_mmap+0x29/0x30
 [&amp;lt;ffffffff8100b0f2&amp;gt;] system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Single VM.</environment>
        <key id="15460">LU-1735</key>
            <summary>sanityn 18 hung</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="adilger">Andreas Dilger</assignee>
                                    <reporter username="liwei">Li Wei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Aug 2012 02:54:16 +0000</created>
                <updated>Thu, 20 Sep 2012 00:45:00 +0000</updated>
                            <resolved>Thu, 20 Sep 2012 00:45:00 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                                    <fixVersion>Lustre 2.3.0</fixVersion>
                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="43034" author="jay" created="Fri, 10 Aug 2012 13:25:08 +0000"  >&lt;p&gt;I saw this problem somewhere else. This problem is imported by jobid.&lt;/p&gt;</comment>
                            <comment id="43051" author="adilger" created="Fri, 10 Aug 2012 18:47:19 +0000"  >&lt;p&gt;Moved this over to LU, since this is a bug on master, not only Orion.&lt;/p&gt;

&lt;p&gt;It looks like the problem is that ptlrpc_set_add_req() is always calling lustre_get_jobid(), even though it may have already been set in the request by the caller, and in other cases it isn&apos;t even needed.  That introduces more overhead than necessary, and opens the code to this deadlock under mmap IO, where cfs_access_process_vm() locks mm-&amp;gt;mmap_sem at the same time as the mmap code does.&lt;/p&gt;

&lt;p&gt;I&apos;ve submitted &lt;a href=&quot;http://review.whamcloud.com/3604&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3604&lt;/a&gt; to hopefully fix this problem, and also make the jobid code a bit more efficient.&lt;/p&gt;</comment>
                            <comment id="43433" author="adilger" created="Fri, 17 Aug 2012 15:25:03 +0000"  >&lt;p&gt;Updated patch submitted for testing.&lt;/p&gt;</comment>
                            <comment id="43638" author="pjones" created="Wed, 22 Aug 2012 12:47:26 +0000"  >&lt;p&gt;The blocking fix has landed for both 2.3 and 2.4. Lowering priority but keeping open to track additional code cleanup &lt;/p&gt;</comment>
                            <comment id="44062" author="adilger" created="Fri, 31 Aug 2012 18:07:47 +0000"  >&lt;p&gt;The rest of the cleanup is in &lt;a href=&quot;http://review.whamcloud.com/3713&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3713&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="45126" author="niu" created="Tue, 18 Sep 2012 05:23:17 +0000"  >&lt;p&gt;minor fix for the previous cleanup patch: &lt;a href=&quot;http://review.whamcloud.com/4024&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4024&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="45246" author="pjones" created="Thu, 20 Sep 2012 00:45:00 +0000"  >&lt;p&gt;Landed for 2.3 and 2.4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </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|hzus2n:</customfieldvalue>

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