<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:14:49 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-1236] Large directory feature isnot enabled on this filesystem</title>
                <link>https://jira.whamcloud.com/browse/LU-1236</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I&apos;m benchmarking a SSD device using &lt;tt&gt;mds-survey&lt;/tt&gt;. If I run with:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$ dir_count=1 thrlo=8 thrhi=10000 file_count=100000 sh mds-survey
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The following is seen in &lt;tt&gt;dmesg&lt;/tt&gt; immediatly before the machine hangs:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;...
1332181376 206.76.192.63 6665 Directory (ino: 130547715) index full, reach max htree level :2
1332181376 206.76.192.63 6665 LDISKFS-fs warning (device rsXX0): ldiskfs_dx_add_entry:
1332181376 206.76.192.63 6665 Large directory feature isnot enabled on &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; filesystem
1332181376 206.76.192.63 6665 LDISKFS-fs warning (device rsXX0): ldiskfs_dx_add_entry: 
1332181376 206.76.192.63 6665 Directory (ino: 130547715) index full, reach max htree level :2
1332181376 206.76.192.63 6665 LDISKFS-fs warning (device rsXX0): ldiskfs_dx_add_entry:
1332181376 206.76.192.63 6665 Large directory feature isnot enabled on &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; filesystem
1332181398 206.76.192.63 6665 LustreError: 5111:0:(echo_client.c:1768:echo_lookup_object()) Can not lookup child 436236872: rc = -2
1332181398 206.76.192.63 6665 LustreError: 5111:0:(echo_client.c:1768:echo_lookup_object()) Skipped 1 previous similar message
1332181399 206.76.192.63 6665 LustreError: 5144:0:(echo_client.c:1768:echo_lookup_object()) Can not lookup child 989887001: rc = -2
1332181400 206.76.192.63 6665 LustreError: 5087:0:(echo_client.c:1768:echo_lookup_object()) Can not lookup child 33586437: rc = -2
1332181400 206.76.192.63 6665 LustreError: 5087:0:(echo_client.c:1768:echo_lookup_object()) Skipped 9 previous similar messages
1332181402 206.76.192.63 6665 LustreError: 5197:0:(echo_client.c:1768:echo_lookup_object()) Can not lookup child 1879083690: rc = -2
1332181402 206.76.192.63 6665 LustreError: 5197:0:(echo_client.c:1768:echo_lookup_object()) Skipped 57 previous similar messages
1332181970 206.76.192.63 6665 LustreError: 5486:0:(echo_client.c:1592:echo_md_lookup()) lookup 18446744071562098618: rc = -2
1332181970 206.76.192.63 6665 LustreError: 5486:0:(echo_client.c:1592:echo_md_lookup()) Skipped 127 previous similar messages
1332181970 206.76.192.63 6665 LustreError: 5486:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 18446744071562098618: rc = -2
1332181970 206.76.192.63 6665 LustreError: 5486:0:(echo_client.c:1706:echo_getattr_object()) Skipped 4 previous similar messages
1332181974 206.76.192.63 6665 LustreError: 5571:0:(echo_client.c:1592:echo_md_lookup()) lookup 18446744072988161445: rc = -2
1332181974 206.76.192.63 6665 LustreError: 5571:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 18446744072988161445: rc = -2
1332181988 206.76.192.63 6665 LustreError: 5538:0:(echo_client.c:1592:echo_md_lookup()) lookup 18446744072434514081: rc = -2
1332181988 206.76.192.63 6665 LustreError: 5538:0:(echo_client.c:1592:echo_md_lookup()) Skipped 1 previous similar message
1332181988 206.76.192.63 6665 LustreError: 5538:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 18446744072434514081: rc = -2
1332181988 206.76.192.63 6665 LustreError: 5538:0:(echo_client.c:1706:echo_getattr_object()) Skipped 1 previous similar message
1332182004 206.76.192.63 6665 LustreError: 5531:0:(echo_client.c:1592:echo_md_lookup()) lookup 18446744072317071604: rc = -2
1332182004 206.76.192.63 6665 LustreError: 5531:0:(echo_client.c:1592:echo_md_lookup()) Skipped 1 previous similar message
1332182004 206.76.192.63 6665 LustreError: 5531:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 18446744072317071604: rc = -2
1332182004 206.76.192.63 6665 LustreError: 5531:0:(echo_client.c:1706:echo_getattr_object()) Skipped 1 previous similar message
1332182023 206.76.192.63 6665 LustreError: 5554:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 18446744072702952620: rc = -2
1332182023 206.76.192.63 6665 LustreError: 5554:0:(echo_client.c:1706:echo_getattr_object()) Skipped 3 previous similar messages
1332182038 206.76.192.63 6665 LustreError: 5589:0:(echo_client.c:1592:echo_md_lookup()) lookup 18446744073290153182: rc = -2
1332182038 206.76.192.63 6665 LustreError: 5589:0:(echo_client.c:1592:echo_md_lookup()) Skipped 20 previous similar messages
1332182049 206.76.192.63 6665 LustreError: 5451:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 1560309174: rc = -2
1332182049 206.76.192.63 6665 LustreError: 5451:0:(echo_client.c:1706:echo_getattr_object()) Skipped 18 previous similar messages
1332182081 206.76.192.63 6665 LustreError: 5436:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 1308658240: rc = -2
1332182081 206.76.192.63 6665 LustreError: 5436:0:(echo_client.c:1706:echo_getattr_object()) Skipped 110 previous similar messages
1332182105 206.76.192.63 6665 LustreError: 5500:0:(echo_client.c:1592:echo_md_lookup()) lookup 18446744071796981746: rc = -2 
1332182105 206.76.192.63 6665 LustreError: 5500:0:(echo_client.c:1592:echo_md_lookup()) Skipped 226 previous similar messages


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

