<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:21:48 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-2033] MDT cannot mount after restored from file-level backup if the mount option &quot;noscrub&quot; specified</title>
                <link>https://jira.whamcloud.com/browse/LU-2033</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;With patches from Orion branch landed to master, some new local files (such as seq-xxx-lastid) are created on the MDT, which FIDs are not normal but inserted into OI files.&lt;/p&gt;

&lt;p&gt;Lustre uses these files through lookup-by-FID, which will cause failure after the MDT restored from file-level backup, if we specify &quot;noscrub&quot; option when mount the MDT.&lt;/p&gt;</description>
                <environment></environment>
        <key id="16139">LU-2033</key>
            <summary>MDT cannot mount after restored from file-level backup if the mount option &quot;noscrub&quot; specified</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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>
                    </labels>
                <created>Wed, 26 Sep 2012 12:44:46 +0000</created>
                <updated>Wed, 24 Apr 2013 17:32:01 +0000</updated>
                            <resolved>Mon, 8 Oct 2012 10:38:38 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="45578" author="bzzz" created="Wed, 26 Sep 2012 12:48:36 +0000"  >&lt;p&gt;I&apos;d say that be able to lookup by FID is important from the overall design point of view. the whole problem of maintaing OI and doing this timely belongs to specific OSD and it&apos;s responsibility of OSD to address this properly. otherwise we&apos;re overloading the API with some very specific details making the life of Lustre service&apos;s developers hard..&lt;/p&gt;</comment>
                            <comment id="45581" author="yong.fan" created="Wed, 26 Sep 2012 13:08:08 +0000"  >&lt;p&gt;Hm... that depends on how the lookup-by-FID works. I prefer to use the OSD layer per-thread FID &amp;lt;=&amp;gt; ino# cache to partly support the lookup-by-FID for these special local files. Means the initial lookup should be by name, and cache related FID &amp;lt;=&amp;gt; ino# mapping, then subsequent lookup-by-FID can work.&lt;/p&gt;


&lt;p&gt;This is a workable patch:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,4106&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,4106&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="45582" author="bzzz" created="Wed, 26 Sep 2012 13:23:46 +0000"  >&lt;p&gt;I disagree. as I said above, this is an extra requirement which pretty much rush the idea behind OSD API... &lt;/p&gt;</comment>
                            <comment id="45614" author="yong.fan" created="Wed, 26 Sep 2012 20:52:18 +0000"  >&lt;p&gt;If without object name knowledge, I do not think OSD can resolve that totally by itself inside. It may be work for ZFS backend, but does not work for current ldiskfs backend. I do not think you will like the idea to change lookup-by-FID interfaces to pass some name related hint for that.&lt;/p&gt;

&lt;p&gt;In this case, what is the reason for the MGS must call lookup-by-FID for the special local file &quot;seq-xxx-lastid&quot;, why not lookup-by-name?&lt;/p&gt;

&lt;p&gt;I agree with you that it will be much helpful for the developer that if the OSD can properly process lookup-by-FID internally, in spite of whether the device restored from file-level backup or not, but current osd-ldiskfs OI design does not support it, that is why we did OI scrub. Changing current osd-ldiskfs OI design and implementation will not be small work, and will introduce some compatibility issues. I do not think we can do that is a short time. From a long view, we maybe can do. But as a workable solution, I more like using lookup-by-name for the MGS to locate &quot;seq-xxx-lastid&quot;.&lt;/p&gt;</comment>
                            <comment id="45633" author="green" created="Thu, 27 Sep 2012 12:09:43 +0000"  >&lt;p&gt;So is b2_3 really affected? I just did a quick grep for -lastid in the code and there are no matches, also there are no orion landings in b2_3&lt;/p&gt;</comment>
                            <comment id="45634" author="bzzz" created="Thu, 27 Sep 2012 12:11:35 +0000"  >&lt;p&gt;no, 2.3 is not affected.&lt;/p&gt;</comment>
                            <comment id="46106" author="ian" created="Sun, 7 Oct 2012 18:03:21 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,4106&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,4106&lt;/a&gt; landed to master&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="16271">LU-2103</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="18504">LU-3213</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzv413:</customfieldvalue>

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