<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:30:14 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-3016] The errno for symlink() on Lustre is different from it on ext3 or NFS</title>
                <link>https://jira.whamcloud.com/browse/LU-3016</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I&apos;m a developer of Fujitsu customized Lustre, named FEFS.&lt;/p&gt;

&lt;p&gt;I found a problem in Lustre-2.3.x.&lt;br/&gt;
If the C program like below is executed on ext3 or NFS, the errno for symlink() is EEXIST(17).&lt;br/&gt;
However, on Lustre-2.3.x, it is ENOENT(2).&lt;br/&gt;
The problem is that the errno for symlink() on Lustre is different from it on ext3 or NFS.&lt;br/&gt;
The problem was found, because the &quot;test-symlink&quot; was FAIL in &quot;make check&quot; of the GNU Core Utilities (&lt;a href=&quot;http://www.gnu.org/software/coreutils/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.gnu.org/software/coreutils/&lt;/a&gt;) on FEFS.&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;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;unistd.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;errno.h&amp;gt;

&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; main (){
  &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; ret;

  mkdir(&lt;span class=&quot;code-quote&quot;&gt;&quot;test-symlink.tdir&quot;&lt;/span&gt;, 0700);
  ret = symlink(&lt;span class=&quot;code-quote&quot;&gt;&quot;nowhere&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;test-symlink.tdir/&quot;&lt;/span&gt;);
  fprintf(stderr, &lt;span class=&quot;code-quote&quot;&gt;&quot;ret=%d, errno=%d, errstr=%s\n&quot;&lt;/span&gt;, ret, errno, strerror(errno));
  &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I found, if the patch of Bug 18534 like below was backed out, the problem would be fixed.&lt;br/&gt;
The patch of Bug 18534 is to avoid extra unnecessary lookup in case of mkdir/mknod and perhaps others.&lt;br/&gt;
&lt;a href=&quot;http://git.whamcloud.com/gitweb?p=fs/lustre-release.git;a=commit;h=cabdb5633edaf7f997d422563d6b4d320db65cbd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://git.whamcloud.com/gitweb?p=fs/lustre-release.git;a=commit;h=cabdb5633edaf7f997d422563d6b4d320db65cbd&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However, I&apos;m not sure that backing out the patch of Bug 18534 doesn&apos;t matter.&lt;br/&gt;
So could someone help me with it?&lt;/p&gt;</description>
                <environment></environment>
        <key id="18058">LU-3016</key>
            <summary>The errno for symlink() on Lustre is different from it on ext3 or NFS</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="mizuno.hideki">Hideki Mizuno</reporter>
                        <labels>
                            <label>mq313</label>
                    </labels>
                <created>Fri, 22 Mar 2013 10:30:59 +0000</created>
                <updated>Mon, 8 Apr 2013 23:05:26 +0000</updated>
                                            <version>Lustre 2.4.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                    <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|hzvlyn:</customfieldvalue>

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