<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:32:08 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-17042] e2freefrag say &quot;Inappropriate ioctl for device while calling fsmap&quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-17042</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Tested on RHEL8.7 patched kernel.&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;# e2freefrag /dev/sda 
Device: /dev/sda
Blocksize: 4096 bytes
/dev/sda: Inappropriate ioctl for device while calling fsmap
Total blocks: 7482638336
Free blocks: 7452679685 (99.6%)

Min. free extent: 4 KB 
Max. free extent: 135160 KB
Avg. free extent: 4624 KB
Num. free extent: 215369

HISTOGRAM OF FREE EXTENT SIZES:
Extent Size Range :  Free extents   Free Blocks  Percent
    4K...    8K-  :           386           386    0.00%
    8K...   16K-  :           247           598    0.00%
   16K...   32K-  :            89           443    0.00%
   32K...   64K-  :            23           215    0.00%
  256K...  512K-  :          1813        222094    0.00%
    1M...    2M-  :           292        111545    0.00%
    2M...    4M-  :          2995       2821591    0.04%
    4M...    8M-  :        208582     215511377    2.89%
    8M...   16M-  :            23         59123    0.00%
   64M...  128M-  :           494      16100776    0.22%
  128M...  256M-  :           425      14159177    0.19%
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="77521">LU-17042</key>
            <summary>e2freefrag say &quot;Inappropriate ioctl for device while calling fsmap&quot;</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="sihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Aug 2023 02:03:45 +0000</created>
                <updated>Tue, 29 Aug 2023 05:27:46 +0000</updated>
                                            <version>Lustre 2.16.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="383101" author="adilger" created="Mon, 21 Aug 2023 04:31:14 +0000"  >&lt;p&gt;The summary at the start of e2freefrag is also based on the superblock block counts, (which is not updated while mounted) and not the actual free block counters in the group descriptors. It would be better to use the actual block counts. &lt;/p&gt;</comment>
                            <comment id="384018" author="dongyang" created="Tue, 29 Aug 2023 05:27:05 +0000"  >&lt;p&gt;Andreas, the free block counters are based on the result from the ioctl when doing online scanning,&lt;br/&gt;
we only use the free blocks from superblock when doing offline scan, which means device is umounted anyway. So I think it&apos;s fine here.&lt;br/&gt;
We are seeing the ioctl error is because we don&apos;t pass through the ioctl to ldiskfs on server, I got a patch for this.&lt;/p&gt;</comment>
                            <comment id="384020" author="gerrit" created="Tue, 29 Aug 2023 05:27:46 +0000"  >&lt;p&gt;&quot;Li Dongyang &amp;lt;dongyangli@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52147&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52147&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17042&quot; title=&quot;e2freefrag say &amp;quot;Inappropriate ioctl for device while calling fsmap&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17042&quot;&gt;LU-17042&lt;/a&gt; target: allow fsmap ioctl&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9cc7567fc163369a060c3f14be944042c1f4d676&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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>e2fsprogs</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i03ten:</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>