<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:06:09 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-7119] possible circular locking dependency detected</title>
                <link>https://jira.whamcloud.com/browse/LU-7119</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;#sh lustre/tests/llmount.sh&lt;/p&gt;

&lt;p&gt;Lustre: Setting parameter lustre-MDT0000-mdtlov.lov.stripesize in log lustre-MDT0000&lt;/p&gt;

&lt;p&gt;llog_process_th/3053 is trying to acquire lock:&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; (&amp;amp;sb-&amp;gt;s_type-&amp;gt;i_mutex_key#13){+.+.+.}, at: [&amp;lt;ffffffffa0b10fee&amp;gt;] osd_obj_add_entry+0x13e/0x510 [osd_ldiskfs]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;but task is already holding lock:&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; (&amp;amp;mo-&amp;gt;oo_sem){++++..}, at: [&amp;lt;ffffffffa0af07df&amp;gt;] osd_object_write_lock+0x9f/0x13 0 [osd_ldiskfs]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;which lock already depends on the new lock.&lt;/p&gt;

&lt;p&gt;the existing dependency chain (in reverse order) is:&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;-&amp;gt; #2 (&amp;amp;mo-&amp;gt;oo_sem){++++..}:
       [&amp;lt;ffffffff810b92c6&amp;gt;] __lock_acquire+0xef6/0x1570
       [&amp;lt;ffffffff810b99ec&amp;gt;] lock_acquire+0xac/0x120
       [&amp;lt;ffffffff810a45c5&amp;gt;] down_write_nested+0x65/0xb0
       [&amp;lt;ffffffffa0af07df&amp;gt;] osd_object_write_lock+0x9f/0x130 [osd_ldiskfs]
       [&amp;lt;ffffffffa03d816a&amp;gt;] llog_osd_create+0xba/0x920 [obdclass]
       [&amp;lt;ffffffffa03c28b1&amp;gt;] llog_create+0x81/0x1e0 [obdclass]
       [&amp;lt;ffffffffa03c386b&amp;gt;] llog_open_create+0x2fb/0x3e0 [obdclass]
       [&amp;lt;ffffffffa0b891e8&amp;gt;] mgs_find_or_make_fsdb+0x418/0x1370 [mgs]
       [&amp;lt;ffffffffa0b7ad38&amp;gt;] mgs_target_reg+0x978/0xe50 [mgs]
       [&amp;lt;ffffffffa06a0074&amp;gt;] tgt_request_handle+0xa74/0x12b0 [ptlrpc]
       [&amp;lt;ffffffffa064a8ba&amp;gt;] ptlrpc_main+0xdaa/0x18b0 [ptlrpc]
       [&amp;lt;ffffffff8109e836&amp;gt;] kthread+0x96/0xa0
       [&amp;lt;ffffffff8100c30a&amp;gt;] child_rip+0xa/0x20

-&amp;gt; #1 (jbd2_handle){+.+...}:
       [&amp;lt;ffffffff810b92c6&amp;gt;] __lock_acquire+0xef6/0x1570
       [&amp;lt;ffffffff810b99ec&amp;gt;] lock_acquire+0xac/0x120
       [&amp;lt;ffffffffa0092272&amp;gt;] start_this_handle+0x402/0x4d0 [jbd2]
       [&amp;lt;ffffffffa0092553&amp;gt;] jbd2_journal_start+0xd3/0x110 [jbd2]
       [&amp;lt;ffffffffa0ab4ee6&amp;gt;] ldiskfs_journal_start_sb+0x56/0xe0 [ldiskfs]
       [&amp;lt;ffffffffa0ab5323&amp;gt;] ldiskfs_dquot_initialize+0x63/0xd0 [ldiskfs]
       [&amp;lt;ffffffff811ade16&amp;gt;] vfs_dq_init+0x56/0x60
       [&amp;lt;ffffffff811b02b0&amp;gt;] vfs_create+0xd0/0x110
       [&amp;lt;ffffffff811b398e&amp;gt;] do_filp_open+0xa8e/0xd30
       [&amp;lt;ffffffff8119d429&amp;gt;] do_sys_open+0x69/0x140
       [&amp;lt;ffffffff8119d540&amp;gt;] sys_open+0x20/0x30
       [&amp;lt;ffffffff8100b072&amp;gt;] system_call_fastpath+0x16/0x1b

-&amp;gt; #0 (&amp;amp;sb-&amp;gt;s_type-&amp;gt;i_mutex_key#13){+.+.+.}:
       [&amp;lt;ffffffff810b98be&amp;gt;] __lock_acquire+0x14ee/0x1570
       [&amp;lt;ffffffff810b99ec&amp;gt;] lock_acquire+0xac/0x120
       [&amp;lt;ffffffff81551f0c&amp;gt;] __mutex_lock_common+0x4c/0x400
       [&amp;lt;ffffffff8155242a&amp;gt;] mutex_lock_nested+0x4a/0x60
       [&amp;lt;ffffffffa0b10fee&amp;gt;] osd_obj_add_entry+0x13e/0x510 [osd_ldiskfs]
       [&amp;lt;ffffffffa0b12b96&amp;gt;] osd_obj_spec_insert+0x76/0x130 [osd_ldiskfs]
       [&amp;lt;ffffffffa0b01c06&amp;gt;] osd_oi_insert+0x66/0x4d0 [osd_ldiskfs]
       [&amp;lt;ffffffffa0afebeb&amp;gt;] osd_object_ea_create+0x62b/0xcc0 [osd_ldiskfs]
       [&amp;lt;ffffffffa04174bf&amp;gt;] dt_find_or_create+0x40f/0x930 [obdclass]
       [&amp;lt;ffffffffa01ae152&amp;gt;] fld_index_init+0x142/0xacc [fld]
       [&amp;lt;ffffffffa01aaccb&amp;gt;] fld_server_init+0xab/0x3d0 [fld]
       [&amp;lt;ffffffffa0c25031&amp;gt;] mdt_device_alloc+0x511/0x1260 [mdt]
       [&amp;lt;ffffffffa03f95ff&amp;gt;] obd_setup+0x1bf/0x290 [obdclass]
       [&amp;lt;ffffffffa03f992e&amp;gt;] class_setup+0x25e/0x940 [obdclass]
       [&amp;lt;ffffffffa0400211&amp;gt;] class_process_config+0x1151/0x26e0 [obdclass]
       [&amp;lt;ffffffffa04031c6&amp;gt;] class_config_llog_handler+0xc16/0x1fb0 [obdclass]
       [&amp;lt;ffffffffa03c6332&amp;gt;] llog_process_thread+0x932/0xfc0 [obdclass]
       [&amp;lt;ffffffffa03c6f08&amp;gt;] llog_process_thread_daemonize+0x48/0x70 [obdclass]
       [&amp;lt;ffffffff8109e836&amp;gt;] kthread+0x96/0xa0
       [&amp;lt;ffffffff8100c30a&amp;gt;] child_rip+0xa/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;other info that might help us debug this:&lt;/p&gt;

&lt;p&gt;2 locks held by llog_process_th/3053:&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; #0:  (jbd2_handle){+.+...}, at: [&amp;lt;ffffffffa0092218&amp;gt;] start_this_handle+0x3a8/0x
4d0 [jbd2]
 #1:  (&amp;amp;mo-&amp;gt;oo_sem){++++..}, at: [&amp;lt;ffffffffa0af07df&amp;gt;] osd_object_write_lock+0x9f
/0x130 [osd_ldiskfs]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;stack backtrace:&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;Pid: 3053, comm: llog_process_th Tainted: G        W  --------------- H  2.6.32
#4
Call Trace:
 [&amp;lt;ffffffff810b6943&amp;gt;] ? print_circular_bug+0xf3/0x100
 [&amp;lt;ffffffff810b98be&amp;gt;] ? __lock_acquire+0x14ee/0x1570
 [&amp;lt;ffffffff810b99ec&amp;gt;] ? lock_acquire+0xac/0x120
 [&amp;lt;ffffffffa0b10fee&amp;gt;] ? osd_obj_add_entry+0x13e/0x510 [osd_ldiskfs]
 [&amp;lt;ffffffffa0b112bb&amp;gt;] ? osd_obj_add_entry+0x40b/0x510 [osd_ldiskfs]
 [&amp;lt;ffffffff81551f0c&amp;gt;] ? __mutex_lock_common+0x4c/0x400
 [&amp;lt;ffffffffa0b10fee&amp;gt;] ? osd_obj_add_entry+0x13e/0x510 [osd_ldiskfs]
 [&amp;lt;ffffffffa0b10fee&amp;gt;] ? osd_obj_add_entry+0x13e/0x510 [osd_ldiskfs]
 [&amp;lt;ffffffffa0ab4e58&amp;gt;] ? __ldiskfs_journal_stop+0x68/0xa0 [ldiskfs]
 [&amp;lt;ffffffff8155242a&amp;gt;] ? mutex_lock_nested+0x4a/0x60
 [&amp;lt;ffffffffa0b10fee&amp;gt;] ? osd_obj_add_entry+0x13e/0x510 [osd_ldiskfs]
 [&amp;lt;ffffffffa0b12b96&amp;gt;] ? osd_obj_spec_insert+0x76/0x130 [osd_ldiskfs]
 [&amp;lt;ffffffffa0b09540&amp;gt;] ? iam_lfix_ipd_alloc+0x0/0x20 [osd_ldiskfs]
 [&amp;lt;ffffffffa0b01c06&amp;gt;] ? osd_oi_insert+0x66/0x4d0 [osd_ldiskfs]
 [&amp;lt;ffffffff811c6892&amp;gt;] ? generic_setxattr+0xa2/0xb0
 [&amp;lt;ffffffffa0aea956&amp;gt;] ? osd_trans_exec_op+0x36/0x350 [osd_ldiskfs]
 [&amp;lt;ffffffffa0afebeb&amp;gt;] ? osd_object_ea_create+0x62b/0xcc0 [osd_ldiskfs]
 [&amp;lt;ffffffffa04174bf&amp;gt;] ? dt_find_or_create+0x40f/0x930 [obdclass]
 [&amp;lt;ffffffffa01ae152&amp;gt;] ? fld_index_init+0x142/0xacc [fld]
 [&amp;lt;ffffffffa01a84fa&amp;gt;] ? fld_cache_init+0x14a/0x340 [fld]
 [&amp;lt;ffffffffa01aaccb&amp;gt;] ? fld_server_init+0xab/0x3d0 [fld]
 [&amp;lt;ffffffffa0c25031&amp;gt;] ? mdt_device_alloc+0x511/0x1260 [mdt]
 [&amp;lt;ffffffffa03f95ff&amp;gt;] ? obd_setup+0x1bf/0x290 [obdclass]
 [&amp;lt;ffffffffa03f992e&amp;gt;] ? class_setup+0x25e/0x940 [obdclass]
 [&amp;lt;ffffffffa0400211&amp;gt;] ? class_process_config+0x1151/0x26e0 [obdclass]
 [&amp;lt;ffffffff811823f2&amp;gt;] ? cache_alloc_debugcheck_after+0x152/0x290
 [&amp;lt;ffffffff81537dc0&amp;gt;] ? kmemleak_alloc+0x20/0xd0
 [&amp;lt;ffffffff81185b6a&amp;gt;] ? __kmalloc+0x29a/0x310
 [&amp;lt;ffffffffa040303f&amp;gt;] ? class_config_llog_handler+0xa8f/0x1fb0 [obdclass]
 [&amp;lt;ffffffffa04031c6&amp;gt;] ? class_config_llog_handler+0xc16/0x1fb0 [obdclass]
 [&amp;lt;ffffffff81551cfe&amp;gt;] ? mutex_unlock+0xe/0x10
 [&amp;lt;ffffffffa03c6332&amp;gt;] ? llog_process_thread+0x932/0xfc0 [obdclass]
 [&amp;lt;ffffffffa03c6f08&amp;gt;] ? llog_process_thread_daemonize+0x48/0x70 [obdclass]
 [&amp;lt;ffffffffa03c6ec0&amp;gt;] ? llog_process_thread_daemonize+0x0/0x70 [obdclass]
 [&amp;lt;ffffffff8109e836&amp;gt;] ? kthread+0x96/0xa0
 [&amp;lt;ffffffff8100c30a&amp;gt;] ? child_rip+0xa/0x20
 [&amp;lt;ffffffff8100bb10&amp;gt;] ? restore_args+0x0/0x30
 [&amp;lt;ffffffff8109e7a0&amp;gt;] ? kthread+0x0/0xa0
 [&amp;lt;ffffffff8100c300&amp;gt;] ? child_rip+0x0/0x20
Lustre: ctl-lustre-MDT0000: No data found on store. Initialize space
Lustre: lustre-MDT0000: new disk, initializing
Lustre: ctl-lustre-MDT0000: super-sequence allocation rc = 0 [0x0000000200000400
-0x0000000240000400):0:mdt
LDISKFS-fs (loop1): mounted filesystem with ordered data mode. quota=on. Opts:
LDISKFS-fs (loop1): mounted filesystem with ordered data mode. quota=on. Opts:
Lustre: lustre-OST0000: new disk, initializing
Lustre: srv-lustre-OST0000: No data found on store. Initialize space
Lustre: Skipped 1 previous similar message
LDISKFS-fs (loop2): mounted filesystem with ordered data mode. quota=on. Opts:
LDISKFS-fs (loop2): mounted filesystem with ordered data mode. quota=on. Opts:
Lustre: Mounted lustre-client
Lustre: DEBUG MARKER: Using TIMEOUT=20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Single Node Setup, Scientific Linux (2.6.32-431.17.1.el6.x86_64-Lustre), 2.7.59-16-gb8d51c4</environment>
        <key id="32000">LU-7119</key>
            <summary>possible circular locking dependency detected</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="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="5">Cannot Reproduce</resolution>
                                        <assignee username="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="maximus">Ashish Purkar</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Sep 2015 06:47:22 +0000</created>
                <updated>Thu, 16 Apr 2020 08:30:34 +0000</updated>
                            <resolved>Thu, 16 Apr 2020 08:30:34 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                    <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|hzxmxb:</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>