<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:05:15 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-13910] return 0 if no error is found in mdt_path_current()</title>
                <link>https://jira.whamcloud.com/browse/LU-13910</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running &quot;&lt;tt&gt;lfs fid2path&lt;/tt&gt;&quot; command always returns NULL on clients. confirm command works properly when run on server.&lt;br/&gt;
Running on client with lustre 2.11 and 2.12.3 always return NULL, eg:&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;[client]$ mount -t lustre
10.0.0.12@o2ib:10.0.1.12@o2ib:/lustre/home /home lustre rw,localflock,lazystatfs 0 0
[client]$ lfs path2fid /home/gsmith/lustre/test_file
[0x2400467ef:0x1da68:0x0]
[client]$ lfs fid2path /home [0x2400467ef:0x1da68:0x0]
/home//
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Capturing the debug log from client while running command&lt;br/&gt;
client, eg:&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;000002:00000001:2.0:1593202672.215576:0:153435:0:(mdc_request.c:1964:mdc_iocontrol()) Process entered
00000002:00000010:2.0:1593202672.215577:0:153435:0:(mdc_request.c:1549:mdc_ioc_fid2path()) kmalloced &apos;key&apos;: 64 at ffff880b3f16a6c0.
00000002:00000080:2.0:1593202672.215579:0:153435:0:(mdc_request.c:1557:mdc_ioc_fid2path()) path get [0x2400467ef:0x1bb4d:0x0] from 18446744073709551615 #0
00000002:00000001:2.0:1593202672.215583:0:153435:0:(obd_class.h:501:obd_get_info()) Process entered
00000002:00000001:2.0:1593202672.215584:0:153435:0:(obd_class.h:488:exp_check_ops()) Process leaving (rc=0 : 0 : 0)
00000002:00000001:2.0:1593202672.215586:0:153435:0:(mdc_request.c:2085:mdc_get_info_rpc()) Process entered
--

00000100:00000001:4.0:1593202672.216681:0:153435:0:(client.c:2525:__ptlrpc_req_finished()) Process leaving (rc=1 : 1 : 1)
00000002:00000001:4.0:1593202672.216683:0:153435:0:(mdc_request.c:2124:mdc_get_info_rpc()) Process leaving (rc=56 : 56 : 38)
00000002:00000001:4.0:1593202672.216685:0:153435:0:(mdc_request.c:2349:mdc_get_info()) Process leaving (rc=56 : 56 : 38)
00000002:00000001:4.0:1593202672.216687:0:153435:0:(obd_class.h:515:obd_get_info()) Process leaving (rc=56 : 56 : 38)
00000002:00000001:4.0:1593202672.216688:0:153435:0:(mdc_request.c:1567:mdc_ioc_fid2path()) Process leaving via out (rc=56 : 56 : 0x38)
00000002:00000010:4.0:1593202672.216691:0:153435:0:(mdc_request.c:1581:mdc_ioc_fid2path()) kfreed &apos;key&apos;: 64 at ffff880b3f16a6c0.
00000002:00000001:4.0:1593202672.216693:0:153435:0:(mdc_request.c:1974:mdc_iocontrol()) Process leaving via out (rc=56 : 56 : 0x38)
00800000:00000001:4.0:1593202672.216695:0:153435:0:(obd_class.h:1240:obd_iocontrol()) Process leaving (rc=56 : 56 : 38)
00800000:00000001:4.0:1593202672.216697:0:153435:0:(lmv_obd.c:674:lmv_fid2path()) Process leaving via out_fid2path (rc=56 : 56 : 0x38)
00800000:00000001:4.0:1593202672.216700:0:153435:0:(lmv_obd.c:737:lmv_fid2path()) Process leaving (rc=56 : 56 : 38)
00800000:00000001:4.0:1593202672.216701:0:153435:0:(lmv_obd.c:1152:lmv_iocontrol()) Process leaving (rc=56 : 56 : 38)
00000080:00000001:4.0:1593202672.216703:0:153435:0:(obd_class.h:1240:obd_iocontrol()) Process leaving (rc=56 : 56 : 38)
00000080:00000001:4.0:1593202672.216705:0:153435:0:(file.c:2276:ll_fid2path()) Process leaving via gf_free (rc=56 : 56 : 0x38)
00000080:00000010:4.0:1593202672.216707:0:153435:0:(file.c:2282:ll_fid2path()) kfreed &apos;gfout&apos;: 4128 at ffff88100c452000.
00000080:00000001:4.0:1593202672.216709:0:153435:0:(file.c:2283:ll_fid2path()) Process leaving (rc=56 : 56 : 38)
00000080:00000001:4.0:1593202672.216711:0:153435:0:(dir.c:1585:ll_dir_ioctl()) Process leaving (rc=56 : 56 : 38)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Always return 0 if no error is found in &lt;tt&gt;mdt_path_current()&lt;/tt&gt;, otherwise the non-zero value will be treated as an error and &lt;tt&gt;fid2path&lt;/tt&gt; will return NULL.&lt;/p&gt;</description>
                <environment></environment>
        <key id="60421">LU-13910</key>
            <summary>return 0 if no error is found in mdt_path_current()</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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="emoly.liu">Emoly Liu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Aug 2020 12:16:11 +0000</created>
                <updated>Tue, 1 Sep 2020 15:18:22 +0000</updated>
                            <resolved>Tue, 1 Sep 2020 04:59:23 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="277679" author="gerrit" created="Tue, 18 Aug 2020 14:18:20 +0000"  >&lt;p&gt;Emoly Liu (emoly@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39688&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39688&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13910&quot; title=&quot;return 0 if no error is found in mdt_path_current()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13910&quot;&gt;&lt;del&gt;LU-13910&lt;/del&gt;&lt;/a&gt; mdt: 0 for success in mdt_path_current()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: aee01ac7760f8fd89ca8954bdbd6930151e19497&lt;/p&gt;</comment>
                            <comment id="278455" author="gerrit" created="Tue, 1 Sep 2020 03:44:52 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/39688/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39688/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13910&quot; title=&quot;return 0 if no error is found in mdt_path_current()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13910&quot;&gt;&lt;del&gt;LU-13910&lt;/del&gt;&lt;/a&gt; mdt: 0 for success in mdt_path_current()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6a3599a9389da07ac435d94873376c9f86edea9d&lt;/p&gt;</comment>
                            <comment id="278470" author="pjones" created="Tue, 1 Sep 2020 04:59:23 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="278524" author="adilger" created="Tue, 1 Sep 2020 15:10:34 +0000"  >&lt;p&gt;This ticket describes the &lt;b&gt;solution&lt;/b&gt;, but it never really describes the &lt;b&gt;problem&lt;/b&gt;. Is there some test that is failing?  What are the messages/symptoms of the failure?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|i017yn:</customfieldvalue>

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