<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:15:06 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-1267] LFSCK II: MDT-OST consistency check/repair</title>
                <link>https://jira.whamcloud.com/browse/LU-1267</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In Lustre, for striped (non-zero striped) file, the layout information for each OST-object is recorded as extended attributes (XATTR_NAME_LOV) in its MDT-object on MDT. Such EA contains the OST index, OID or FID of the OST-object, and so on. On OST-side, each OST-object records the information (MDT-object FID) that indicates which file the OST object belongs to. Over the lifetime of an active filesystem, the layout information in MDT-object&apos;s EA may be inconsistent with the information on OST. There are several inconsistent cases as following:&lt;/p&gt;

&lt;p&gt;1. OST-object1 is marked as part of file1 on MDT, but OST-object1 is unassigned or uninitialized on OST.&lt;br/&gt;
2. OST-object1 is marked as part of file1 on OST, but there is no record for OST-object1 on MDT.&lt;br/&gt;
3. OST-object1 is marked as part of file1 on OST, but MDT records that it belongs to file2.&lt;br/&gt;
4. OST-object1 is marked as part of file1 on OST, but both file1 and file2 on MDT claim that it owns OST-object1.&lt;/p&gt;

&lt;p&gt;These inconsistent cases will misguide client/MDS when access related OST-objects, waste space, lose data, even destroy all the system. In LFSCK phase II, we will implement an online tool to check and repair the file layout inconsistency. Such tool will use the inode iterator implemented in LFSCK phase I to scan the whole system, and can be driven together with other LFSCK components.&lt;/p&gt;

&lt;p&gt;On the other hand, the owner information, UID and GID of OST-objects will also be verified to match that of the MDT-object, the inconsistent ones will be fixed, to ensure correct quota allocation.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13763">LU-1267</key>
            <summary>LFSCK II: MDT-OST consistency check/repair</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</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="yong.fan">nasf</reporter>
                        <labels>
                            <label>LFSCK</label>
                    </labels>
                <created>Thu, 29 Mar 2012 00:06:00 +0000</created>
                <updated>Mon, 17 Mar 2014 15:29:34 +0000</updated>
                            <resolved>Mon, 17 Mar 2014 15:29:34 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due>Wed, 31 Jul 2013 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="49798" author="yong.fan" created="Sat, 29 Dec 2012 21:56:06 +0000"  >&lt;p&gt;This task will be postponed until DNE I and LFSCK 1.5 completed.&lt;/p&gt;</comment>
                            <comment id="57189" author="yong.fan" created="Sat, 27 Apr 2013 16:06:05 +0000"  >&lt;p&gt;The task is restarted.&lt;/p&gt;</comment>
                            <comment id="65555" author="yong.fan" created="Mon, 2 Sep 2013 14:35:51 +0000"  >&lt;p&gt;All the LFSCK phase II patches have been landed to master as following:&lt;/p&gt;

&lt;p&gt;1)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7145/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7145/&lt;/a&gt;&lt;br/&gt;
2)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7053/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7053/&lt;/a&gt;&lt;br/&gt;
3)	&lt;a href=&quot;http://review.whamcloud.com/#/c/8002/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8002/&lt;/a&gt;&lt;br/&gt;
4)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7146/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7146/&lt;/a&gt;&lt;br/&gt;
5)	&lt;a href=&quot;http://review.whamcloud.com/#/c/6997/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6997/&lt;/a&gt;&lt;br/&gt;
6)	&lt;a href=&quot;http://review.whamcloud.com/#/c/8302/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8302/&lt;/a&gt;&lt;br/&gt;
7)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7666/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7666/&lt;/a&gt;&lt;br/&gt;
8)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7062/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7062/&lt;/a&gt;&lt;br/&gt;
9)	&lt;a href=&quot;http://review.whamcloud.com/#/c/8623/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8623/&lt;/a&gt;&lt;br/&gt;
10)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7087/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7087/&lt;/a&gt;&lt;br/&gt;
11)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7108/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7108/&lt;/a&gt;&lt;br/&gt;
12)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7665/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7665/&lt;/a&gt;&lt;br/&gt;
13)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7156/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7156/&lt;/a&gt;&lt;br/&gt;
14) 	&lt;a href=&quot;http://review.whamcloud.com/#/c/9186/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9186/&lt;/a&gt;&lt;br/&gt;
15)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7456/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7456/&lt;/a&gt;&lt;br/&gt;
16)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7517/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7517/&lt;/a&gt;&lt;br/&gt;
17)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7519/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7519/&lt;/a&gt;&lt;br/&gt;
18)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7524/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7524/&lt;/a&gt;&lt;br/&gt;
19)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7743/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7743/&lt;/a&gt;&lt;br/&gt;
20)	&lt;a href=&quot;http://review.whamcloud.com/#/c/9257/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9257/&lt;/a&gt;&lt;br/&gt;
21)	&lt;a href=&quot;http://review.whamcloud.com/#/c/8303/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8303/&lt;/a&gt;&lt;br/&gt;
22)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7810/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7810/&lt;/a&gt;&lt;br/&gt;
23)	&lt;a href=&quot;http://review.whamcloud.com/#/c/8305/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8305/&lt;/a&gt;&lt;br/&gt;
24)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7811/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7811/&lt;/a&gt;&lt;br/&gt;
25) 	&lt;a href=&quot;http://review.whamcloud.com/#/c/8694/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8694/&lt;/a&gt;&lt;br/&gt;
26)	&lt;a href=&quot;http://review.whamcloud.com/#/c/7667/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7667/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="74154" author="laisiyao" created="Mon, 30 Dec 2013 03:49:36 +0000"  >&lt;p&gt;I have several concerns in the design for LWP and LFCK repair threads:&lt;br/&gt;
1. IMHO LWP should be a full functional device, other than a place to store connection only. And the difference between LWP and OSP should be that LWP doesn&apos;t support recovery, so the use of this device will be simpler. And there should be a similar device LWD like LOD.&lt;br/&gt;
2. in current code there are master and assistance LFSCK threads to cooperate on LFSCK, however with more component added, eg. DNE consistency, the master threads needs to communicate with several assistance threads. This is complicated and error-prone, instead we should avoid inter-process communications, so we can do it like ptlrpcd/ldlm threads: spawn worker threads pool (new threads can be created if necessary at runtime), and these worker threads pick and finish their assignment separately.&lt;br/&gt;
3. statahead proves working on client side, and I don&apos;t see why it can&apos;t be done by lfsck as well, and if it can support bulk statahead, this should be quite efficient.&lt;/p&gt;</comment>
                            <comment id="79511" author="jlevi" created="Mon, 17 Mar 2014 15:29:34 +0000"  >&lt;p&gt;All patches landed to Master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="19004">LU-3335</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="19005">LU-3336</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="21089">LU-3995</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="21738">LUDOC-195</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="19236">LUDOC-155</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22906">LU-4553</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10110">LU-14</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                            <subtask id="19235">LU-3423</subtask>
                            <subtask id="19828">LU-3588</subtask>
                            <subtask id="19830">LU-3590</subtask>
                            <subtask id="19831">LU-3591</subtask>
                            <subtask id="19832">LU-3592</subtask>
                            <subtask id="19833">LU-3593</subtask>
                            <subtask id="19834">LU-3594</subtask>
                            <subtask id="19835">LU-3595</subtask>
                    </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>layout</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzv38n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4024</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>
                                                                                                                                                    <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>89.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>