<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:35:25 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-3613] Get parent_fid + name for an entry</title>
                <link>https://jira.whamcloud.com/browse/LU-3613</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Getting all parent fid + name of an entry currently requires several calls with the current api, and is a big waste of RPCs:&lt;br/&gt;
To get all path for an entry, we need to call fid2path,&lt;br/&gt;
so this needs to call path2fid first, as fid2path requires a fid argument.&lt;br/&gt;
Then, we need to call path2fid again for each path returned by fid2path.&lt;/p&gt;

&lt;p&gt;It would be much simpler to provide a wrapper that would directly read and decode link ea information.&lt;br/&gt;
This would return all parent_fid+name for a given path.&lt;br/&gt;
(this would also implements a fid -&amp;gt; parent_fid+name interface,&lt;br/&gt;
by passing a path in .lustre/fid).&lt;/p&gt;

&lt;p&gt;I&apos;ll submit a patch to be (hopefully) included in 2.5.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19916">LU-3613</key>
            <summary>Get parent_fid + name for an entry</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="jay">Jinshan Xiong</assignee>
                                    <reporter username="leibovici-cea">Thomas LEIBOVICI - CEA</reporter>
                        <labels>
                            <label>liblustreapi</label>
                            <label>patch</label>
                    </labels>
                <created>Mon, 22 Jul 2013 12:33:13 +0000</created>
                <updated>Fri, 31 Oct 2014 23:16:47 +0000</updated>
                            <resolved>Fri, 31 Oct 2014 17:15:44 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="62686" author="leibovici-cea" created="Mon, 22 Jul 2013 12:47:53 +0000"  >&lt;p&gt;pushed as change: &lt;a href=&quot;http://review.whamcloud.com/7069&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7069&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="73352" author="leibovici-cea" created="Thu, 12 Dec 2013 12:32:15 +0000"  >&lt;p&gt;The change has Jenkins and Maloo green lights - if you can take a look at it. Thanks.&lt;/p&gt;</comment>
                            <comment id="90614" author="leibovici-cea" created="Fri, 1 Aug 2014 07:47:24 +0000"  >&lt;p&gt;Since 2.6.0, definitions of link_ea* structures is no longer part of installed headers accessible for client applications (previously in lustre_idl.h).&lt;br/&gt;
This is definitely cleaner, but now there is no possible workaround to decode linkea directly as a client application.&lt;br/&gt;
So this patch (&lt;a href=&quot;http://review.whamcloud.com/7069&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7069&lt;/a&gt;) becomes a requirement to get parent FID for an entry in Lustre 2.6.&lt;/p&gt;</comment>
                            <comment id="98070" author="pjones" created="Fri, 31 Oct 2014 17:15:44 +0000"  >&lt;p&gt;Landed for 2.7&lt;/p&gt;</comment>
                            <comment id="98107" author="hdoreau" created="Fri, 31 Oct 2014 21:56:50 +0000"  >&lt;p&gt;There&apos;ll be a follow-up patch to implement improvements the reviewers suggested on gerrit. Shall I open a new ticket for that?&lt;/p&gt;</comment>
                            <comment id="98111" author="pjones" created="Fri, 31 Oct 2014 22:33:40 +0000"  >&lt;p&gt;I think that would be best. We can link the new ticket to this one&lt;/p&gt;</comment>
                            <comment id="98113" author="hdoreau" created="Fri, 31 Oct 2014 23:03:33 +0000"  >&lt;p&gt;To track the follow-up patch.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="27404">LU-5837</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26508">LU-5613</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzvvsf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9289</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>