<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:01:33 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-13470] sysfs ping write creates a flood-ping situation that could not be normally stopped</title>
                <link>https://jira.whamcloud.com/browse/LU-13470</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It looks like the then ping file was migrated to sysfs, it unfortunately introduced a bug when doing a write:&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;ssize_t ping_store(struct kobject *kobj, struct attribute *attr,
                   const char *buffer, size_t count)
{
        return ping_show(kobj, attr, (char *)buffer);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;what it really sohuld be doing is return count, otherwise outer logic thinks it&apos;s a short write that needs to be retried (errno = 0) and enters a loop that you cannot really break short of disconnectign from the server:&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;[root@centos6-16 ~]# cat /sys/fs/lustre/mdc/lustre-MDT0000-mdc-ffff880387d67800/ping
[root@centos6-16 ~]# echo blahblah &amp;gt; /sys/fs/lustre/mdc/lustre-MDT0000-mdc-ffff880387d67800/ping

^Z
^C

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;we can see how the cpu is eaten with all the retries and pings now:&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 USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 2529 root      20   0       0      0      0 R  27.8  0.0  20:07.59 socknal_sd+
12488 root      20   0  115568   2124   1612 S  27.8  0.0  12:48.58 bash       
 2530 root      20   0       0      0      0 S  27.5  0.0  20:09.36 socknal_sd+
 3861 root      20   0       0      0      0 S  14.2  0.0   4:11.05 mdt03_002  
16784 root      20   0       0      0      0 S  10.6  0.0   4:04.16 mdt03_004  
 4410 root      20   0       0      0      0 S   5.0  0.0   4:08.74 mdt03_003  
 3859 root      20   0       0      0      0 S   2.6  0.0   4:11.23 mdt03_000  
   55 root      20   0       0      0      0 S   0.3  0.0   0:22.51 rcuos/6    
 3860 root      20   0       0      0      0 S   0.3  0.0   3:58.34 mdt03_001  
15467 green     20   0  162104   2408   1524 R   0.3  0.0   0:00.05 top        
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="58855">LU-13470</key>
            <summary>sysfs ping write creates a flood-ping situation that could not be normally stopped</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="wc-triage">WC Triage</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Apr 2020 22:06:59 +0000</created>
                <updated>Thu, 7 May 2020 13:34:42 +0000</updated>
                            <resolved>Thu, 7 May 2020 13:34:42 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.5</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="268189" author="gerrit" created="Tue, 21 Apr 2020 22:30:35 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38304&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38304&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13470&quot; title=&quot;sysfs ping write creates a flood-ping situation that could not be normally stopped&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13470&quot;&gt;&lt;del&gt;LU-13470&lt;/del&gt;&lt;/a&gt; ptlrpc: return proper write count from ping_store&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2b9b5146f31778aaf0e2a1fa4b1b7f7d06245c05&lt;/p&gt;</comment>
                            <comment id="269486" author="gerrit" created="Thu, 7 May 2020 05:41:46 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38304/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38304/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13470&quot; title=&quot;sysfs ping write creates a flood-ping situation that could not be normally stopped&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13470&quot;&gt;&lt;del&gt;LU-13470&lt;/del&gt;&lt;/a&gt; ptlrpc: return proper write count from ping_store&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 16d62976d212d94f7a3a5e61817b5ce98a4be3fd&lt;/p&gt;</comment>
                            <comment id="269536" author="pjones" created="Thu, 7 May 2020 13:34:42 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="36381">LU-8066</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i00yfr:</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>