<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:31:03 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-9986] Cannot write to ldiskfs prealloc_table proc file</title>
                <link>https://jira.whamcloud.com/browse/LU-9986</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;For Lustre servers using ldiskfs, the prealloc_table cannot be updated through the proc file.&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;# echo 1024 2048 4096 &amp;gt; /proc/fs/ldiskfs/md0/prealloc_table
-bash: echo: write error: Invalid argument



&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;# ls -l /proc/fs/ldiskfs/md0/prealloc_table
-rw-r--r-- 1 root root 0 Sep 13 04:42 /proc/fs/ldiskfs/md0/prealloc_table



&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The issue appears to be caused by the usage of kstrtol in ldiskfs_mb_prealloc_table_proc_write. Unlike simple_strtol, kstrtol does not provide an end pointer. This causes -EINVAL to be returned due to the cur pointer not getting updated.&lt;/p&gt;</description>
                <environment>RHEL7, SLES12</environment>
        <key id="48305">LU-9986</key>
            <summary>Cannot write to ldiskfs prealloc_table proc file</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="ys">Yang Sheng</assignee>
                                    <reporter username="iziemba">Ian Ziemba</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Sep 2017 18:59:54 +0000</created>
                <updated>Mon, 25 Dec 2017 14:49:40 +0000</updated>
                            <resolved>Mon, 25 Dec 2017 14:49:40 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="216981" author="pjones" created="Thu, 21 Dec 2017 18:22:31 +0000"  >&lt;p&gt;Yang Sheng&lt;/p&gt;

&lt;p&gt;Can you please look into this one?&lt;/p&gt;

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

&lt;p&gt;Petery&lt;/p&gt;</comment>
                            <comment id="217167" author="ys" created="Mon, 25 Dec 2017 14:49:40 +0000"  >&lt;p&gt;Duplicated with &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;.&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|hzzk5r:</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>