<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:29:35 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-2941] Oops in lu_site_stats_print()</title>
                <link>https://jira.whamcloud.com/browse/LU-2941</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;To reproduce run &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;while true; do cat /proc/fs/lustre/llite/*/site &amp;amp;&amp;gt; /dev/null; done &amp;amp;
llmount.sh 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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: 2221   TASK: ffff88018da2a040  CPU: 1   COMMAND: &quot;cat&quot;
 #0 [ffff8801671c18d0] machine_kexec at ffffffff81031f7b
 #1 [ffff8801671c1930] crash_kexec at ffffffff810b8c22
 #2 [ffff8801671c1a00] oops_end at ffffffff814eef80
 #3 [ffff8801671c1a30] no_context at ffffffff81042a0b
 #4 [ffff8801671c1a80] __bad_area_nosemaphore at ffffffff81042c95
 #5 [ffff8801671c1ad0] bad_area at ffffffff81042dbe
 #6 [ffff8801671c1b00] __do_page_fault at ffffffff81043570
 #7 [ffff8801671c1c20] do_page_fault at ffffffff814f0f5e
 #8 [ffff8801671c1c50] page_fault at ffffffff814ee315
    [exception RIP: lu_site_stats_print+66]
    RIP: ffffffffa10a4752  RSP: ffff8801671c1d08  RFLAGS: 00010282
    RAX: ffff880118714000  RBX: 0000000000000000  RCX: 0000000000001000
    RDX: 0000000000001000  RSI: ffff8801671c1d98  RDI: 0000000000000000
    RBP: ffff8801671c1dd8   R8: ffff8801671c1e64   R9: ffff8801664b6c00
    R10: 0000000000000000  R11: 0000000000000246  R12: 0000000000001000
    R13: 0000000000000000  R14: ffff880166ee4000  R15: 0000000000000000
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
 #9 [ffff8801671c1de0] cl_site_stats_print at ffffffffa10ac617 [obdclass]
#10 [ffff8801671c1e30] ll_rd_site_stats at ffffffffa0c5ad25 [lustre]
#11 [ffff8801671c1e40] lprocfs_fops_read at ffffffffa10649e3 [obdclass]
#12 [ffff8801671c1ea0] proc_reg_read at ffffffff811dcbde
#13 [ffff8801671c1ef0] vfs_read at ffffffff811782b5
#14 [ffff8801671c1f30] sys_read at ffffffff811783f1
#15 [ffff8801671c1f80] system_call_fastpath at ffffffff8100b072
    RIP: 0000003282eda360  RSP: 00007fff17cae0f0  RFLAGS: 00010206
    RAX: 0000000000000000  RBX: ffffffff8100b072  RCX: 0000000000a2f030
    RDX: 0000000000008000  RSI: 0000000000a27000  RDI: 0000000000000003
    RBP: 0000000000a27000   R8: 000000328318dee8   R9: 0000000000000001
    R10: 0000000000008fff  R11: 0000000000000246  R12: ffffffffffff8000
    R13: 0000000000000003  R14: 0000000000008000  R15: 0000000000000003
    ORIG_RAX: 0000000000000000  CS: 0033  SS: 002b
crash&amp;gt; dis -l lu_site_stats_print+66
/root/lustre-release/lustre/obdclass/lu_object.c: 2121
0xffffffffa10a4752 &amp;lt;lu_site_stats_print+66&amp;gt;:    mov    (%rdi),%rdi
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="17816">LU-2941</key>
            <summary>Oops in lu_site_stats_print()</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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Sat, 9 Mar 2013 22:54:03 +0000</created>
                <updated>Tue, 15 Oct 2013 23:51:38 +0000</updated>
                            <resolved>Tue, 15 Oct 2013 23:51:38 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="61618" author="gshilamkar" created="Tue, 2 Jul 2013 04:31:49 +0000"  >&lt;p&gt;The oops is triggered as the proc entry is hit before the related data structures used to print the stats are allocated and initialised. In client_common_fill_super() proc entry is created before cl_sb_init() and therefore lu_site is not allocated and it crashes when you try to read lu_site stats. We moved the creation of proc entry after the cl_sb_init() and it fixed the problem. We will send the patch for review today.&lt;/p&gt;</comment>
                            <comment id="61622" author="gmahajan" created="Tue, 2 Jul 2013 06:24:36 +0000"  >&lt;p&gt;Gerrit patch link &lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/6852&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6852&lt;/a&gt; &lt;/p&gt;</comment>
                            <comment id="64448" author="gshilamkar" created="Mon, 19 Aug 2013 05:28:06 +0000"  >&lt;p&gt;This issue could be closed, patch was merged.&lt;/p&gt;</comment>
                            <comment id="64450" author="emoly.liu" created="Mon, 19 Aug 2013 05:35:15 +0000"  >&lt;p&gt;patch landed for 2.5&lt;/p&gt;</comment>
                            <comment id="69053" author="jlevi" created="Tue, 15 Oct 2013 23:51:38 +0000"  >&lt;p&gt;Added 2.5.0 FixVersion&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|hzvkjz:</customfieldvalue>

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