<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:28:20 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-2802] lmv_get_target should get index by checking ltd_idx</title>
                <link>https://jira.whamcloud.com/browse/LU-2802</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;lmv_get_target should find target by checking ltd_idx, instead of return lmv-&amp;gt;tgts&lt;span class=&quot;error&quot;&gt;&amp;#91;mds&amp;#93;&lt;/span&gt; directly.&lt;br/&gt;
In lmv_find_target, it will return lmv-&amp;gt;tgts&lt;span class=&quot;error&quot;&gt;&amp;#91;mds&amp;#93;&lt;/span&gt; according to mdt_index, which is not correct. LMV index is created by mount sequence, while mdt_index by indicated by --index.&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;static inline struct lmv_tgt_desc *
lmv_get_target(struct lmv_obd *lmv, mdsno_t mds)
{       
        return &amp;amp;lmv-&amp;gt;tgts[mds];
}       

static inline struct lmv_tgt_desc *
lmv_find_target(struct lmv_obd *lmv, const struct lu_fid *fid)
{               
        mdsno_t mds = 0;
        int rc;         
                        
        if (lmv-&amp;gt;desc.ld_tgt_count &amp;gt; 1) {
                rc = lmv_fld_lookup(lmv, fid, &amp;amp;mds);
                if (rc) 
                        return ERR_PTR(rc);
        }                            
                        
        return lmv_get_target(lmv, mds);
}       
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="17541">LU-2802</key>
            <summary>lmv_get_target should get index by checking ltd_idx</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="di.wang">Di Wang</assignee>
                                    <reporter username="di.wang">Di Wang</reporter>
                        <labels>
                            <label>LB</label>
                    </labels>
                <created>Wed, 13 Feb 2013 03:46:10 +0000</created>
                <updated>Wed, 20 Mar 2013 04:47:37 +0000</updated>
                            <resolved>Wed, 20 Mar 2013 04:47:37 +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="52258" author="di.wang" created="Wed, 13 Feb 2013 04:01:30 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/5412&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5412&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54443" author="pjones" created="Wed, 20 Mar 2013 04:47:37 +0000"  >&lt;p&gt;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|hzvj1b:</customfieldvalue>

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