<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:44:54 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-4679] missing and unneeded includes</title>
                <link>https://jira.whamcloud.com/browse/LU-4679</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The libcfs, lnet, lustre headers are in pretty bad shape.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Many headers don&apos;t include their dependencies (if made the first include in a translation unit they won&apos;t compile) and many include more than they need. C files are also prone to include more than they need.&lt;/li&gt;
	&lt;li&gt;There are also some include cycles. For example: lnet/types.h includes libcfs/libcfs.h includes libcfs/libcfs_private.h includes lnet/types.h.&lt;/li&gt;
	&lt;li&gt;Small compatibility defines are located basically randomly.&lt;/li&gt;
	&lt;li&gt;Most of utils/ needs liblustre.h to build which does scary things like #define sigfillset() as an empty do while loop.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;All of this creates difficulty when porting to new architectures and distros. It&apos;s especially frustrating when the thing that&apos;s breaking is nothing that you are using or care about, but trying to uninclude the heade just breaks something else.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23358">LU-4679</key>
            <summary>missing and unneeded includes</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="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>RoDC</label>
                            <label>cleanup</label>
                    </labels>
                <created>Thu, 27 Feb 2014 20:49:40 +0000</created>
                <updated>Tue, 3 Jun 2014 19:01:55 +0000</updated>
                            <resolved>Tue, 3 Jun 2014 19:01:55 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="80041" author="jhammond" created="Fri, 21 Mar 2014 21:51:13 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9755&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9755&lt;/a&gt; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4679&quot; title=&quot;missing and unneeded includes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4679&quot;&gt;&lt;del&gt;LU-4679&lt;/del&gt;&lt;/a&gt; llite: clean headers and userspace accesses&lt;/p&gt;</comment>
                            <comment id="85631" author="jlevi" created="Tue, 3 Jun 2014 19:01:15 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/9429/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9429/&lt;/a&gt; landed to Master.&lt;/p&gt;</comment>
                            <comment id="85632" author="jlevi" created="Tue, 3 Jun 2014 19:01:55 +0000"  >&lt;p&gt;patch landed to Master. Please reopen ticket if more work is needed.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzwg73:</customfieldvalue>

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