<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:22: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-2152] network index transfer and IAM</title>
                <link>https://jira.whamcloud.com/browse/LU-2152</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While chasing a reintegration issue in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2147&quot; title=&quot;Quota testing with ZFS OSD&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2147&quot;&gt;&lt;del&gt;LU-2147&lt;/del&gt;&lt;/a&gt;, i realized that ldiskfs OSD and ZFS OSD behave  differently WRT index transfer. With ZFS, the entry for ID 0 is always transferred, while it is not in the case with ldiskfs/IAM. Therefore, i think we might have an iterator issue with IAM (maybe due to different return code on -&amp;gt;load?).&lt;br/&gt;
We are good as long as all entries can fit in one bulk transfer since we don&apos;t need too access grace time (store in ID 0) on slaves, but we might miss some entries if we require multiple bulks to transfer the index.&lt;/p&gt;

&lt;p&gt;This also shows us that we don&apos;t have enough tests with multiple IDs and we should definitely add a test case exercising the code to transfer the global/slave index in multiple bulks.&lt;/p&gt;</description>
                <environment></environment>
        <key id="16332">LU-2152</key>
            <summary>network index transfer and IAM</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="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="niu">Niu Yawei</assignee>
                                    <reporter username="johann">Johann Lombardi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Oct 2012 18:34:36 +0000</created>
                <updated>Fri, 19 Apr 2013 20:22:27 +0000</updated>
                            <resolved>Mon, 5 Nov 2012 01:06:26 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="46453" author="niu" created="Fri, 12 Oct 2012 03:19:25 +0000"  >&lt;p&gt;osd_it_iam_load()-&amp;gt; iam_it_load() -&amp;gt; iam_it_iget() -&amp;gt; __iam_it_get(it, 1) -&amp;gt; iam_path_lookup(patch, 1) -&amp;gt; iam_lfix_ilookup()&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; iam_lfix_ilookup(struct iam_leaf *l, &lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; struct iam_ikey *ik)
{
        &lt;span class=&quot;code-keyword&quot;&gt;assert&lt;/span&gt;(0);
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; IAM_LOOKUP_OK;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;so the ilookup() isn&apos;t implemented for lfix at all. (the assert(0) must be filtered when compiling, that&apos;s why it was not triggered).&lt;/p&gt;

&lt;p&gt;I&apos;m getting confused with it-&amp;gt;load() &amp;amp; it-&amp;gt;get(), from the comment, looks their functionality is quite similar, (in fact, for quota accounting, load() &amp;amp; get() are exactly same) so I&apos;m going to change the osd_it_iam_load() to make it call iam_it_get() instead of iam_it_iget() (which is half implemented).&lt;/p&gt;</comment>
                            <comment id="46539" author="niu" created="Mon, 15 Oct 2012 00:01:35 +0000"  >&lt;p&gt; &lt;a href=&quot;http://review.whamcloud.com/4266&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4266&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="47381" author="niu" created="Mon, 5 Nov 2012 01:06:26 +0000"  >&lt;p&gt;patch landed for 2.4&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|hzva4f:</customfieldvalue>

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