<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:23:39 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-16060] e2fsck reported &quot;symlink missing NUL terminator&quot; errors</title>
                <link>https://jira.whamcloud.com/browse/LU-16060</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;e2fsck errors seen after racer test:&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;Symlink /REMOTE_PARENT_DIR/0x20000a73a:0xb116:0x0/CL_racer_long_01/13 (inode #275636774) is invalid.
Clear? no

Inode 275636774 is badly corrupt (badness value = 32767).  Clear? no

Symlink /REMOTE_PARENT_DIR/0x20000a73a:0xb116:0x0/CL_racer_long_01/3 (inode #275636742) is invalid.
Clear? no

Inode 275636742 is badly corrupt (badness value = 32767).  Clear? no

Symlink /REMOTE_PARENT_DIR/0x20000a73a:0xb116:0x0/CL_racer_long_01/5 (inode #275636773) is invalid.
Clear? no

Inode 275636773 is badly corrupt (badness value = 32767).  Clear? no

Symlink /REMOTE_PARENT_DIR/0x20000a73a:0xb116:0x0/CL_racer_long_01/7 (inode #275636821) is invalid.
Clear? no

Inode 275636821 is badly corrupt (badness value = 32767).  Clear? no
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Also&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;Inode 275636742 symlink missing NUL terminator.  Fix? no

Inode 275636743 symlink missing NUL terminator.  Fix? no

Inode 275636772 symlink missing NUL terminator.  Fix? no

Inode 275636773 symlink missing NUL terminator.  Fix? no

Inode 275636774 symlink missing NUL terminator.  Fix? no

Inode 275636793 symlink missing NUL terminator.  Fix? no

Inode 275636813 symlink missing NUL terminator.  Fix? no

Inode 275636821 symlink missing NUL terminator.  Fix? no

Inode 275636826 symlink missing NUL terminator.  Fix? no

Inode 275636827 symlink missing NUL terminator.  Fix? no
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="71558">LU-16060</key>
            <summary>e2fsck reported &quot;symlink missing NUL terminator&quot; errors</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="zam">Alexander Zarochentsev</assignee>
                                    <reporter username="zam">Alexander Zarochentsev</reporter>
                        <labels>
                    </labels>
                <created>Sat, 30 Jul 2022 16:12:04 +0000</created>
                <updated>Thu, 19 Oct 2023 14:58:06 +0000</updated>
                            <resolved>Fri, 19 Aug 2022 15:56:26 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="342132" author="gerrit" created="Sat, 30 Jul 2022 16:20:49 +0000"  >&lt;p&gt;&quot;Alexander Zarochentsev &amp;lt;alexander.zarochentsev@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48092&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48092&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16060&quot; title=&quot;e2fsck reported &amp;quot;symlink missing NUL terminator&amp;quot; errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16060&quot;&gt;&lt;del&gt;LU-16060&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: copy nul byte terminator in writelink&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 36b0e0f38c0ad50d8c1cae2089ab83728c2665d3&lt;/p&gt;</comment>
                            <comment id="342376" author="adilger" created="Wed, 3 Aug 2022 07:45:02 +0000"  >&lt;p&gt;This doesn&apos;t seem like a new bug.  I&apos;m pretty certain that there was a patch for e2fsck to fix this problem many years ago, and it was supposed to be phased out once osd-ldiskfs worked the same way that ext4 did.  It looks like that is &lt;a href=&quot;https://review.whamcloud.com/3560&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/3560&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1540&quot; title=&quot;e2fsck remove too many symlinks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1540&quot;&gt;&lt;del&gt;LU-1540&lt;/del&gt;&lt;/a&gt; osd: add NUL terminator for long symlink&lt;/tt&gt;&quot;.&lt;/p&gt;

&lt;p&gt;What version of e2fsck is generating these errors?  It should be handling this  Is it possible that it is missing the above patch?  I do recall thinking about removing this patch from the 1.46.5-wc1 rebase, but it looks like it is still in my patch series, and that rebase has not yet been landed.&lt;/p&gt;</comment>
                            <comment id="342527" author="zam" created="Thu, 4 Aug 2022 11:05:38 +0000"  >&lt;p&gt;&amp;gt; This doesn&apos;t seem like a new bug.&lt;/p&gt;

&lt;p&gt;Yes, it is.  The new issue is about &quot;fast&quot; symlinks, &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1540&quot; title=&quot;e2fsck remove too many symlinks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1540&quot;&gt;&lt;del&gt;LU-1540&lt;/del&gt;&lt;/a&gt; is for long symlinks. &lt;br/&gt;
The issue is not seen till Lustre started to use extents for MDT partitions.  W/o extents,&lt;br/&gt;
i_data gets cleared by ext4_new_inode(). But, if extents are used, i_data gets initialized by an ext4 extent structure, so symlink target string needs to be explicitly terminated by NUL byte,  for short symlinks overlapping the initial ext4 extent struct.&lt;/p&gt;</comment>
                            <comment id="344045" author="gerrit" created="Fri, 19 Aug 2022 04:32:12 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/48092/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48092/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16060&quot; title=&quot;e2fsck reported &amp;quot;symlink missing NUL terminator&amp;quot; errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16060&quot;&gt;&lt;del&gt;LU-16060&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: copy nul byte terminator in writelink&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 907dc0a2d333f2df2d654a968fc50f8cc05b779d&lt;/p&gt;</comment>
                            <comment id="344117" author="pjones" created="Fri, 19 Aug 2022 15:56:26 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="344211" author="gerrit" created="Mon, 22 Aug 2022 09:20:08 +0000"  >&lt;p&gt;&quot;Etienne AUJAMES &amp;lt;eaujames@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48280&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48280&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16060&quot; title=&quot;e2fsck reported &amp;quot;symlink missing NUL terminator&amp;quot; errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16060&quot;&gt;&lt;del&gt;LU-16060&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: copy nul byte terminator in writelink&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 805ded51e0db8256f942e2105ad21abda608106d&lt;/p&gt;</comment>
                            <comment id="375825" author="gerrit" created="Mon, 19 Jun 2023 11:49:14 +0000"  >&lt;p&gt;&quot;Etienne AUJAMES &amp;lt;eaujames@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51356&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51356&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16060&quot; title=&quot;e2fsck reported &amp;quot;symlink missing NUL terminator&amp;quot; errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16060&quot;&gt;&lt;del&gt;LU-16060&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: copy nul byte terminator in writelink&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: dca31aec8847d7b27f9c2fb2f0142db6f2a6a7b5&lt;/p&gt;</comment>
                            <comment id="389922" author="gerrit" created="Thu, 19 Oct 2023 13:47:06 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51356/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51356/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16060&quot; title=&quot;e2fsck reported &amp;quot;symlink missing NUL terminator&amp;quot; errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16060&quot;&gt;&lt;del&gt;LU-16060&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: copy nul byte terminator in writelink&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d1f0ef129d8e9af13c31dc821a00639de3349873&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="14969">LU-1540</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|i02vun:</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>