<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:15:12 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-8165] (tgt_lastrcvd.c:656:tgt_client_del()) lustre-OST0000: client 4294967295: bit already clear in bitmap!!</title>
                <link>https://jira.whamcloud.com/browse/LU-8165</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;With a Lustre 2.5 based version, when trying to find a way to reproduce a leaked cl_object reference situation, likely to occur upon Client eviction from OST, I have triggered the following LBUG when running &quot;while true; do echo &amp;lt;Client-UUID&amp;gt; &amp;gt; /proc/fs/lustre/obdfilter/&amp;lt;OST&amp;gt;/evict_client; done&quot; cmd/loop on the concerned OSS :&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: 702:0:(genops.c:1521:obd_export_evict_by_uuid()) lustre-OST0000: evicting c12f1e59-5f4d-9f75-bd66-7fad18ddd33f at adminstrative request
LustreError: 702:0:(genops.c:1518:obd_export_evict_by_uuid()) lustre-OST0000: can&apos;t disconnect c12f1e59-5f4d-9f75-bd66-7fad18ddd33f: no exports found
LustreError: 702:0:(tgt_lastrcvd.c:656:tgt_client_del()) lustre-OST0000: client 4294967295: bit already clear in bitmap!!
LustreError: 702:0:(tgt_lastrcvd.c:657:tgt_client_del()) LBUG
Pid: 702, comm: bash

