<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:34:36 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-3518] liblustreapi.a not forward compatible between 2.1.5 and 2.3.0 (maybe others)</title>
                <link>https://jira.whamcloud.com/browse/LU-3518</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Binaries utilizing liblustreapi.a compiled with 2.1.5 do not function&lt;br/&gt;
properly with 2.3.0.  This may affect other versions as well, but these&lt;br/&gt;
are what we&apos;re currently running.&lt;/p&gt;

&lt;p&gt;Here is a simple reproducer (call bug.c):&lt;/p&gt;

&lt;p&gt;    #include &amp;lt;stdio.h&amp;gt;&lt;br/&gt;
    #include &amp;lt;lustre/liblustreapi.h&amp;gt;&lt;/p&gt;

&lt;p&gt;    int main(int argc, char *argv[]) {&lt;br/&gt;
        // set stripe count to 2 with default stripe size&lt;br/&gt;
        if (llapi_file_create(argv&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;, 0, -1, 2, 0)) &lt;/p&gt;
{
            perror(&quot;problem&quot;);
        }
&lt;p&gt;    }&lt;/p&gt;

&lt;p&gt;Compile as follows:&lt;/p&gt;

&lt;p&gt;    gcc bug.c -Wl,-Bstatic -llustreapi -Wl,-Bdynamic&lt;/p&gt;

&lt;p&gt;Give a non-existing file name on lustre as an argument.  When you&lt;br/&gt;
compile on a 2.1.5 system, it works fine on 2.1.5 systems:&lt;/p&gt;

&lt;p&gt;    client215&lt;span class=&quot;error&quot;&gt;&amp;#91;556&amp;#93;&lt;/span&gt;/nobackupp2/user1&amp;gt; ~/a.out aaa&lt;br/&gt;
    client215&lt;span class=&quot;error&quot;&gt;&amp;#91;557&amp;#93;&lt;/span&gt;/nobackupp2/user1&amp;gt;&lt;/p&gt;

&lt;p&gt;but gives a bogus error on 2.3.0 systems:&lt;/p&gt;

&lt;p&gt;    client230&lt;span class=&quot;error&quot;&gt;&amp;#91;590&amp;#93;&lt;/span&gt;/nobackupp2/pkolano&amp;gt; ~/a.out bbb&lt;br/&gt;
    error on ioctl 0x4008669a for &apos;bbb&apos; (3): stripe already set&lt;br/&gt;
    problem: File exists&lt;/p&gt;

&lt;p&gt;When you compile on a 2.3.0 system, it works fine on both:&lt;/p&gt;

&lt;p&gt;    client215&lt;span class=&quot;error&quot;&gt;&amp;#91;568&amp;#93;&lt;/span&gt;/nobackupp2/user1&amp;gt; ~/a.out aaa&lt;br/&gt;
    client215&lt;span class=&quot;error&quot;&gt;&amp;#91;569&amp;#93;&lt;/span&gt;/nobackupp2/user1&amp;gt;&lt;/p&gt;

&lt;p&gt;    client230&lt;span class=&quot;error&quot;&gt;&amp;#91;602&amp;#93;&lt;/span&gt;/nobackupp2/user1&amp;gt; ~/a.out bbb&lt;br/&gt;
    client230&lt;span class=&quot;error&quot;&gt;&amp;#91;603&amp;#93;&lt;/span&gt;/nobackupp2/user1&amp;gt;&lt;/p&gt;</description>
                <environment>client215[501]~&amp;gt; uname -a&lt;br/&gt;