&lt;p&gt;This log message originates from:&lt;br/&gt;
&lt;tt&gt;./ldiskfs/kernel_patches/patches/ext4_pdirop-rhel6.patch&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="13621">LU-1236</key>
            <summary>Large directory feature isnot enabled on this filesystem</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="liang">Liang Zhen</assignee>
                                    <reporter username="rhenwood">Richard Henwood</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Mar 2012 15:17:25 +0000</created>
                <updated>Tue, 20 Mar 2012 11:36:00 +0000</updated>
                            <resolved>Tue, 20 Mar 2012 10:38:08 +0000</resolved>
                                    <version>Lustre 2.2.0</version>
                    <version>Lustre 2.3.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="31502" author="rhenwood" created="Mon, 19 Mar 2012 15:46:26 +0000"  >&lt;p&gt;The &lt;tt&gt;mds-survey&lt;/tt&gt; command creates a total of 100000 files in a single directory. It steps through a thread count from 8 to 10000, timing how long with a given number of threads, Create, Lookup, getAttr and setxAttr take.&lt;/p&gt;

&lt;p&gt;Seems the problem occurs at the 128 thread mark:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;~# dir_count=1 thrlo=8 thrhi=10000 file_count=100000 sh /usr/bin/mds-survey
Mon Mar 19 14:24:18 CDT 2012 /usr/bin/mds-survey from mds51.ls4.tacc.utexas.edu
mdt 1 file  100000 dir    1 thr    8 create 49207.37 [34994.58,55993.90] lookup 560559.72 [560559.72,560559.72] md_getattr 589089.04 [589089.04,589089.04] setxattr 341067.03 [359985.60,359985.60] destroy 132062.28 [124984.88,158982.04] 
mdt 1 file  100000 dir    1 thr   16 create 90094.03 [57996.58,165989.21] lookup 445579.31 [442979.62,442979.62] md_getattr 437745.60 [436985.14,436985.14] setxattr 158132.21 [123991.94,169978.24] destroy 72703.35 [53996.65,97988.54] 
mdt 1 file  100000 dir    1 thr   32 create 82619.38 [62995.15,106993.37] lookup 429201.01 [419986.14,435964.25] md_getattr 405683.99 [401974.68,406984.13] setxattr 102304.06 [82989.54,153975.52] destroy 49015.01 [35995.10,64992.07] 
mdt 1 file  100000 dir    1 thr   64 create 57911.35 [43997.01,74995.13] lookup 411225.64 [404976.92,410975.75] md_getattr 127483.38 [   0.00,414142.72] setxattr 110405.23 [90977.98,136990.41] destroy 43722.84 [31996.03,59969.24] 
mdt 1 file  100000 dir    1 thr  128 create             ERROR lookup             ERROR md_getattr 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The host was rest during the crash, but the kernel messages again looked like:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;1332185881 206.76.192.63 6665 LustreError: 3209:0:(echo_client.c:1451:echo_md_create_internal()) Can not create child [0x2000004c6:0x123f7:0x0]: rc = -28
1332185881 206.76.192.63 6665 LustreError: 3209:0:(echo_client.c:1562:echo_create_md_object()) Can not create child 18446744072199676837: rc = -28
1332185881 206.76.192.63 6665 LustreError: 3218:0:(echo_client.c:1451:echo_md_create_internal()) Can not create child [0x20000047a:0x120a9:0x0]: rc = -28
1332185881 206.76.192.63 6665 LustreError: 3218:0:(echo_client.c:1562:echo_create_md_object()) Can not create child 18446744072501665870: rc = -28
1332185881 206.76.192.63 6665 LustreError: 3218:0:(echo_client.c:1562:echo_create_md_object()) Skipped 1 previous similar message
1332185882 206.76.192.63 6665 LustreError: 3236:0:(echo_client.c:1451:echo_md_create_internal()) Can not create child [0x200000498:0x1237f:0x0]: rc = -28
1332185882 206.76.192.63 6665 LustreError: 3236:0:(echo_client.c:1451:echo_md_create_internal()) Skipped 6 previous similar messages
1332185882 206.76.192.63 6665 LustreError: 3236:0:(echo_client.c:1562:echo_create_md_object()) Can not create child 18446744073105646354: rc = -28
1332185882 206.76.192.63 6665 LustreError: 3236:0:(echo_client.c:1562:echo_create_md_object()) Skipped 5 previous similar messages
1332185883 206.76.192.63 6665 LustreError: 3213:0:(echo_client.c:1451:echo_md_create_internal()) Can not create child [0x2000004d4:0x124d0:0x0]: rc = -28
1332185883 206.76.192.63 6665 LustreError: 3234:0:(echo_client.c:1562:echo_create_md_object()) Can not create child 18446744073038537898: rc = -28
1332185883 206.76.192.63 6665 LustreError: 3234:0:(echo_client.c:1562:echo_create_md_object()) Skipped 15 previous similar messages
1332185883 206.76.192.63 6665 LustreError: 3213:0:(echo_client.c:1451:echo_md_create_internal()) Skipped 20 previous similar messages
1332185885 206.76.192.63 6665 LustreError: 3153:0:(echo_client.c:1451:echo_md_create_internal()) Can not create child [0x200000491:0x128c2:0x0]: rc = -28
1332185885 206.76.192.63 6665 LustreError: 3153:0:(echo_client.c:1451:echo_md_create_internal()) Skipped 63 previous similar messages
1332185885 206.76.192.63 6665 LustreError: 3230:0:(echo_client.c:1562:echo_create_md_object()) Can not create child 18446744072904321222: rc = -28
1332185885 206.76.192.63 6665 LustreError: 3230:0:(echo_client.c:1562:echo_create_md_object()) Skipped 69 previous similar messages
1332185909 206.76.192.63 6665 LustreError: 3505:0:(echo_client.c:1768:echo_lookup_object()) Can not lookup child 18446744072669436954: rc = -2
1332185909 206.76.192.63 6665 LustreError: 3487:0:(echo_client.c:1768:echo_lookup_object()) Can not lookup child 18446744072065458648: rc = -2
1332185910 206.76.192.63 6665 LustreError: 3485:0:(echo_client.c:1768:echo_lookup_object()) Can not lookup child 18446744071998350893: rc = -2
1332185910 206.76.192.63 6665 LustreError: 3485:0:(echo_client.c:1768:echo_lookup_object()) Skipped 5 previous similar messages
1332185911 206.76.192.63 6665 LustreError: 3413:0:(echo_client.c:1768:echo_lookup_object()) Can not lookup child 167846909: rc = -2
1332185911 206.76.192.63 6665 LustreError: 3413:0:(echo_client.c:1768:echo_lookup_object()) Skipped 17 previous similar messages
1332186150 206.76.192.63 6665 LustreError: 3585:0:(echo_client.c:1592:echo_md_lookup()) lookup 1140923015: rc = -2
1332186150 206.76.192.63 6665 LustreError: 3585:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 1140923015: rc = -2
1332186150 206.76.192.63 6665 LustreError: 3599:0:(echo_client.c:1592:echo_md_lookup()) lookup 1610686777: rc = -2
1332186150 206.76.192.63 6665 LustreError: 3599:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 1610686777: rc = -2
1332186151 206.76.192.63 6665 LustreError: 3556:0:(echo_client.c:1592:echo_md_lookup()) lookup 167846909: rc = -2
1332186151 206.76.192.63 6665 LustreError: 3556:0:(echo_client.c:1592:echo_md_lookup()) Skipped 13 previous similar messages
1332186151 206.76.192.63 6665 LustreError: 3556:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 167846909: rc = -2
1332186151 206.76.192.63 6665 LustreError: 3556:0:(echo_client.c:1706:echo_getattr_object()) Skipped 13 previous similar messages
1332186152 206.76.192.63 6665 LustreError: 3664:0:(echo_client.c:1592:echo_md_lookup()) lookup 18446744073206311328: rc = -2
1332186152 206.76.192.63 6665 LustreError: 3664:0:(echo_client.c:1592:echo_md_lookup()) Skipped 33 previous similar messages
1332186152 206.76.192.63 6665 LustreError: 3583:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 1073819696: rc = -2
1332186152 206.76.192.63 6665 LustreError: 3583:0:(echo_client.c:1706:echo_getattr_object()) Skipped 33 previous similar messages
1332186154 206.76.192.63 6665 LustreError: 3643:0:(echo_client.c:1592:echo_md_lookup()) lookup 18446744072501665870: rc = -2
1332186154 206.76.192.63 6665 LustreError: 3582:0:(echo_client.c:1706:echo_getattr_object()) Can&apos;t find child 1040263450: rc = -2
1332186154 206.76.192.63 6665 LustreError: 3582:0:(echo_client.c:1706:echo_getattr_object()) Skipped 65 previous similar messages
1332186154 206.76.192.63 6665 LustreError: 3643:0:(echo_client.c:1592:echo_md_lookup()) Skipped 66 previous similar messages
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="31520" author="adilger" created="Mon, 19 Mar 2012 18:14:16 +0000"  >&lt;p&gt;Are you sure it isn&apos;t creating 10k files per thread?  That would make this a 1B file test, which is definitely beyond the default limits for htree directories.&lt;/p&gt;

&lt;p&gt;The reason that we implemented the check/limit for directories over 2 levels is because the e2fsck support for &amp;gt;2 htree levels and &amp;gt;2GB size is not implemented yet (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-896&quot; title=&quot;change e2fsprogs to make it allow directories over 2GB&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-896&quot;&gt;&lt;del&gt;LU-896&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;That functionality needs to be implemented before this can be enabled in production, but it isn&apos;t a huge problem in most cases since the current limit of ~10-15M files is enough for most users.&lt;/p&gt;</comment>
                            <comment id="31589" author="liang" created="Tue, 20 Mar 2012 10:38:08 +0000"  >&lt;p&gt;As Andreas said, it will be enabled in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-896&quot; title=&quot;change e2fsprogs to make it allow directories over 2GB&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-896&quot;&gt;&lt;del&gt;LU-896&lt;/del&gt;&lt;/a&gt;, so we can just close it.&lt;/p&gt;</comment>
                            <comment id="31591" author="mdiep" created="Tue, 20 Mar 2012 11:36:00 +0000"  >&lt;p&gt;The file_count is per threads. make sure you have enough inode for $thr * $file_count&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|hzvh5r:</customfieldvalue>

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