<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:15:09 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-1270] lfs find -size returns &quot;obd_uuid: (null) failed No such device&quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-1270</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;reproduce procedure:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;mount a lustre filesystem on /mnt/lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
$ touch /mnt/lustre/a&lt;br/&gt;
$ lfs find -size +0 /mnt/lustre&lt;br/&gt;
/mnt/lustre&lt;br/&gt;
obd_uuid: (null) failed No such device&lt;/p&gt;

&lt;p&gt;root cause:&lt;br/&gt;
In cb_find_init(), when a regular file&apos;s size or time to be checked, the code path goes under to&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;cb_find_init()&lt;/b&gt;&lt;/div&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;while&lt;/span&gt; (!decision) {
                /* For regular files with the stripe the decision may have not
                 * been taken yet &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; *time or size is to be checked. */
                LASSERT((S_ISREG(st-&amp;gt;st_mode) &amp;amp;&amp;amp;
                        param-&amp;gt;lmd-&amp;gt;lmd_lmm.lmm_stripe_count) ||
                        param-&amp;gt;mdtindex != OBD_NOT_FOUND);

                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (param-&amp;gt;obdindex != OBD_NOT_FOUND)
                        print_failed_tgt(param, path, LL_STATFS_LOV);

                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (param-&amp;gt;mdtindex != OBD_NOT_FOUND)
                        print_failed_tgt(param, path, LL_STATFS_LMV);

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And during the whole process, param-&amp;gt;mdtindex hasn&apos;t initialized to OBD_NOT_FOUND, and print_failed_tgt() cannot find anything since none of obd uuid was specified in the process.&lt;/p&gt;</description>
                <environment>master branch</environment>
        <key id="13795">LU-1270</key>
            <summary>lfs find -size returns &quot;obd_uuid: (null) failed No such device&quot;</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="bobijam">Zhenyu Xu</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Mar 2012 23:05:17 +0000</created>
                <updated>Fri, 20 Feb 2015 12:51:37 +0000</updated>
                            <resolved>Fri, 20 Feb 2015 12:51:37 +0000</resolved>
                                    <version>Lustre 2.2.0</version>
                    <version>Lustre 2.3.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>2</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="32879" author="bobijam" created="Thu, 29 Mar 2012 23:28:12 +0000"  >&lt;p&gt;master (2.3) patch tracking at &lt;a href=&quot;http://review.whamcloud.com/2411&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2411&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="32886" author="bobijam" created="Fri, 30 Mar 2012 01:42:53 +0000"  >&lt;p&gt;b2_2 patch tracking at &lt;a href=&quot;http://review.whamcloud.com/2412&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2412&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48422" author="simmonsja" created="Tue, 27 Nov 2012 13:23:20 +0000"  >&lt;p&gt;Patch has been code rotting. Time to rebase it &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="51315" author="simmonsja" created="Mon, 28 Jan 2013 08:21:12 +0000"  >&lt;p&gt;Patch has been merged to master. No work needs to be done for b1_8 or b2_1 since params-&amp;gt;mdtindex does not exist. No further work is being done on 2.2 or 2.3 so we can close this ticket.&lt;/p&gt;</comment>
                            <comment id="55882" author="spitzcor" created="Tue, 9 Apr 2013 15:42:55 +0000"  >&lt;p&gt;Since 2411 landed, time to close.&lt;/p&gt;</comment>
                            <comment id="62142" author="simmonsja" created="Thu, 11 Jul 2013 18:18:01 +0000"  >&lt;p&gt;Peter I think you can close this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="10892">LU-341</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|hzvnhj:</customfieldvalue>

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