<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:25:24 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-9348] brw_size is not always dynamically changeable </title>
                <link>https://jira.whamcloud.com/browse/LU-9348</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;On one OSS I could do: &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@wolf-3 combined&amp;#93;&lt;/span&gt;# lctl set_param obdfilter.lsdraid-OST0000.brw_size=1&lt;br/&gt;
obdfilter.lsdraid-OST0000.brw_size=1&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@wolf-3 combined&amp;#93;&lt;/span&gt;# lctl set_param obdfilter.*.brw_size=1&lt;br/&gt;
obdfilter.lsdraid-OST0000.brw_size=1&lt;/p&gt;

&lt;p&gt;But on another OSS I could not do the same thing:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;lctl set_param obdfilter.*.brw_size=1&lt;br/&gt;
error: set_param: setting /proc/fs/lustre/obdfilter/lsdraid-OST0001/brw_size=1: Numerical result out of range&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@wolf-4 combined&amp;#93;&lt;/span&gt;# cat /proc/fs/lustre/obdfilter/lsdraid-OST0001/brw_size&lt;br/&gt;
16&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@wolf-4 combined&amp;#93;&lt;/span&gt;# echo &quot;0&quot; &amp;gt; /proc/fs/lustre/obdfilter/lsdraid-OST0001/brw_size&lt;br/&gt;
-bash: echo: write error: Numerical result out of range&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@wolf-4 combined&amp;#93;&lt;/span&gt;# echo &quot;1&quot; &amp;gt; /proc/fs/lustre/obdfilter/lsdraid-OST0001/brw_size&lt;br/&gt;
-bash: echo: write error: Numerical result out of range&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@wolf-4 combined&amp;#93;&lt;/span&gt;# echo &quot;16&quot; &amp;gt; /proc/fs/lustre/obdfilter/lsdraid-OST0001/brw_size&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@wolf-4 combined&amp;#93;&lt;/span&gt;# echo &quot;17&quot; &amp;gt; /proc/fs/lustre/obdfilter/lsdraid-OST0001/brw_size&lt;br/&gt;
-bash: echo: write error: Numerical result out of range&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@wolf-4 combined&amp;#93;&lt;/span&gt;# echo &quot;10&quot; &amp;gt; /proc/fs/lustre/obdfilter/lsdraid-OST0001/brw_size&lt;br/&gt;
-bash: echo: write error: Numerical result out of range &lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;dmesg: &lt;br/&gt;
[   91.466648] SPL: using hostid 0x61303830&lt;br/&gt;
[   99.368278] LNet: HW CPU cores: 72, npartitions: 2&lt;br/&gt;
[   99.375528] alg: No test for adler32 (adler32-zlib)&lt;br/&gt;
[   99.381114] alg: No test for crc32 (crc32-table)&lt;br/&gt;
[  107.466028] Lustre: Lustre: Build Version: 2.9.0_dirty&lt;br/&gt;
[  107.583440] LNet: Added LNI 192.168.1.4@o2ib &lt;span class=&quot;error&quot;&gt;&amp;#91;8/256/0/180&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  107.912856] LustreError: 11-0: lsdraid-MDT0000-lwp-OST0001: operation mds_connect to node 192.168.1.5@o2ib failed: rc = -114&lt;br/&gt;
[  107.977949] Lustre: lsdraid-OST0001: Imperative Recovery enabled, recovery window shrunk from 300-900 down to 150-450&lt;br/&gt;
[  113.824128] Lustre: lsdraid-OST0001: Will be in recovery for at least 2:30, or until 1 client reconnects&lt;br/&gt;
[  113.834861] Lustre: lsdraid-OST0001: Connection restored to lsdraid-MDT0000-mdtlov_UUID (at 192.168.1.5@o2ib)&lt;br/&gt;
[  114.012466] Lustre: lsdraid-OST0001: Recovery over after 0:01, of 1 clients 1 recovered and 0 were evicted.&lt;br/&gt;
[  114.105679] Lustre: lsdraid-OST0001: deleting orphan objects from 0x0:82221 to 0x0:83201&lt;br/&gt;
[  132.876656] LustreError: 11-0: lsdraid-MDT0000-lwp-OST0001: operation mds_connect to node 192.168.1.5@o2ib failed: rc = -114&lt;br/&gt;
[  157.849631] LustreError: 11-0: lsdraid-MDT0000-lwp-OST0001: operation mds_connect to node 192.168.1.5@o2ib failed: rc = -114&lt;br/&gt;
[  699.046036] Lustre: Failing over lsdraid-OST0001&lt;br/&gt;
[  699.058930] Lustre: server umount lsdraid-OST0001 complete&lt;br/&gt;
[  754.958545] Lustre: lsdraid-OST0001: Imperative Recovery enabled, recovery window shrunk from 300-900 down to 150-450&lt;br/&gt;
[  756.682541] Lustre: lsdraid-OST0001: Will be in recovery for at least 2:30, or until 1 client reconnects&lt;br/&gt;
[  756.693277] Lustre: lsdraid-OST0001: Connection restored to lsdraid-MDT0000-mdtlov_UUID (at 192.168.1.5@o2ib)&lt;br/&gt;
[  756.867379] Lustre: lsdraid-OST0001: Recovery over after 0:01, of 1 clients 1 recovered and 0 were evicted.&lt;br/&gt;
[  756.940023] Lustre: lsdraid-OST0001: deleting orphan objects from 0x0:82221 to 0x0:83233 &lt;/p&gt;

