<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:29:01 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-2881] ldiskfs getdents() returns invalid d_types </title>
                <link>https://jira.whamcloud.com/browse/LU-2881</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Note this is not a bug in lustre but in ldisks as a top level filesystem. The d_types returned have an extra bit set (perhaps from putting FIDs in dirents). The most annoying symptom of this is that it breaks find.&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;# llmount.sh
...
# mkdir -p /mnt/lustre/D/D/D/D/D/D
# touch /mnt/lustre/D/D/D/D/D/D/XXX
# find /mnt/lustre
/mnt/lustre
/mnt/lustre/.lustre
/mnt/lustre/D
/mnt/lustre/D/D
/mnt/lustre/D/D/D
/mnt/lustre/D/D/D/D
/mnt/lustre/D/D/D/D/D
/mnt/lustre/D/D/D/D/D/D
/mnt/lustre/D/D/D/D/D/D/XXX
# umount /mnt/lustre /mnt/mds1
#
# mount /tmp/lustre-mdt1 /mnt/mds1 -t ldiskfs -o loop,ro
# find /mnt/mds1/ROOT -name XXX
# stat /mnt/mds1/ROOT/D/D/D/D/D/D/XXX
  File: `/mnt/mds1/ROOT/D/D/D/D/D/D/XXX&apos;
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 700h/1792d      Inode: 111         Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2013-02-26 21:37:51.000000000 -0600
Modify: 2013-02-26 21:37:51.000000000 -0600
Change: 2013-02-26 21:37:51.000000000 -0600
# find /mnt/mds1/ROOT
/mnt/mds1/ROOT
/mnt/mds1/ROOT/.lustre
/mnt/mds1/ROOT/D
# sys_getdents --verbose /mnt/mds1/ROOT
d_type =   4 (d), d_ino =                  2, d_off =  2085404527983360875, d_reclen =   24, d_name = &apos;..&apos;
d_type =   4 (d), d_ino =              50013, d_off =  3188331865672730665, d_reclen =   24, d_name = &apos;.&apos;
dirent &apos;.lustre&apos; has unknown d_type 20
d_type =  20 (!), d_ino =              50014, d_off =  8374721202256512604, d_reclen =   32, d_name = &apos;.lustre&apos;
dirent &apos;D&apos; has unknown d_type 20
d_type =  20 (!), d_ino =              50015, d_off =  9223372036854775807, d_reclen =   24, d_name = &apos;D&apos;
#
# sys_getdents --verbose /mnt/mds1/ROOT/D/D/D/D/D/D/
dirent &apos;..&apos; has unknown d_type 20
d_type =  20 (!), d_ino =              50019, d_off =  2085404527983360875, d_reclen =   24, d_name = &apos;..&apos;
d_type =   4 (d), d_ino =              50020, d_off =  6678178485617948048, d_reclen =   24, d_name = &apos;.&apos;
dirent &apos;XXX&apos; has unknown d_type 24
d_type =  24 (!), d_ino =                111, d_off =  9223372036854775807, d_reclen =   24, d_name = &apos;XXX&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="17720">LU-2881</key>
            <summary>ldiskfs getdents() returns invalid d_types </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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Feb 2013 23:23:20 +0000</created>
                <updated>Fri, 3 May 2013 18:56:21 +0000</updated>
                            <resolved>Tue, 26 Feb 2013 23:36:46 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="53072" author="jhammond" created="Tue, 26 Feb 2013 23:36:46 +0000"  >&lt;p&gt;Double submit of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2880&quot; title=&quot;ldiskfs getdents() returns invalid d_types &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2880&quot;&gt;&lt;del&gt;LU-2880&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="17719">LU-2880</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|hzvjyn:</customfieldvalue>

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