Linux client215 2.6.32.54-0.3.1.20120223-nasa #1 SMP Fri Feb 24 00:06:41 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux&lt;br/&gt;
&lt;br/&gt;
client215[503]~&amp;gt; cat /etc/SuSE-release&lt;br/&gt;
SUSE Linux Enterprise Server 11 (x86_64)&lt;br/&gt;
VERSION = 11&lt;br/&gt;
PATCHLEVEL = 1&lt;br/&gt;
&lt;br/&gt;
client215[504]~&amp;gt; rpm -qf /usr/lib64/liblustreapi.a&lt;br/&gt;
lustre-client-2.1.5-1nasC_ofed154_2.6.32.54_0.3.1.20120223_nasa&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
client230[615]~&amp;gt; uname -a&lt;br/&gt;
Linux client230 3.0.74-0.6.6.2.20130516-nasuv #1 SMP Fri May 17 02:07:25 UTC 2013 (395d734) x86_64 x86_64 x86_64 GNU/Linux&lt;br/&gt;
&lt;br/&gt;
client230[616]~&amp;gt; cat /etc/SuSE-release&lt;br/&gt;
SUSE Linux Enterprise Server 11 (x86_64)&lt;br/&gt;
VERSION = 11&lt;br/&gt;
PATCHLEVEL = 2&lt;br/&gt;
&lt;br/&gt;
client230[617]~&amp;gt; rpm -qf /usr/lib64/liblustreapi.a&lt;br/&gt;
lustre-client-2.3.0-3nasC_ofed154_3.0.74_0.6.6.2.20130516_nasuv</environment>
        <key id="19581">LU-3518</key>
            <summary>liblustreapi.a not forward compatible between 2.1.5 and 2.3.0 (maybe others)</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="3">Duplicate</resolution>
                                        <assignee username="hongchao.zhang">Hongchao Zhang</assignee>
                                    <reporter username="kolano">Paul Kolano</reporter>
                        <labels>
                            <label>mn1</label>
                    </labels>
                <created>Wed, 26 Jun 2013 19:19:14 +0000</created>
                <updated>Mon, 21 Apr 2014 13:58:29 +0000</updated>
                            <resolved>Mon, 21 Apr 2014 13:58:29 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                    <version>Lustre 2.1.5</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="61431" author="pjones" created="Thu, 27 Jun 2013 05:13:21 +0000"  >&lt;p&gt;Hongchao&lt;/p&gt;

&lt;p&gt;Could you please help with this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="61471" author="hongchao.zhang" created="Fri, 28 Jun 2013 12:48:28 +0000"  >&lt;p&gt;status update: &lt;br/&gt;
the cause of the issue was not clear yet, could need some more time&lt;br/&gt;
to investigate, will update it once there is any progress, thanks.&lt;/p&gt;</comment>
                            <comment id="61566" author="hongchao.zhang" created="Mon, 1 Jul 2013 11:02:10 +0000"  >&lt;p&gt;the issue could be related to OS, I have tried it on RHEL5 (2.6.18-348) and RHEL6 (2.6.32-279.2.1), it&apos;s okay.&lt;br/&gt;
did you ever encounter this issue on other platform except SUSE?&lt;/p&gt;</comment>
                            <comment id="61580" author="pjones" created="Mon, 1 Jul 2013 14:20:11 +0000"  >&lt;p&gt;Hongchao&lt;/p&gt;

&lt;p&gt;Why don&apos;t you try to reproduce on SLES yourself?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="61738" author="hongchao.zhang" created="Wed, 3 Jul 2013 10:52:58 +0000"  >&lt;p&gt;this issue is caused by the conflict between O_LOV_DELAY_CREATE and FMODE_NONOTIFY (introduced since 2.6.36).&lt;br/&gt;
the patch &lt;a href=&quot;http://review.whamcloud.com/#/c/3779/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/3779/&lt;/a&gt; in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-812&quot; title=&quot;Support for Linux 3.0 kernels&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-812&quot;&gt;&lt;del&gt;LU-812&lt;/del&gt;&lt;/a&gt; has fixed it.&lt;/p&gt;</comment>
                            <comment id="62012" author="hongchao.zhang" created="Wed, 10 Jul 2013 10:15:06 +0000"  >&lt;p&gt;the patch against b2_1 is tracked at &lt;a href=&quot;http://review.whamcloud.com/#/c/6933/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6933/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="71815" author="jaylan" created="Mon, 18 Nov 2013 18:40:16 +0000"  >&lt;p&gt;Your patch worked for us.&lt;/p&gt;

&lt;p&gt;One concern. If this patch is landed to b2_1, wouldn&apos;t it make later 2.1.x release binary incompatible with releases without the patch?&lt;/p&gt;
</comment>
                            <comment id="72299" author="hongchao.zhang" created="Tue, 26 Nov 2013 13:26:59 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
Yes, the binary built against the b2_1 without the patch would be incompatible about the flag O_LOV_DELAY_CREATE.&lt;br/&gt;
and it will affect the applications using this flag and won&apos;t affect the server side for the patch only affects the clients.&lt;/p&gt;</comment>
                            <comment id="78811" author="jfc" created="Sat, 8 Mar 2014 02:13:55 +0000"  >&lt;p&gt;Jay,&lt;br/&gt;
Did we get this answered to your satisfaction?&lt;br/&gt;
If so, can I go ahead and mark the ticket as resolved?&lt;br/&gt;
Thanks,&lt;br/&gt;
~ jfc.&lt;/p&gt;</comment>
                            <comment id="82046" author="pjones" created="Mon, 21 Apr 2014 13:58:29 +0000"  >&lt;p&gt;Seems to be a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-812&quot; title=&quot;Support for Linux 3.0 kernels&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-812&quot;&gt;&lt;del&gt;LU-812&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="12300">LU-812</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|hzvu3z:</customfieldvalue>

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