<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:47:58 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-11907] sanity fails to cleanup d60g.sanity</title>
                <link>https://jira.whamcloud.com/browse/LU-11907</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;== sanity test complete, duration 31 sec ============================================================= 14:20:26 (1548926426)&lt;br/&gt;
rm: cannot remove &apos;/mnt/lustre/d60g.sanity&apos;: Directory not empty&lt;br/&gt;
 sanity : @@@@@@ FAIL: remove sub-test dirs failed &lt;/p&gt;

&lt;p&gt;this is because 60g left d60g.sanity in inconsistent state:&lt;br/&gt;
striped directory creation failed to create one stripe, then failed to remove direntry (due to same OBD_FAIL_OSD_TXN_START).&lt;br/&gt;
when final rmdir fails to load inode with:&lt;br/&gt;
LustreError: 25350:0:(llite_lib.c:2414:ll_prep_inode()) new_inode -fatal: rc -2&lt;/p&gt;

&lt;p&gt;I&apos;m not sure what would be a correct approach here as in the fields we&apos;d suggest to run LFSCK. probably we should use something like lctl rmdir .. to cleanup after 60g?&lt;/p&gt;</description>
                <environment></environment>
        <key id="54721">LU-11907</key>
            <summary>sanity fails to cleanup d60g.sanity</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="bzzz">Alex Zhuravlev</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Jan 2019 10:15:43 +0000</created>
                <updated>Sat, 4 Jan 2020 00:03:46 +0000</updated>
                            <resolved>Wed, 29 May 2019 13:00:41 +0000</resolved>
                                    <version>Lustre 2.12.2</version>
                    <version>Lustre 2.12.3</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="241092" author="adilger" created="Thu, 31 Jan 2019 16:34:17 +0000"  >&lt;p&gt;While fixing this with LFSCK should hopefully work, it is probably my least-preferred option, next least preferred option is using &quot;lfs rmentry&quot; (or whatever it is called). &#160;&lt;/p&gt;

&lt;p&gt;The reason I don&apos;t like those is because this isn&apos;t what users will use, and they may not even know they exist. They will use &quot;rmdir&quot; or &quot;rm -r&quot;, and that should work. The main reason we added &quot;lfs rmentry&quot; is to allow deleting entries on a remote MDT when the MDT is permanently lost. Normally, we don&apos;t want to allow a user to delete a remote directory when the MDT is just temporarily offline, because it may be full of files.&#160;&lt;/p&gt;</comment>
                            <comment id="241093" author="bzzz" created="Thu, 31 Jan 2019 16:42:46 +0000"  >&lt;p&gt;right, I think this is a special case. I actually doubt such an outcome was designed. though another concern is that the test leaves the filesystem inconsistent and if we begin to run fsck/lfsck at some point (iirc, we discussed this possibility) then that would report an error.&lt;br/&gt;
another thought was that it&apos;s probably OK to let users to access/remove striped directories with missing stripes? currently this is impossible, AFAIU.&lt;/p&gt;</comment>
                            <comment id="241096" author="adilger" created="Thu, 31 Jan 2019 17:55:19 +0000"  >&lt;p&gt;Yes, being able to read/unlink directories with missing stripes is very useful. We can&apos;t allow new files to be created therein, but we might consider to allow the entries to be migrated to another MDT (probably as a separate patch, if it is more complex than just allowing read/unlink).&#160;&lt;/p&gt;</comment>
                            <comment id="241143" author="laisiyao" created="Fri, 1 Feb 2019 02:25:25 +0000"  >&lt;p&gt;Yes, I agree. After we support access to directories with missing stripes, migrate such directory will be similar to migrate directory with bad hash.&lt;/p&gt;</comment>
                            <comment id="246278" author="gerrit" created="Wed, 24 Apr 2019 08:17:03 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34750&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34750&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11907&quot; title=&quot;sanity fails to cleanup d60g.sanity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11907&quot;&gt;&lt;del&gt;LU-11907&lt;/del&gt;&lt;/a&gt; dne: allow access to striped dir with broken layout&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1717d19d1eefd6be6dcc78ea55283ceccc68e920&lt;/p&gt;</comment>
                            <comment id="247910" author="gerrit" created="Wed, 29 May 2019 04:24:58 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34750/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34750/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11907&quot; title=&quot;sanity fails to cleanup d60g.sanity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11907&quot;&gt;&lt;del&gt;LU-11907&lt;/del&gt;&lt;/a&gt; dne: allow access to striped dir with broken layout&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d2725563e7afa17a41a53aa65255a31380606d23&lt;/p&gt;</comment>
                            <comment id="247938" author="pjones" created="Wed, 29 May 2019 13:00:41 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="259240" author="gerrit" created="Thu, 5 Dec 2019 19:30:33 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36939&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36939&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11907&quot; title=&quot;sanity fails to cleanup d60g.sanity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11907&quot;&gt;&lt;del&gt;LU-11907&lt;/del&gt;&lt;/a&gt; dne: allow access to striped dir with broken layout&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a7ddb9c9e20a1593b46fd16862c4bfaea66c0f41&lt;/p&gt;</comment>
                            <comment id="260599" author="gerrit" created="Fri, 3 Jan 2020 23:44:16 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36939/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36939/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11907&quot; title=&quot;sanity fails to cleanup d60g.sanity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11907&quot;&gt;&lt;del&gt;LU-11907&lt;/del&gt;&lt;/a&gt; dne: allow access to striped dir with broken layout&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5b1ea58c21edd17c2cb1f4ecdbbeb5bbdaa1444b&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="54069">LU-11681</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|i00an3:</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>