Call Trace:
 [&amp;lt;ffffffffa0531895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
 [&amp;lt;ffffffffa0531e97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
 [&amp;lt;ffffffffa12e30ef&amp;gt;] tgt_client_del+0x50f/0x510 [ptlrpc]
 [&amp;lt;ffffffffa1995ace&amp;gt;] ? ofd_grant_discard+0x3e/0x1c0 [ofd]
 [&amp;lt;ffffffffa197b87d&amp;gt;] ofd_obd_disconnect+0xfd/0x1f0 [ofd]
 [&amp;lt;ffffffffa1088a2d&amp;gt;] class_fail_export+0x23d/0x540 [obdclass]
 [&amp;lt;ffffffffa1088e72&amp;gt;] obd_export_evict_by_uuid+0x142/0x240 [obdclass]
 [&amp;lt;ffffffffa0541a31&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
 [&amp;lt;ffffffffa12b7613&amp;gt;] lprocfs_wr_evict_client+0x2d3/0x3b0 [ptlrpc]
 [&amp;lt;ffffffffa10919eb&amp;gt;] lprocfs_fops_write+0x7b/0xa0 [obdclass]
 [&amp;lt;ffffffff811fa65e&amp;gt;] proc_reg_write+0x7e/0xc0
 [&amp;lt;ffffffff8118e7f8&amp;gt;] vfs_write+0xb8/0x1a0
 [&amp;lt;ffffffff8118f1c1&amp;gt;] sys_write+0x51/0x90
 [&amp;lt;ffffffff810e608e&amp;gt;] ? __audit_syscall_exit+0x25e/0x290
 [&amp;lt;ffffffff8100b0d2&amp;gt;] system_call_fastpath+0x16/0x1b

Kernel panic - not syncing: LBUG
Pid: 702, comm: bash Not tainted 2.6.32.504.30.3.el6_lustre #1
Call Trace:
 [&amp;lt;ffffffff8152a81c&amp;gt;] ? panic+0xa7/0x16f
 [&amp;lt;ffffffffa0531eeb&amp;gt;] ? lbug_with_loc+0x9b/0xb0 [libcfs]
 [&amp;lt;ffffffffa12e30ef&amp;gt;] ? tgt_client_del+0x50f/0x510 [ptlrpc]
 [&amp;lt;ffffffffa1995ace&amp;gt;] ? ofd_grant_discard+0x3e/0x1c0 [ofd]
 [&amp;lt;ffffffffa197b87d&amp;gt;] ? ofd_obd_disconnect+0xfd/0x1f0 [ofd]
 [&amp;lt;ffffffffa1088a2d&amp;gt;] ? class_fail_export+0x23d/0x540 [obdclass]
 [&amp;lt;ffffffffa1088e72&amp;gt;] ? obd_export_evict_by_uuid+0x142/0x240 [obdclass]
 [&amp;lt;ffffffffa0541a31&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
 [&amp;lt;ffffffffa12b7613&amp;gt;] ? lprocfs_wr_evict_client+0x2d3/0x3b0 [ptlrpc]
 [&amp;lt;ffffffffa10919eb&amp;gt;] ? lprocfs_fops_write+0x7b/0xa0 [obdclass]
 [&amp;lt;ffffffff811fa65e&amp;gt;] ? proc_reg_write+0x7e/0xc0
 [&amp;lt;ffffffff8118e7f8&amp;gt;] ? vfs_write+0xb8/0x1a0
 [&amp;lt;ffffffff8118f1c1&amp;gt;] ? sys_write+0x51/0x90
 [&amp;lt;ffffffff810e608e&amp;gt;] ? __audit_syscall_exit+0x25e/0x290
 [&amp;lt;ffffffff8100b0d2&amp;gt;] ? system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Problem seems to occur due to a race between Client reconnection and forced eviction processes, because new export can be found using Client uuid but Client&apos;s last_rcvd index has not already been assigned (-1), and as Lustre full debug trace from crash-dump also seems to indicate :&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;00000001:00000001:13.0:1463584027.765801:0:702:0:(tgt_lastrcvd.c:638:tgt_client_del()) Process entered
00000001:00000040:13.0:1463584027.765802:0:702:0:(tgt_lastrcvd.c:650:tgt_client_del()) lustre-OST0000: del client at idx 4294967295, off 0, UUID &apos;c12f1e59-5f4d-9f75-bd66-7fad18ddd33f&apos;
00000001:00000001:20.0:1463584027.765802:0:27360:0:(tgt_lastrcvd.c:536:tgt_client_new()) Process entered
00000001:00000040:20.0:1463584027.765803:0:27360:0:(tgt_lastrcvd.c:565:tgt_client_new()) lustre-OST0000: client at idx 3 with UUID &apos;c12f1e59-5f4d-9f75-bd66-7fad18ddd33f&apos; added
00000001:00020000:13.0:1463584027.765804:0:702:0:(tgt_lastrcvd.c:656:tgt_client_del()) lustre-OST0000: client 4294967295: bit already clear in bitmap!!
00000001:00000040:20.0:1463584027.765804:0:27360:0:(tgt_lastrcvd.c:575:tgt_client_new()) lustre-OST0000: new client at index 3 (8576) with UUID &apos;c12f1e59-5f4d-9f75-bd66-7fad18ddd33f&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;According to the source code, problem is also present in current master.&lt;/p&gt;</description>
                <environment></environment>
        <key id="37067">LU-8165</key>
            <summary>(tgt_lastrcvd.c:656:tgt_client_del()) lustre-OST0000: client 4294967295: bit already clear in bitmap!!</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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="bfaccini">Bruno Faccini</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 May 2016 14:49:32 +0000</created>
                <updated>Sat, 10 Sep 2016 04:20:22 +0000</updated>
                            <resolved>Sat, 10 Sep 2016 04:20:22 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="152834" author="gerrit" created="Thu, 19 May 2016 15:09:49 +0000"  >&lt;p&gt;Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20328&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20328&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8165&quot; title=&quot;(tgt_lastrcvd.c:656:tgt_client_del()) lustre-OST0000: client 4294967295: bit already clear in bitmap!!&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8165&quot;&gt;&lt;del&gt;LU-8165&lt;/del&gt;&lt;/a&gt; target: detect race by checking last_rcvd slot index&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e53872bb83410bbe7ec8e4f24af2c90daf65b16d&lt;/p&gt;</comment>
                            <comment id="165564" author="gerrit" created="Sat, 10 Sep 2016 03:23:46 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/20328/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20328/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8165&quot; title=&quot;(tgt_lastrcvd.c:656:tgt_client_del()) lustre-OST0000: client 4294967295: bit already clear in bitmap!!&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8165&quot;&gt;&lt;del&gt;LU-8165&lt;/del&gt;&lt;/a&gt; target: detect race by checking last_rcvd slot index&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d9869f25f25583da5dadd21c6f99d8204a041321&lt;/p&gt;</comment>
                            <comment id="165578" author="pjones" created="Sat, 10 Sep 2016 04:20:22 +0000"  >&lt;p&gt;Landed for 2.9&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|hzyc6f:</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>