<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:29:31 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-9814] prealloc table change don&apos;t work after 2.10 upgrade</title>
                <link>https://jira.whamcloud.com/browse/LU-9814</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;ol&gt;
	&lt;li&gt;cat /proc/fs/ldiskfs/md0p1/prealloc_table&lt;br/&gt;
256 512 1024&lt;/li&gt;
	&lt;li&gt;echo &quot;256 512 1024&#8221; &amp;gt; /proc/fs/ldiskfs/md0p1/prealloc_table&lt;br/&gt;
-bash: echo: write error: Invalid argument&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment>RHEL 7.2</environment>
        <key id="47606">LU-9814</key>
            <summary>prealloc table change don&apos;t work after 2.10 upgrade</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="shadow">Alexey Lyashkov</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Aug 2017 14:02:51 +0000</created>
                <updated>Thu, 26 Oct 2017 16:49:15 +0000</updated>
                            <resolved>Tue, 24 Oct 2017 12:55:48 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                    <fixVersion>Lustre 2.10.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="204341" author="jamesanunez" created="Thu, 3 Aug 2017 17:09:48 +0000"  >&lt;p&gt;What version of Lustre are you upgrading from?&lt;/p&gt;</comment>
                            <comment id="204354" author="shadow" created="Thu, 3 Aug 2017 17:51:57 +0000"  >&lt;p&gt;It test system upgrade from IEEL 3.&lt;br/&gt;
bug introduced by commit&lt;br/&gt;
git describe b9ecf2671cba08530cc49d47713a360f2c6c25ca&lt;br/&gt;
v2_10_50_0-19-gb9ecf2671c&lt;/p&gt;

&lt;p&gt;if one chunk was reverted &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;--- ldiskfs/mballoc.c	2017-08-01 05:41:12.711164350 -0700
+++ /usr/src/lustre/2.10.0/ldiskfs/mballoc.c	2017-08-01 05:44:25.782155391 -0700
@@ -2357,20 +2357,16 @@
 	num = 0;
 	cur = str;
 	end = str + cnt;
-	&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; (cur &amp;lt; end) {
-		&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; rc;
-		&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; ((cur &amp;lt; end) &amp;amp;&amp;amp; (*cur == &lt;span class=&quot;code-quote&quot;&gt;&apos; &apos;&lt;/span&gt;))
-			cur++;
-		rc = kstrtol(cur, 0, &amp;amp;value);
-		&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc != 0)
-			&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -EINVAL;
-		&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (value == 0)
-			&lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt;;
-		&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (value &amp;lt;= prev)
-			&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -EINVAL;
-		prev = value;
-		num++;
-	}
+        &lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; ((cur &amp;lt; end) &amp;amp;&amp;amp; (*cur == &lt;span class=&quot;code-quote&quot;&gt;&apos; &apos;&lt;/span&gt;)) cur++;
+	    value = simple_strtol(cur, &amp;amp;cur, 0);
+               &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (value == 0)
+                      &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt;;
+               &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (value &amp;lt;= prev)
+                       &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -EINVAL;
+               prev = value;
+               num++;
+       }
+
 
 	new_table = kmalloc(num * sizeof(*new_table), GFP_KERNEL);
 	&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (new_table == NULL)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;it will be work again.&lt;/p&gt;</comment>
                            <comment id="204358" author="pjones" created="Thu, 3 Aug 2017 18:20:37 +0000"  >&lt;p&gt;Bobijam&lt;/p&gt;

&lt;p&gt;Could you please advise?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="204360" author="shadow" created="Thu, 3 Aug 2017 18:35:57 +0000"  >&lt;p&gt;btw. patch in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3719&quot; title=&quot;divide error in ldiskfs_mb_normalize_request on MDT&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3719&quot;&gt;&lt;del&gt;LU-3719&lt;/del&gt;&lt;/a&gt; isn&apos;t real solution for a own bug. We hit similar bug with patch applied. &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3917&quot; title=&quot;lod_initialize_objects()) ASSERTION( cfs_bitmap_check(md-&amp;gt;lod_ost_descs.ltd_tgt_bitmap, idx) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3917&quot;&gt;&lt;del&gt;LU-3917&lt;/del&gt;&lt;/a&gt; root cause is unprotected access to the table while update. prealloc_table modified by ext4_mb_prealloc_table_add while accessed. Andriy Skylush should fill a ticket and provide a more details in near time.&lt;/p&gt;</comment>
                            <comment id="205412" author="gerrit" created="Tue, 15 Aug 2017 10:44:53 +0000"  >&lt;p&gt;Yang Sheng (yang.sheng@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/28553&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28553&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9814&quot; title=&quot;prealloc table change don&amp;#39;t work after 2.10 upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9814&quot;&gt;&lt;del&gt;LU-9814&lt;/del&gt;&lt;/a&gt; ldiskfs: restore simple_strtol in prealloc&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: add8915bb4083d29aec27fb81ac49b7ed9ecb9a7&lt;/p&gt;</comment>
                            <comment id="208616" author="pjones" created="Mon, 18 Sep 2017 12:27:24 +0000"  >&lt;p&gt;Alexey&lt;/p&gt;

&lt;p&gt;Does this patch work from your point of view?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="211103" author="bhoagland" created="Sat, 14 Oct 2017 00:05:14 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=shadow&quot; class=&quot;user-hover&quot; rel=&quot;shadow&quot;&gt;shadow&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Do you have any updates on the patch?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Brad&lt;/p&gt;</comment>
                            <comment id="211758" author="gerrit" created="Tue, 24 Oct 2017 07:18:11 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28553/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28553/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9814&quot; title=&quot;prealloc table change don&amp;#39;t work after 2.10 upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9814&quot;&gt;&lt;del&gt;LU-9814&lt;/del&gt;&lt;/a&gt; ldiskfs: restore simple_strtol in prealloc&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 685ef61f0fb9849e3f7a32c4ebf2980d3300afb0&lt;/p&gt;</comment>
                            <comment id="211783" author="pjones" created="Tue, 24 Oct 2017 12:55:48 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="211803" author="gerrit" created="Tue, 24 Oct 2017 14:20:30 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/29733&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29733&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9814&quot; title=&quot;prealloc table change don&amp;#39;t work after 2.10 upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9814&quot;&gt;&lt;del&gt;LU-9814&lt;/del&gt;&lt;/a&gt; ldiskfs: restore simple_strtol in prealloc&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d42fb752b4b03e03e88c42bcc45ce324dba2e6a5&lt;/p&gt;</comment>
                            <comment id="212089" author="gerrit" created="Thu, 26 Oct 2017 16:09:08 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/29733/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29733/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9814&quot; title=&quot;prealloc table change don&amp;#39;t work after 2.10 upgrade&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9814&quot;&gt;&lt;del&gt;LU-9814&lt;/del&gt;&lt;/a&gt; ldiskfs: restore simple_strtol in prealloc&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3e8f17ccfe0a2358b93dbda9bba05c8dfd95aa61&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="20225">LU-3719</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|hzzhjr:</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>