&lt;p&gt;The impact is that this pool has to be unmounted and destroyed  before more testing with different brw_size can continue.  This only happens with OSTs that have been used with existing data, on a newly formatted OST I seem to be able to change the size every time. &lt;/p&gt;</description>
                <environment></environment>
        <key id="45516">LU-9348</key>
            <summary>brw_size is not always dynamically changeable </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="adilger">Andreas Dilger</assignee>
                                    <reporter username="jsalians_intel">John Salinas</reporter>
                        <labels>
                            <label>LS_RZ</label>
                    </labels>
                <created>Sat, 15 Apr 2017 17:07:24 +0000</created>
                <updated>Sun, 26 Nov 2017 22:17:04 +0000</updated>
                            <resolved>Sun, 26 Nov 2017 22:17:04 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="192379" author="jsalians_intel" created="Tue, 18 Apr 2017 00:15:44 +0000"  >&lt;p&gt;Andreas looked this up:&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;&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; ssize_t
ofd_brw_size_seq_write(struct file file, &lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;char&lt;/span&gt; __user buffer,
                       size_t count, loff_t *off)
{
        :
        :
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (val &amp;gt; DT_MAX_BRW_SIZE || val &amp;lt; (1 &amp;lt;&amp;lt; ofd-&amp;gt;ofd_blockbits))
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -ERANGE; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In this case I had set the record size to16M on this node (but 1M on the other node) and that is why I could not change it here.    I did not see this mentioned in the documentation but perhaps I missed it. &lt;/p&gt;</comment>
                            <comment id="192597" author="gerrit" created="Wed, 19 Apr 2017 02:12:57 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26726&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26726&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9348&quot; title=&quot;brw_size is not always dynamically changeable &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9348&quot;&gt;&lt;del&gt;LU-9348&lt;/del&gt;&lt;/a&gt; proc: describe brw_size limits better&lt;br/&gt;
Project: doc/manual&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f358669d0ee6f0cbf475e6505864dd056edf0aa7&lt;/p&gt;</comment>
                            <comment id="192693" author="gerrit" created="Wed, 19 Apr 2017 14:36:13 +0000"  >&lt;p&gt;Joseph Gmitter (joseph.gmitter@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/26726/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26726/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9348&quot; title=&quot;brw_size is not always dynamically changeable &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9348&quot;&gt;&lt;del&gt;LU-9348&lt;/del&gt;&lt;/a&gt; proc: describe brw_size limits better&lt;br/&gt;
Project: doc/manual&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b55d752a8dd903aaaeacaeaecb0ffbfa294a214f&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="26327" name="OUTPUT.dmesg.txt" size="164266" author="jsalians_intel" created="Sat, 15 Apr 2017 17:03:14 +0000"/>
                            <attachment id="26326" name="OUTPUT.kernel_debug_trace.txt" size="433" author="jsalians_intel" created="Sat, 15 Apr 2017 17:03:13 +0000"/>
                            <attachment id="26325" name="OUTPUT.lctl_dl.txt" size="288" author="jsalians_intel" created="Sat, 15 Apr 2017 17:03:13 +0000"/>
                            <attachment id="26324" name="OUTPUT.show_kernelmod_params.txt" size="18130" author="jsalians_intel" created="Sat, 15 Apr 2017 17:03:13 +0000"/>
                            <attachment id="26322" name="OUTPUT.zpool_events.txt" size="529" author="jsalians_intel" created="Sat, 15 Apr 2017 17:03:13 +0000"/>
                            <attachment id="26323" name="OUTPUT.zpool_events_verbose.txt" size="2414" author="jsalians_intel" created="Sat, 15 Apr 2017 17:03:13 +0000"/>
                            <attachment id="26328" name="messages" size="1106539" author="jsalians_intel" created="Sat, 15 Apr 2017 17:03:15 +0000"/>
                    </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|hzzabb:</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>