<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:42:56 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-11330] replay-single test_70d: Directory not empty rmdir fails</title>
                <link>https://jira.whamcloud.com/browse/LU-11330</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Andreas Dilger  &amp;lt;adilger@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/0b9dcc0a-adf2-11e8-bd05-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/0b9dcc0a-adf2-11e8-bd05-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_70d failed with the following error:&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;Started 7681
rm: cannot remove &apos;/mnt/lustre/d70d.replay-single/test1&apos;: Directory not empty
rmdir fails
7681 stopped
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;







&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
replay-single test_70d - 7681 stopped&lt;/p&gt;</description>
                <environment></environment>
        <key id="53202">LU-11330</key>
            <summary>replay-single test_70d: Directory not empty rmdir fails</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Sep 2018 22:58:49 +0000</created>
                <updated>Mon, 26 Aug 2019 23:33:30 +0000</updated>
                            <resolved>Wed, 27 Feb 2019 05:25:47 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="240630" author="bzzz" created="Wed, 23 Jan 2019 18:54:52 +0000"  >&lt;p&gt;I&apos;m able to reproduce this w/o any failover, just with this:&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;
&lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; ((i = 0; i &amp;lt; 5000; i++)); &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
        $LFS mkdir -i0 -c2 $DIR/$tdir/test || error mkdir failed&quot;
        touch $DIR/$tdir/test/a || error &lt;span class=&quot;code-quote&quot;&gt;&quot;rmdir failed&quot;&lt;/span&gt;
        mkdir $DIR/$tdir/test/b || error &lt;span class=&quot;code-quote&quot;&gt;&quot;mkdir failed&quot;&lt;/span&gt;
        rm -rf $DIR/$tdir/test || error &lt;span class=&quot;code-quote&quot;&gt;&quot;rmdir failed&quot;&lt;/span&gt;
done
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;the root cause is that sometimes hash of &quot;a&quot; or &quot;b&quot; can be 0, so during readdir MDT returns &quot;.&quot; (hard coded hash=1), then &quot;..&quot; (hash=2) and then all the remaining real entries including that one with hash=0. and this confuses the client.&lt;/p&gt;

&lt;p&gt;IMO, it deserves to be &quot;major&quot; issue&lt;/p&gt;</comment>
                            <comment id="240634" author="gerrit" created="Wed, 23 Jan 2019 19:10:59 +0000"  >&lt;p&gt;Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34098&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34098&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11330&quot; title=&quot;replay-single test_70d: Directory not empty rmdir fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11330&quot;&gt;&lt;del&gt;LU-11330&lt;/del&gt;&lt;/a&gt; osd-zfs: hash for . and .. must not be a positive number&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fe4a0c155179bc3810f9bd449539b147a943daa4&lt;/p&gt;</comment>
                            <comment id="242883" author="gerrit" created="Wed, 27 Feb 2019 02:01:09 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34098/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34098/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11330&quot; title=&quot;replay-single test_70d: Directory not empty rmdir fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11330&quot;&gt;&lt;del&gt;LU-11330&lt;/del&gt;&lt;/a&gt; osd-zfs: hash for ./.. must be 0&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: fb75af7d45d1217c877f75c4296f9df0cc731604&lt;/p&gt;</comment>
                            <comment id="242914" author="pjones" created="Wed, 27 Feb 2019 05:25:47 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="244240" author="gerrit" created="Tue, 19 Mar 2019 17:10:08 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34451&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34451&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11330&quot; title=&quot;replay-single test_70d: Directory not empty rmdir fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11330&quot;&gt;&lt;del&gt;LU-11330&lt;/del&gt;&lt;/a&gt; osd-zfs: hash for ./.. must be 0&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 74b0f9d6ee3278084f5f8f52d1ea3fb35eb4d009&lt;/p&gt;</comment>
                            <comment id="244980" author="gerrit" created="Mon, 1 Apr 2019 06:19:41 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34451/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34451/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11330&quot; title=&quot;replay-single test_70d: Directory not empty rmdir fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11330&quot;&gt;&lt;del&gt;LU-11330&lt;/del&gt;&lt;/a&gt; osd-zfs: hash for ./.. must be 0&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 945db23fad2bb38a2a4ebaec9407f6ae20ed3dc7&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="44105">LU-9157</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="55160">LU-12068</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="53280">LU-11366</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|i001r3:</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>