<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:15:54 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-1355] LBUG in lovsub_lock_delete_one -- Impossible state: 2 (CLS_ENQUEUED)</title>
                <link>https://jira.whamcloud.com/browse/LU-1355</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hit the following LBUG:&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;2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) lock@ffff8802615024d8[4 2 0 0 0 00000005] P(0):[0, 18446744073709551615]@[0x16b9ac4cbe:0xc:0x0] {
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     vvp@ffff88025946e9e8: 
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     lov@ffff880431e80cf8: 2
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     0 0: ---
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     1 1: lock@ffff8803c465faf8[1 3 0 1 1 00000000] R(1):[0, 18446744073709551615]@[0x100a80000:0x1b3b212:0x0] {
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     lovsub@ffff8801f6d645a0: [1 ffff880431e80cf8 P(0):[0, 18446744073709551615]@[0x16b9ac4cbe:0xc:0x0]] 
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     osc@ffff8803c4694b50: ffff88010cd766c0 00101001 0xe12a56a3ad7ca7fa 3 ffff880428397e48 size: 0 mtime: 1335700029 atime: 1335700029 ctime: 1335700029 blocks: 0
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) } lock@ffff8803c465faf8
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) 
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) } lock@ffff8802615024d8
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) Delete CLS_HELD lock
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:383:lovsub_lock_delete_one()) Impossible state: 2
2012-04-29 07:43:52 LustreError: 83833:0:(lovsub_lock.c:384:lovsub_lock_delete_one()) LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>&lt;a href=&quot;https://github.com/chaos/lustre&quot;&gt;https://github.com/chaos/lustre&lt;/a&gt;</environment>
        <key id="14207">LU-1355</key>
            <summary>LBUG in lovsub_lock_delete_one -- Impossible state: 2 (CLS_ENQUEUED)</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="13929">LU-1299</parent>
                                    <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="3">Duplicate</resolution>
                                        <assignee username="jay">Jinshan Xiong</assignee>
                                    <reporter username="prakash">Prakash Surya</reporter>
                        <labels>
                    </labels>
                <created>Mon, 30 Apr 2012 12:56:48 +0000</created>
                <updated>Fri, 4 May 2012 12:45:18 +0000</updated>
                            <resolved>Fri, 4 May 2012 12:45:17 +0000</resolved>
                                    <version>Lustre 2.1.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="35891" author="jay" created="Mon, 30 Apr 2012 13:22:15 +0000"  >&lt;p&gt;Do you have a stack trace for this?&lt;/p&gt;</comment>
                            <comment id="35892" author="nedbass" created="Mon, 30 Apr 2012 13:37:26 +0000"  >&lt;p&gt;Here&apos;s the stack trace.&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;crash&amp;gt; bt
PID: 72532  TASK: ffff880431796ae0  CPU: 3   COMMAND: &quot;rm&quot;
 #0 [ffff880332151920] machine_kexec at ffffffff8103216b
 #1 [ffff880332151980] crash_kexec at ffffffff810b8c12
 #2 [ffff880332151a50] panic at ffffffff814ee6cf
 #3 [ffff880332151ad0] lbug_with_loc at ffffffffa03e2e1b [libcfs]
 #4 [ffff880332151af0] lovsub_lock_delete at ffffffffa08bfff2 [lov]
 #5 [ffff880332151b50] cl_lock_delete0 at ffffffffa055a665 [obdclass]
 #6 [ffff880332151b80] cl_lock_hold_release at ffffffffa055a816 [obdclass]
 #7 [ffff880332151ba0] cl_lock_unhold at ffffffffa055bf73 [obdclass]
 #8 [ffff880332151bd0] lov_sublock_release at ffffffffa08b7e78 [lov]
 #9 [ffff880332151c20] lov_lock_cancel at ffffffffa08b8ed8 [lov]
