<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:44:28 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-11506] e2freefrag calculates percentages incorrectly</title>
                <link>https://jira.whamcloud.com/browse/LU-11506</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A recent usage with &lt;tt&gt;e2freefrag-1.42.13-wc5&lt;/tt&gt; shows that it is calculating the free blocks and percentage of blocks for each bucket incorrectly:&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;Device: /dev/mapper/lfs1_ost0015
Blocksize: 4096 bytes
Total blocks: 15602810880
Free blocks: 22769561 (0.1%)

Min. free extent: 4 KB 
Max. free extent: 115812 KB
Avg. free extent: 10844 KB
Num. free extent: 3172805

HISTOGRAM OF FREE EXTENT SIZES:
Extent Size Range :  Free extents   Free Blocks  Percent
    4K...    8K-  :        128938        128938    0.57%
    8K...   16K-  :        138698        332505    1.46%
   16K...   32K-  :        138806        721022    3.17%
   32K...   64K-  :        157230       1758685    7.72%
   64K...  128K-  :        180715       4102265   18.02%
  128K...  256K-  :        193026       8835597   38.80%
  256K...  512K-  :        191502      17473091   76.74%
  512K... 1024K-  :        202066      37180933  163.29%
    1M...    2M-  :        185758      68276323  299.86%
    2M...    4M-  :        176791     131489492  577.48%
    4M...    8M-  :        229272     312440019  1372.18%
    8M...   16M-  :        295202     857176672  3764.57%
   16M...   32M-  :        750785    5044129351  22152.95%
   32M...   64M-  :        203637    2112443487  9277.49%
   64M...  128M-  :           379       7350563   32.28%
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is very likely due to a 32-bit overflow in the calculations.&lt;/p&gt;</description>
                <environment></environment>
        <key id="53578">LU-11506</key>
            <summary>e2freefrag calculates percentages incorrectly</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="dongyang">Dongyang Li</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Oct 2018 17:10:38 +0000</created>
                <updated>Thu, 11 Oct 2018 20:20:14 +0000</updated>
                            <resolved>Thu, 11 Oct 2018 20:20:14 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="234795" author="adilger" created="Thu, 11 Oct 2018 20:20:04 +0000"  >&lt;p&gt;It looks like this may already be fixed in v1.43.7-7-gf222de72 &quot;&lt;tt&gt;e2freefrag: print 64bit free blocks count&lt;/tt&gt;&quot;, so it will be fixed in our next e2fsprogs release.&lt;/p&gt;

&lt;p&gt;There was also commit v1.42.8-148-gd0550895 &quot;&lt;tt&gt;e2freefrag: avoid integer overflow when reporting free space statistics&lt;/tt&gt;&quot;, so it should already be in our e2fsprogs releases.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|i0042f:</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>