<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:46:58 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-4917] LFSCK run time reported is incorrect during check</title>
                <link>https://jira.whamcloud.com/browse/LU-4917</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While LFSCK is running, the total run time of LFSCK is attributed to phase 1 even when LFSCK is running phase 2. When LFSCK ends or is stopped, the time is broken out into phase 1 and phase 2.&lt;/p&gt;

&lt;p&gt;For example, while LFSCk is running, we see that we are in phase 2 (status), but all the time is attributed to phase 1 (run_time_phase1)&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;# lctl get_param -n mdd.scratch-MDT0000.lfsck_layout
name: lfsck_layout
magic: 0xb173ae14
version: 2
status: scanning-phase2
flags: scanned-once
param: all_targets,orphan
time_since_last_completed: 321 seconds
time_since_latest_start: 214 seconds
time_since_last_checkpoint: 102 seconds
latest_start_position: 0
last_checkpoint_position: 47185921
first_failure_position: 0
success_count: 120
repaired_dangling: 0
repaired_unmatched_pair: 0
repaired_multiple_referenced: 0
repaired_orphan: 0
repaired_inconsistent_owner: 0
repaired_others: 0
skipped: 0
failed_phase1: 64
failed_phase2: 25
checked_phase1: 8668585
checked_phase2: 0
run_time_phase1: 214 seconds
run_time_phase2: 0 seconds
average_speed_phase1: 40507 items/sec
average_speed_phase2: N/A
real-time_speed_phase1: 22165 items/sec
real-time_speed_phase2: N/A
current_position: [0x100070000:0x71dde4:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;When LFSCK ends, we see that phase 1 only took 112 seconds, not the 214 seconds reported above, and the rest of the time was spent in phase 2. &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;# lctl get_param -n mdd.scratch-MDT0000.lfsck_layout
name: lfsck_layout
magic: 0xb173ae14
version: 2
status: completed
flags:
param: all_targets,orphan
time_since_last_completed: 10 seconds
time_since_latest_start: 239 seconds
time_since_last_checkpoint: 10 seconds
latest_start_position: 0
last_checkpoint_position: 47185921
first_failure_position: 0
success_count: 121
repaired_dangling: 0
repaired_unmatched_pair: 0
repaired_multiple_referenced: 0
repaired_orphan: 0
repaired_inconsistent_owner: 0
repaired_others: 0
skipped: 0
failed_phase1: 64
failed_phase2: 27
checked_phase1: 6400022
checked_phase2: 2592717
run_time_phase1: 112 seconds
run_time_phase2: 117 seconds
average_speed_phase1: 57143 items/sec
average_speed_phase2: 22159 objs/sec
real-time_speed_phase1: N/A
real-time_speed_phase2: N/A
current_position: N/A
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>OpenSFS cluster with four MDTs, three OSTs with two OSSs each, and six clients</environment>
        <key id="24244">LU-4917</key>
            <summary>LFSCK run time reported is incorrect during check</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="yong.fan">nasf</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>lfsck</label>
                    </labels>
                <created>Wed, 16 Apr 2014 17:24:18 +0000</created>
                <updated>Fri, 18 Apr 2014 07:29:21 +0000</updated>
                            <resolved>Fri, 18 Apr 2014 07:29:21 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="81797" author="yong.fan" created="Thu, 17 Apr 2014 02:58:16 +0000"  >&lt;p&gt;Here is the patch:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9984&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9984&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="81924" author="yong.fan" created="Fri, 18 Apr 2014 07:29:21 +0000"  >&lt;p&gt;The patch has been landed to master.&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|hzwkan:</customfieldvalue>

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