#10 [ffff880332151c90] cl_lock_cancel0 at ffffffffa0559715 [obdclass]
#11 [ffff880332151cc0] cl_lock_hold_release at ffffffffa055a7f5 [obdclass]
#12 [ffff880332151ce0] cl_lock_release at ffffffffa055beb2 [obdclass]
#13 [ffff880332151d10] cl_glimpse_lock at ffffffffa09722d6 [lustre]
#14 [ffff880332151d70] cl_glimpse_size at ffffffffa0972914 [lustre]
#15 [ffff880332151dc0] ll_inode_revalidate_it at ffffffffa093ab8a [lustre]
#16 [ffff880332151e00] ll_getattr_it at ffffffffa093acb9 [lustre]
#17 [ffff880332151e30] ll_getattr at ffffffffa093ae17 [lustre]
#18 [ffff880332151e70] vfs_getattr at ffffffff8117cb21
#19 [ffff880332151eb0] vfs_fstatat at ffffffff8117cbb8
#20 [ffff880332151ef0] sys_newfstatat at ffffffff8117cbf4
#21 [ffff880332151f80] system_call_fastpath at ffffffff8100b0f2
    RIP: 00002aaaaada549a  RSP: 00007fffffffd2d8  RFLAGS: 00010246
    RAX: 0000000000000106  RBX: ffffffff8100b0f2  RCX: 3144324c2f303144
    RDX: 000000000060e600  RSI: 000000000060d0f0  RDI: ffffffffffffff9c
    RBP: 000000000060e600   R8: 0000000000000100   R9: 0000000000000000
    R10: 0000000000000100  R11: 0000000000000246  R12: 000000000060d060
    R13: 000000000060e590  R14: 0000000000000004  R15: 000000000060d060
    ORIG_RAX: 0000000000000106  CS: 0033  SS: 002b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="35893" author="prakash" created="Mon, 30 Apr 2012 13:40:56 +0000"  >&lt;p&gt;Sure. This was hit on many nodes, this one printed the stack trace to the console:&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;2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) lock@ffff880320159b38[4 2 0 0 0 00000005] P(0):[0, 18446744073709551615]@[0x1bb30df888:0x4:0x0] {
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     vvp@ffff8803515befb0: 
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     lov@ffff88037119c6e0: 2
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     0 0: ---
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     1 1: lock@ffff88031bb1eeb8[1 3 0 1 1 00000000] R(1):[0, 18446744073709551615]@[0x100950000:0x1a45bfa:0x0] {
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     lovsub@ffff8804276ae3a0: [1 ffff88037119c6e0 P(0):[0, 18446744073709551615]@[0x1bb30df888:0x4:0x0]] 
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one())     osc@ffff880425f1c2b0: ffff8801354436c0 00101001 0x92774b263242bbe4 3 ffff880812898b10 size: 0 mtime: 1335712511 atime: 1335712511 ctime: 1335712511 blocks: 0
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) } lock@ffff88031bb1eeb8
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) 
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) } lock@ffff880320159b38
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:381:lovsub_lock_delete_one()) Delete CLS_HELD lock
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:383:lovsub_lock_delete_one()) Impossible state: 2
2012-04-29 12:15:02 LustreError: 72532:0:(lovsub_lock.c:384:lovsub_lock_delete_one()) LBUG
2012-04-29 12:15:02 Pid: 72532, comm: rm
2012-04-29 12:15:02 
2012-04-29 12:15:02 Call Trace:
2012-04-29 12:15:02  [&amp;lt;ffffffffa03e2895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
2012-04-29 12:15:02  [&amp;lt;ffffffffa03e2dc7&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
2012-04-29 12:15:02  [&amp;lt;ffffffffa08bfff2&amp;gt;] lovsub_lock_delete+0x1a2/0x370 [lov]
2012-04-29 12:15:02  [&amp;lt;ffffffffa055a665&amp;gt;] cl_lock_delete0+0xb5/0x150 [obdclass]
2012-04-29 12:15:02  [&amp;lt;ffffffffa055a816&amp;gt;] cl_lock_hold_release+0x116/0x170 [obdclass]
2012-04-29 12:15:02  [&amp;lt;ffffffffa055bf73&amp;gt;] cl_lock_unhold+0x33/0xc0 [obdclass]
2012-04-29 12:15:02  [&amp;lt;ffffffffa08b7e78&amp;gt;] lov_sublock_release+0x198/0x260 [lov]
2012-04-29 12:15:02  [&amp;lt;ffffffffa08b8ed8&amp;gt;] lov_lock_cancel+0xe8/0x230 [lov]
2012-04-29 12:15:02  [&amp;lt;ffffffffa0559715&amp;gt;] cl_lock_cancel0+0x75/0xf0 [obdclass]
2012-04-29 12:15:02  [&amp;lt;ffffffffa055a7f5&amp;gt;] cl_lock_hold_release+0xf5/0x170 [obdclass]
2012-04-29 12:15:02  [&amp;lt;ffffffffa055beb2&amp;gt;] cl_lock_release+0x82/0x110 [obdclass]
2012-04-29 12:15:02  [&amp;lt;ffffffffa09722d6&amp;gt;] cl_glimpse_lock+0x196/0x330 [lustre]
2012-04-29 12:15:02  [&amp;lt;ffffffffa0972914&amp;gt;] cl_glimpse_size+0x124/0x130 [lustre]
2012-04-29 12:15:02  [&amp;lt;ffffffffa093ab8a&amp;gt;] ll_inode_revalidate_it+0x5a/0x140 [lustre]
2012-04-29 12:15:02  [&amp;lt;ffffffff811843e5&amp;gt;] ? putname+0x45/0x50
2012-04-29 12:15:02  [&amp;lt;ffffffffa093acb9&amp;gt;] ll_getattr_it+0x49/0x170 [lustre]
2012-04-29 12:15:02  [&amp;lt;ffffffffa093ae17&amp;gt;] ll_getattr+0x37/0x40 [lustre]
2012-04-29 12:15:02  [&amp;lt;ffffffff8117cb21&amp;gt;] vfs_getattr+0x51/0x80
2012-04-29 12:15:02  [&amp;lt;ffffffff810d152f&amp;gt;] ? audit_putname+0x3f/0x50
2012-04-29 12:15:02  [&amp;lt;ffffffff8117cbb8&amp;gt;] vfs_fstatat+0x68/0x80
2012-04-29 12:15:02  [&amp;lt;ffffffff8117cbf4&amp;gt;] sys_newfstatat+0x24/0x50
2012-04-29 12:15:02  [&amp;lt;ffffffff8100c5b5&amp;gt;] ? math_state_restore+0x45/0x60
2012-04-29 12:15:02  [&amp;lt;ffffffff8100b0f2&amp;gt;] system_call_fastpath+0x16/0x1b
2012-04-29 12:15:02 
2012-04-29 12:15:02 Apr 29 12:15:02 Kernel panic - not syncing: LBUG
2012-04-29 12:15:02 cab283 kernel: LPid: 72532, comm: rm Not tainted 2.6.32-220.13.1.2chaos.ch5.x86_64 #1
2012-04-29 12:15:02 ustreError: 7253Call Trace:
2012-04-29 12:15:02 2:0:(lovsub_lock [&amp;lt;ffffffff814ee6c8&amp;gt;] ? panic+0x78/0x143
2012-04-29 12:15:02 .c:384:lovsub_lo [&amp;lt;ffffffffa03e2e1b&amp;gt;] ? lbug_with_loc+0x9b/0xb0 [libcfs]
2012-04-29 12:15:02 ck_delete_one()) [&amp;lt;ffffffffa08bfff2&amp;gt;] ? lovsub_lock_delete+0x1a2/0x370 [lov]
2012-04-29 12:15:02  LBUG
2012-04-29 12:15:02 Apr 29 12: [&amp;lt;ffffffffa055a665&amp;gt;] ? cl_lock_delete0+0xb5/0x150 [obdclass]
2012-04-29 12:15:02 15:02 cab283 ker [&amp;lt;ffffffffa055a816&amp;gt;] ? cl_lock_hold_release+0x116/0x170 [obdclass]
2012-04-29 12:15:02 nel: Kernel pani [&amp;lt;ffffffffa055bf73&amp;gt;] ? cl_lock_unhold+0x33/0xc0 [obdclass]
2012-04-29 12:15:02 c - not syncing: [&amp;lt;ffffffffa08b7e78&amp;gt;] ? lov_sublock_release+0x198/0x260 [lov]
2012-04-29 12:15:02  LBUG
2012-04-29 12:15:02  [&amp;lt;ffffffffa08b8ed8&amp;gt;] ? lov_lock_cancel+0xe8/0x230 [lov]
2012-04-29 12:15:02  [&amp;lt;ffffffffa0559715&amp;gt;] ? cl_lock_cancel0+0x75/0xf0 [obdclass]
2012-04-29 12:15:02  [&amp;lt;ffffffffa055a7f5&amp;gt;] ? cl_lock_hold_release+0xf5/0x170 [obdclass]
2012-04-29 12:15:02  [&amp;lt;ffffffffa055beb2&amp;gt;] ? cl_lock_release+0x82/0x110 [obdclass]
2012-04-29 12:15:02  [&amp;lt;ffffffffa09722d6&amp;gt;] ? cl_glimpse_lock+0x196/0x330 [lustre]
2012-04-29 12:15:02  [&amp;lt;ffffffffa0972914&amp;gt;] ? cl_glimpse_size+0x124/0x130 [lustre]
2012-04-29 12:15:02  [&amp;lt;ffffffffa093ab8a&amp;gt;] ? ll_inode_revalidate_it+0x5a/0x140 [lustre]
2012-04-29 12:15:03  [&amp;lt;ffffffff811843e5&amp;gt;] ? putname+0x45/0x50
2012-04-29 12:15:03  [&amp;lt;ffffffffa093acb9&amp;gt;] ? ll_getattr_it+0x49/0x170 [lustre]
2012-04-29 12:15:03  [&amp;lt;ffffffffa093ae17&amp;gt;] ? ll_getattr+0x37/0x40 [lustre]
2012-04-29 12:15:03  [&amp;lt;ffffffff8117cb21&amp;gt;] ? vfs_getattr+0x51/0x80
2012-04-29 12:15:03  [&amp;lt;ffffffff810d152f&amp;gt;] ? audit_putname+0x3f/0x50
2012-04-29 12:15:03  [&amp;lt;ffffffff8117cbb8&amp;gt;] ? vfs_fstatat+0x68/0x80
2012-04-29 12:15:03  [&amp;lt;ffffffff8117cbf4&amp;gt;] ? sys_newfstatat+0x24/0x50
2012-04-29 12:15:03  [&amp;lt;ffffffff8100c5b5&amp;gt;] ? math_state_restore+0x45/0x60
2012-04-29 12:15:03  [&amp;lt;ffffffff8100b0f2&amp;gt;] ? system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We also have a core dump which I can poke at if you need me to.&lt;/p&gt;</comment>
                            <comment id="35897" author="nedbass" created="Mon, 30 Apr 2012 13:53:05 +0000"  >&lt;p&gt;Here is the patch stack that was running at the time.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/chaos/lustre/commits/2.1.1-10chaos&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/chaos/lustre/commits/2.1.1-10chaos&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="35931" author="nedbass" created="Tue, 1 May 2012 19:19:04 +0000"  >&lt;p&gt;Hi Jinshan,&lt;/p&gt;

&lt;p&gt;Do you think this may be a regression in our recent 2.1.1-10chaos tag?  If not, do you have any ideas about the nature of the bug?&lt;/p&gt;</comment>
                            <comment id="35932" author="jay" created="Tue, 1 May 2012 19:26:28 +0000"  >&lt;p&gt;No, this is a pre-existing bug. How often do you hit this one? I&apos;ve found the root cause of this one and am working on 1356.&lt;/p&gt;</comment>
                            <comment id="35933" author="nedbass" created="Tue, 1 May 2012 19:32:01 +0000"  >&lt;p&gt;That&apos;s great news!  We hit it very often.  I just unintentionally reproduced it  running ls on a login node.  I wonder if we landed something that makes it more likely to hit since we never saw it before.&lt;/p&gt;</comment>
                            <comment id="35937" author="jay" created="Wed, 2 May 2012 02:54:02 +0000"  >&lt;p&gt;I need more time on this bug.&lt;/p&gt;

&lt;p&gt;Ned, if you can reproduce this issue quite often, is it possible to collect a debug log at the client side. I need DLMTRACE to be set.&lt;/p&gt;</comment>
                            <comment id="35938" author="jay" created="Wed, 2 May 2012 03:20:22 +0000"  >&lt;p&gt;I confirm that this bug was imported by &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1299&quot; title=&quot;running truncated executable causes spewing of lock debug messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1299&quot;&gt;&lt;del&gt;LU-1299&lt;/del&gt;&lt;/a&gt;. I will cook a patch tomorrow.&lt;/p&gt;</comment>
                            <comment id="35967" author="nedbass" created="Wed, 2 May 2012 12:44:39 +0000"  >&lt;p&gt;Do you still need the debug log?  Now that I&apos;m trying to reproduce it, of course it is being elusive.&lt;/p&gt;</comment>
                            <comment id="35973" author="jay" created="Wed, 2 May 2012 13:33:18 +0000"  >&lt;p&gt;Actually my previous comment was inaccurate. This bug is concealed by &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1299&quot; title=&quot;running truncated executable causes spewing of lock debug messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1299&quot;&gt;&lt;del&gt;LU-1299&lt;/del&gt;&lt;/a&gt; because &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1299&quot; title=&quot;running truncated executable causes spewing of lock debug messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1299&quot;&gt;&lt;del&gt;LU-1299&lt;/del&gt;&lt;/a&gt; should be hit first if it was not fixed.&lt;/p&gt;

&lt;p&gt;Please check patch: &lt;a href=&quot;http://review.whamcloud.com/2632&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2632&lt;/a&gt; for a fix.&lt;/p&gt;

&lt;p&gt;This is still about signal handling problem.&lt;/p&gt;</comment>
                            <comment id="35974" author="jay" created="Wed, 2 May 2012 13:34:13 +0000"  >&lt;p&gt;Ned, I don&apos;t need debug log since I&apos;ve known every details of this bug. Thanks.&lt;/p&gt;</comment>
                            <comment id="35979" author="nedbass" created="Wed, 2 May 2012 14:15:59 +0000"  >&lt;p&gt;Thanks, we&apos;ll give the patch a try.&lt;/p&gt;

&lt;p&gt;I&apos;m not sure that your comment about &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1299&quot; title=&quot;running truncated executable causes spewing of lock debug messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1299&quot;&gt;&lt;del&gt;LU-1299&lt;/del&gt;&lt;/a&gt; concealing this bug is consistent with what we&apos;ve seen.  In particular, AFAIK we&apos;ve only hit &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1299&quot; title=&quot;running truncated executable causes spewing of lock debug messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1299&quot;&gt;&lt;del&gt;LU-1299&lt;/del&gt;&lt;/a&gt; by running a truncated executable, which should be rare.  On the other hand we run into this bug during normal filesystem usage.&lt;/p&gt;

&lt;p&gt;Although, now that I write that, I&apos;m realizing that we have a local bug open about OOMs occurring despite the application is using little real memory.  So perhaps we &lt;em&gt;have&lt;/em&gt; unknowingly been hitting &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1299&quot; title=&quot;running truncated executable causes spewing of lock debug messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1299&quot;&gt;&lt;del&gt;LU-1299&lt;/del&gt;&lt;/a&gt; after all.&lt;/p&gt;</comment>
                            <comment id="35982" author="jay" created="Wed, 2 May 2012 14:47:18 +0000"  >&lt;p&gt;Yes, original code can trigger fake OOM because wrong error code was returned by ll_fault(), so I guess OOM you have seen should go away after &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1299&quot; title=&quot;running truncated executable causes spewing of lock debug messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1299&quot;&gt;&lt;del&gt;LU-1299&lt;/del&gt;&lt;/a&gt; is applied.&lt;/p&gt;

&lt;p&gt;From what I have seen from log, it looks very like that a glimpse of file size was interrupted by a signal. Now that you mentioned it was hit in a normal file system usage like ls, it would exist another path to have the same back trace because ls won&apos;t issue signals afaik.&lt;/p&gt;

&lt;p&gt;Anyway, please you apply this patch and try to reproduce it again, this way we can get more information and move steps forward.&lt;/p&gt;</comment>
                            <comment id="36874" author="nedbass" created="Wed, 2 May 2012 15:00:38 +0000"  >&lt;p&gt;Also note the originally reported occurrences involved rm.&lt;/p&gt;</comment>
                            <comment id="38172" author="jay" created="Fri, 4 May 2012 12:45:18 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1299&quot; title=&quot;running truncated executable causes spewing of lock debug messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1299&quot;&gt;&lt;del&gt;LU-1299&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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|hzvyc7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9747</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>