<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:50:34 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-5331] qsd_handler.c:1139:qsd_op_adjust()) ASSERTION( qqi ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-5331</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Had this crash happen on the tip of master as of yesterday running test 900 of sanity.sh:&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;lt;3&amp;gt;[109552.952152] LustreError: 12574:0:(client.c:1079:ptlrpc_import_delay_req()) @@@ IMP_CLOSED   req@ffff88001bd78be8 x1473227759636904/t0(0) o13-&amp;gt;lustre-OST0000-osc-MDT0000@0@lo:7/4 lens 224/368 e 0 to 0 dl 0 ref 1 fl Rpc:/0/ffffffff rc 0/-1
&amp;lt;3&amp;gt;[109552.954088] LustreError: 12574:0:(client.c:1079:ptlrpc_import_delay_req()) Skipped 1032 previous similar messages
&amp;lt;4&amp;gt;[109556.157386] Lustre: server umount lustre-MDT0000 complete
&amp;lt;0&amp;gt;[109556.443175] LustreError: 59:0:(qsd_handler.c:1139:qsd_op_adjust()) ASSERTION( qqi ) failed: 
&amp;lt;0&amp;gt;[109556.443758] LustreError: 59:0:(qsd_handler.c:1139:qsd_op_adjust()) LBUG
&amp;lt;4&amp;gt;[109556.444090] Pid: 59, comm: kswapd0
&amp;lt;4&amp;gt;[109556.444347] 
&amp;lt;4&amp;gt;[109556.444348] Call Trace:
&amp;lt;4&amp;gt;[109556.444843]  [&amp;lt;ffffffffa0a9c8a5&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
&amp;lt;4&amp;gt;[109556.445208]  [&amp;lt;ffffffffa0a9cea7&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
&amp;lt;4&amp;gt;[109556.445581]  [&amp;lt;ffffffffa08d671c&amp;gt;] qsd_op_adjust+0x4cc/0x5a0 [lquota]
&amp;lt;4&amp;gt;[109556.445972]  [&amp;lt;ffffffff811a6c7d&amp;gt;] ? generic_drop_inode+0x1d/0x80
&amp;lt;4&amp;gt;[109556.446306]  [&amp;lt;ffffffffa09ba8af&amp;gt;] osd_object_delete+0x1ff/0x2d0 [osd_ldiskfs]
&amp;lt;4&amp;gt;[109556.446858]  [&amp;lt;ffffffffa0c507b1&amp;gt;] lu_object_free+0x81/0x1a0 [obdclass]
&amp;lt;4&amp;gt;[109556.447211]  [&amp;lt;ffffffffa0ab28e2&amp;gt;] ? cfs_hash_bd_from_key+0x42/0xd0 [libcfs]
&amp;lt;4&amp;gt;[109556.447568]  [&amp;lt;ffffffffa0c51827&amp;gt;] lu_site_purge+0x2c7/0x4c0 [obdclass]
&amp;lt;4&amp;gt;[109556.447915]  [&amp;lt;ffffffffa0c51ba8&amp;gt;] lu_cache_shrink+0x188/0x310 [obdclass]
&amp;lt;4&amp;gt;[109556.448237]  [&amp;lt;ffffffff8113712d&amp;gt;] shrink_slab+0x13d/0x1c0
&amp;lt;4&amp;gt;[109556.448547]  [&amp;lt;ffffffff8113a58a&amp;gt;] balance_pgdat+0x5ba/0x830
&amp;lt;4&amp;gt;[109556.448856]  [&amp;lt;ffffffff81140676&amp;gt;] ? set_pgdat_percpu_threshold+0xa6/0xd0
&amp;lt;4&amp;gt;[109556.449198]  [&amp;lt;ffffffff8113a934&amp;gt;] kswapd+0x134/0x3b0
&amp;lt;4&amp;gt;[109556.449486]  [&amp;lt;ffffffff81098f90&amp;gt;] ? autoremove_wake_function+0x0/0x40
&amp;lt;4&amp;gt;[109556.449810]  [&amp;lt;ffffffff8113a800&amp;gt;] ? kswapd+0x0/0x3b0
&amp;lt;4&amp;gt;[109556.450097]  [&amp;lt;ffffffff81098c06&amp;gt;] kthread+0x96/0xa0
&amp;lt;4&amp;gt;[109556.450423]  [&amp;lt;ffffffff8100c24a&amp;gt;] child_rip+0xa/0x20
&amp;lt;4&amp;gt;[109556.450736]  [&amp;lt;ffffffff81098b70&amp;gt;] ? kthread+0x0/0xa0
&amp;lt;4&amp;gt;[109556.451027]  [&amp;lt;ffffffff8100c240&amp;gt;] ? child_rip+0x0/0x20
&amp;lt;4&amp;gt;[109556.451516] 
&amp;lt;0&amp;gt;[109556.452221] LustreError: 32249:0:(ofd_dev.c:2296:ofd_fini()) ASSERTION( atomic_read(&amp;amp;d-&amp;gt;ld_ref) == 0 ) failed: 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;tag in my tree: master-20140710&lt;br/&gt;
crashdump and modules: /exports/crashdumps/192.168.10.219-2014-07-10-04\:14\:17/&lt;/p&gt;</description>
                <environment></environment>
        <key id="25538">LU-5331</key>
            <summary>qsd_handler.c:1139:qsd_op_adjust()) ASSERTION( qqi ) failed</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="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="niu">Niu Yawei</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Jul 2014 04:25:59 +0000</created>
                <updated>Thu, 20 Jan 2022 15:48:32 +0000</updated>
                            <resolved>Wed, 30 Jul 2014 03:11:12 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="88804" author="niu" created="Fri, 11 Jul 2014 09:32:44 +0000"  >&lt;p&gt;This looks a general race of umount thread vs. slab shrink thread.&lt;/p&gt;

&lt;p&gt;1. memory reclaim thread (kswapd, for exmaple) calls lu_site_purge(nr) to purge some lu_objects;&lt;br/&gt;
2. umount process calls lu_site_purge(-1) to try to purge all lu_objects, since some objects have been removed from lu_site by the kswapd, this lu_site_purge(-1) won&apos;t process on these objects;&lt;br/&gt;
3. umount process continue and hit  ASSERTION( atomic_read(&amp;amp;d-&amp;gt;ld_ref) == 0 ), because some objects are being processed by kswapd now;&lt;br/&gt;
4. kswapd continue and hit ASSERTION( qqi ), because the qsd_instance has been freed by umount process;&lt;/p&gt;

&lt;p&gt;It looks to me that ofd_stack_fini() and mdt_stack_fini() needs be improved to address such kind of race. I don&apos;t quite understand why we always called lu_purge_site(-1) twice in ofd_statck_fini() &amp;amp; mdt_stack_fini().&lt;/p&gt;</comment>
                            <comment id="88908" author="niu" created="Mon, 14 Jul 2014 03:23:55 +0000"  >&lt;p&gt;Alex/Tappro, why do we have to call lu_site_purge() twice in ofd_stack_fini() &amp;amp; mdt_statck_fini()? Thanks.&lt;/p&gt;</comment>
                            <comment id="89002" author="niu" created="Tue, 15 Jul 2014 03:22:23 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/11099&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11099&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="90415" author="niu" created="Wed, 30 Jul 2014 03:11:12 +0000"  >&lt;p&gt;patch landed for 2.6&lt;/p&gt;</comment>
                            <comment id="96462" author="isaac" created="Thu, 16 Oct 2014 03:14:16 +0000"  >&lt;p&gt;The lu_site::ls_purge_mutex added by the patch may hurt osd-zfs object creation rate, see &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5749&quot; title=&quot;osd-zfs: object creation may serialize on lu_site::ls_purge_mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5749&quot;&gt;&lt;del&gt;LU-5749&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="28077">LU-6089</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27038">LU-5749</issuekey>
        </issuelink>
                            </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|hzwr73:</customfieldvalue>

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