<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:47: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-4997] lustre_idl.h compilation regression from LU-2743</title>
                <link>https://jira.whamcloud.com/browse/LU-4997</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2743&quot; title=&quot;Errno Translation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2743&quot;&gt;&lt;del&gt;LU-2743&lt;/del&gt;&lt;/a&gt; introduced a regression into lustre_idl.h.  One reason that it no longer compiles in &lt;em&gt;installed&lt;/em&gt; user space because of this addition:&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;#include &amp;lt;lustre/lustre_errno.h&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But lustre_errno. is not packaged.&lt;/p&gt;

&lt;p&gt;There are two questions that need answering:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Should lustre_idl.h really include lustre_errno.h?&lt;/li&gt;
	&lt;li&gt;Should lustre_errno.h really be a new interface exposed to user space?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If the answers to both are &quot;yes&quot;, we can consider packaging lustre_errno.h.&lt;/p&gt;

&lt;p&gt;Of course, we also need to decide if we will continue packaging luste_idl.h (see parent issue &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1606&quot; title=&quot;lustre_idl.h does not compile in user-space&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1606&quot;&gt;&lt;del&gt;LU-1606&lt;/del&gt;&lt;/a&gt;).  If we stop packaging it, then this ticket is moot.&lt;/p&gt;</description>
                <environment></environment>
        <key id="24549">LU-4997</key>
            <summary>lustre_idl.h compilation regression from LU-2743</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="liwei">Li Wei</assignee>
                                    <reporter username="morrone">Christopher Morrone</reporter>
                        <labels>
                    </labels>
                <created>Sat, 3 May 2014 00:31:58 +0000</created>
                <updated>Thu, 3 Jul 2014 22:48:33 +0000</updated>
                            <resolved>Thu, 3 Jul 2014 16:26:14 +0000</resolved>
                                    <version>Lustre 2.5.1</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="83145" author="jhammond" created="Sun, 4 May 2014 21:26:41 +0000"  >&lt;p&gt;Please see &lt;a href=&quot;http://review.whamcloud.com/10209&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10209&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="83248" author="pjones" created="Tue, 6 May 2014 01:29:48 +0000"  >&lt;p&gt;Assigning to Li Wei as the original author of this code but perhaps this can be closed as a duplicate of the ticket John H is working&lt;/p&gt;</comment>
                            <comment id="83254" author="liwei" created="Tue, 6 May 2014 02:46:35 +0000"  >&lt;p&gt;My thoughts were (and still are):&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;The contents of lustre_errno.h are part of the wire protocol.  If there were not so many error codes, I would have defined them directly in lustre_idl.h.&lt;/li&gt;
	&lt;li&gt;The contents of lustre_errno.h should not be needed by user space code, as the client kernel drivers should have translated the wire error codes back to host error codes.&lt;/li&gt;
	&lt;li&gt;The rule seems to be that only lustre_user.h should be available to user space code.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="83255" author="liwei" created="Tue, 6 May 2014 02:49:41 +0000"  >&lt;p&gt;By &quot;user space code&quot;, I don&apos;t intend to include any user space implementations of Lustre client, of course.&lt;/p&gt;</comment>
                            <comment id="83258" author="jhammond" created="Tue, 6 May 2014 03:40:59 +0000"  >&lt;p&gt;&amp;gt; The rule seems to be that only lustre_user.h should be available to user space code.&lt;/p&gt;

&lt;p&gt;That rule has not been followed.&lt;/p&gt;

&lt;p&gt;Nothing in lustre_idl.h uses any definitions from lustre_errno.h. What&apos;s the matter with &quot;include waht you use.&quot; Why should lustre_idl.h include something it doesn&apos;t need?&lt;/p&gt;</comment>
                            <comment id="83273" author="liwei" created="Tue, 6 May 2014 08:11:28 +0000"  >&lt;p&gt;As to the rule, are current violations too hard to fix?&lt;/p&gt;

&lt;p&gt;Yes, I agree in principle a header should not include another one that it doesn&apos;t depend on.  However, the case here is a bit different: The error definitions should be defined &lt;em&gt;in&lt;/em&gt; lustre_idl.h if there were not so many of them.  Also, they are actually conceptually used by pb_status and hpk_errval in lustre_idl.h.&lt;/p&gt;</comment>
                            <comment id="85483" author="adilger" created="Mon, 2 Jun 2014 17:45:08 +0000"  >&lt;p&gt;Li Wei,&lt;br/&gt;
in a related note, are the errno values that Lustre is using on the network checked in wirecheck.c?&lt;/p&gt;</comment>
                            <comment id="85526" author="liwei" created="Mon, 2 Jun 2014 23:55:39 +0000"  >&lt;p&gt;Andreas, no, I did not add such checks.  Could you explain a bit about your thought behind the question?&lt;/p&gt;</comment>
                            <comment id="88111" author="jhammond" created="Thu, 3 Jul 2014 16:26:14 +0000"  >&lt;p&gt;lustre_idl.h is no longer packaged for use outside of the Lustre tree.&lt;/p&gt;</comment>
                            <comment id="88159" author="liwei" created="Thu, 3 Jul 2014 22:48:33 +0000"  >&lt;p&gt;That&apos;s cool!  Thanks, John.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="24578">LU-5011</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|hzwlq7:</customfieldvalue>

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