<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:30:13 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-3015] A typo in udmu_objs_count_estimate() causing overly conservative os_ffree values</title>
                <link>https://jira.whamcloud.com/browse/LU-3015</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In this hunk from udmu_objs_count_estimate():&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;        est_refdblocks = (refdbytes &amp;gt;&amp;gt; SPA_MAXBLOCKSHIFT) +
                (OSD_DNODE_EST_COUNT &amp;lt;&amp;lt; OSD_DNODE_EST_BLKSHIFT);
        est_usedobjs   = usedobjs + OSD_DNODE_EST_COUNT;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;OSD_DNODE_EST_COUNT should be right-shifted, not left-shifted.  This typo leads to a larger-than-actual dnode size estimation, which further causes overly conservative os_ffree (number of available objects) values, especially for MDTs.&lt;/p&gt;</description>
                <environment></environment>
        <key id="18057">LU-3015</key>
            <summary>A typo in udmu_objs_count_estimate() causing overly conservative os_ffree values</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="liwei">Li Wei</assignee>
                                    <reporter username="liwei">Li Wei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Mar 2013 07:27:43 +0000</created>
                <updated>Tue, 15 Oct 2013 23:55:43 +0000</updated>
                            <resolved>Fri, 31 May 2013 21:10:41 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.1</fixVersion>
                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="54639" author="liwei" created="Fri, 22 Mar 2013 07:36:25 +0000"  >&lt;p&gt;Current os_ffree values for &quot;empty&quot; 1 GB ZFS-based MDT and OSTs:&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@linux tests]# df -h
Filesystem            Size  Used Avail Use% Mounted on
[...]
lustre-mdt1/mdt1      929M  3.0M  924M   1% /mnt/mds1
lustre-ost1/ost1      929M  1.3M  926M   1% /mnt/ost1
lustre-ost2/ost2      929M  1.3M  926M   1% /mnt/ost2
linux@tcp:/lustre     1.9G  2.5M  1.9G   1% /mnt/lustre
[root@linux tests]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
[...]
lustre-mdt1/mdt1        7583     178    7405    3% /mnt/mds1
lustre-ost1/ost1        7631     212    7419    3% /mnt/ost1
lustre-ost2/ost2        7631     212    7419    3% /mnt/ost2
linux@tcp:/lustre       7583     178    7405    3% /mnt/lustre
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;With the typo fixed:&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@linux tests]# df -h
Filesystem            Size  Used Avail Use% Mounted on
[...]
lustre-mdt1/mdt1      929M  2.9M  924M   1% /mnt/mds1
lustre-ost1/ost1      929M  1.3M  926M   1% /mnt/ost1
lustre-ost2/ost2      929M  1.3M  926M   1% /mnt/ost2
linux@tcp:/lustre     1.9G  2.5M  1.9G   1% /mnt/lustre
[root@linux tests]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
[...]
lustre-mdt1/mdt1      161966     178  161788    1% /mnt/mds1
lustre-ost1/ost1      223825     212  223613    1% /mnt/ost1
lustre-ost2/ost2      223825     212  223613    1% /mnt/ost2
linux@tcp:/lustre     161966     178  161788    1% /mnt/lustre
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="54640" author="liwei" created="Fri, 22 Mar 2013 07:50:00 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/5806&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5806&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59803" author="jlevi" created="Fri, 31 May 2013 21:10:41 +0000"  >&lt;p&gt;Patch landed to master. Let me know if more patches are needed and I will reopen this ticket.&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|hzvlyf:</customfieldvalue>

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