<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:49:39 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-5231] HSM: incorrect progress reported by lfs hsm_action</title>
                <link>https://jira.whamcloud.com/browse/LU-5231</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While archiving a 5GiB file on a client:&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;# ls -l bigf
-rw-r--r--  1 root root 5129887744 Jun 18 16:48 bigf
# lfs hsm_archive bigf
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I repeatedly checked the progress with lfs hsm_action:&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;bigf: ARCHIVE running (0xa00000 bytes moved)
...
bigf: ARCHIVE running (0x3200000 bytes moved)
...
bigf: ARCHIVE running (0x6400000 bytes moved)
...
...
...
bigf: ARCHIVE running (0x1a0e500000 bytes moved)
...
bigf: NOOP
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The last result should have been close to 5 GiB, instead it was 0x1a0e500000 = 111909273600 = 104GiB&lt;/p&gt;

&lt;p&gt;It appears the (correct) lengths sent by the copytool through llapi_hsm_action_progress() are being added somewhere in the kernel modules.&lt;/p&gt;

&lt;p&gt;Also, is there a reason for the reported size to be written in hex? It&apos;s not convenient.&lt;/p&gt;</description>
                <environment>Centos 6.5&lt;br/&gt;
Lustre 2.5.56</environment>
        <key id="25215">LU-5231</key>
            <summary>HSM: incorrect progress reported by lfs hsm_action</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="4" iconUrl="https://jira.whamcloud.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="fzago">Frank Zago</reporter>
                        <labels>
                            <label>HSM</label>
                            <label>patch</label>
                    </labels>
                <created>Wed, 18 Jun 2014 22:00:55 +0000</created>
                <updated>Thu, 3 Sep 2015 19:02:38 +0000</updated>
                                            <version>Lustre 2.6.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>12</watches>
                                                                            <comments>
                            <comment id="86982" author="fzago" created="Wed, 18 Jun 2014 22:03:49 +0000"  >&lt;p&gt;copytool is standard posix copytool.&lt;/p&gt;</comment>
                            <comment id="94614" author="vinayak_clogeny" created="Mon, 22 Sep 2014 14:02:48 +0000"  >&lt;p&gt;Posted changes for fixing this issue on b2_6&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/12006&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12006&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="94616" author="pjones" created="Mon, 22 Sep 2014 14:16:46 +0000"  >&lt;p&gt;Vinayak&lt;/p&gt;

&lt;p&gt;Could you please push your proposed patch against master?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="94714" author="vinayak_clogeny" created="Tue, 23 Sep 2014 13:45:23 +0000"  >&lt;p&gt;Hi Peter,&lt;/p&gt;

&lt;p&gt;Pushed the changes to master branch.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/12020&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12020&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Vinayak&lt;/p&gt;</comment>
                            <comment id="95030" author="vinayak_clogeny" created="Fri, 26 Sep 2014 11:04:48 +0000"  >&lt;p&gt;Please observe the comments and kernel logs below.&lt;br/&gt;
Looking at these logs, I strongly feel that last extent alone will give proper amount of data moved. &lt;br/&gt;
Logs are taken in steps. Please observe the data-&amp;gt;done_size in each step (numbered as 1, 2, 3....). &lt;br/&gt;
The values are repeating in each step which means whenever the ioctl is performed, the extents are &lt;br/&gt;
getting stored in tree. I believe we should not add up all these extents and the last entry in the &lt;br/&gt;
tree (last extent) will alone give the total amount of data moved.&lt;/p&gt;</comment>
                            <comment id="106095" author="gerrit" created="Fri, 6 Feb 2015 20:01:02 +0000"  >&lt;p&gt;frank zago (fzago@cray.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13678&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13678&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5231&quot; title=&quot;HSM: incorrect progress reported by lfs hsm_action&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5231&quot;&gt;LU-5231&lt;/a&gt; hsm: display file size in decimal not hex&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1f8c980d4cd2328936e9dd484909c62a4a5fd8cc&lt;/p&gt;</comment>
                            <comment id="109171" author="gerrit" created="Sun, 8 Mar 2015 11:49:54 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13678/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13678/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5231&quot; title=&quot;HSM: incorrect progress reported by lfs hsm_action&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5231&quot;&gt;LU-5231&lt;/a&gt; hsm: display file size in decimal not hex&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9e40a86a875475f3fe1991a48694ba5601033ebe&lt;/p&gt;</comment>
                            <comment id="120509" author="pjones" created="Tue, 7 Jul 2015 00:15:53 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                            <comment id="126264" author="spitzcor" created="Thu, 3 Sep 2015 18:47:01 +0000"  >&lt;p&gt;I&apos;m not sure why this ticket was marked resolved when &lt;a href=&quot;http://review.whamcloud.com/12020&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12020&lt;/a&gt; is still pending.&lt;/p&gt;</comment>
                            <comment id="126270" author="pjones" created="Thu, 3 Sep 2015 19:02:38 +0000"  >&lt;p&gt;My overzealousness I&apos;m afraid - sorry. Reopening&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15850" name="LU-5231_logs.txt" size="35504" author="vinayak_clogeny" created="Fri, 26 Sep 2014 11:04:48 +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|hzwpev:</customfieldvalue>

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