<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:15:50 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-1346] cleanup libcfs</title>
                <link>https://jira.whamcloud.com/browse/LU-1346</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Migrate libcfs to emulate Linux kernel APIs, so that when submitting Linux client to upstream kernel, we don&apos;t need the abstraction layer which will be rejected by kernel maintainers. The majority of libcfs are cfs_* or ll_* wrappers, and can be cleaned up with scripts doing like &quot;s/cfs_spin_lock/spin_lock&quot;. For other functions that cannot be cleaned up this way, we need to look at them in a case-by-case basis.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14190">LU-1346</key>
            <summary>cleanup libcfs</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="keith">Keith Mannthey</assignee>
                                    <reporter username="bergwolf">Peng Tao</reporter>
                        <labels>
                            <label>emc</label>
                            <label>patch</label>
                    </labels>
                <created>Thu, 26 Apr 2012 22:00:52 +0000</created>
                <updated>Mon, 30 Sep 2013 10:50:14 +0000</updated>
                            <resolved>Mon, 16 Sep 2013 20:50:17 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="38998" author="xuezhao" created="Thu, 17 May 2012 11:56:59 +0000"  >&lt;p&gt;Per the discussion with Andreas etc., we can use a script to do libcfs cleanup at compiling time first. We can implement the script incrementally, when the script is good enough we can apply it to lustre tree to change code directly. The code change will be huge and will break most in-flight patches and break different branch rebase, the script can help to resolve the confliction as well.&lt;/p&gt;

&lt;p&gt;We ever considered implementing the script based on coccinelle, it is potentially a good tool to resolve collateral evolution issues. But it cannot well process some &quot;#ifdef .... #else ... #endif&quot; cases, or some complicate macro codes. So we implemented a sed script to do libcfs cleanup, together with some direct code changes.&lt;/p&gt;

&lt;p&gt;3 patches submitted for review: &lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/2829&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2829&lt;/a&gt;     cleanup libcfs lock and bit operations&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/2830&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2830&lt;/a&gt;     cleanup libcfs file operations&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/2831&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2831&lt;/a&gt;     cleanup libcfs memory operations&lt;/p&gt;</comment>
                            <comment id="48948" author="xuezhao" created="Sun, 9 Dec 2012 10:23:28 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/4775&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4775&lt;/a&gt;   cleanup libcfs primitive (linux-prim.h)&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4776&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4776&lt;/a&gt;   cleanup macros in kp30.h&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4777&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4777&lt;/a&gt;   tcpip/time/type related cleanup&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4778&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4778&lt;/a&gt;   cleanup macros in portals_compat25.h&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4779&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4779&lt;/a&gt;   cleanup cfs_curproc_xxx macros&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4780&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4780&lt;/a&gt;   cleanup list operations&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4781&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4781&lt;/a&gt;   replace CFS_CAP_XXX with kernel definition&lt;/p&gt;

&lt;p&gt;The above patches are only script plus some other code changes that not-easy to be handled by script. I submitted only for review, we can merge them and run the script to generate the final patch at appropriate time.&lt;/p&gt;

&lt;p&gt;There are some other cleanup patches have not been submitted for example LWT code and some other obsolete macros cleanup.&lt;/p&gt;</comment>
                            <comment id="54110" author="jhammond" created="Fri, 15 Mar 2013 10:18:21 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,2829&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,2829&lt;/a&gt; (cleanup libcfs lock and bit operations) has landed.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#change,2830&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,2830&lt;/a&gt; (remove cfs_ file wrappers) has landed.&lt;/p&gt;</comment>
                            <comment id="61592" author="simmonsja" created="Mon, 1 Jul 2013 16:16:13 +0000"  >&lt;p&gt;I just tried out the latest master to discover that it no longer builds on SLES11 SP1. The api for mem_cache_create has a extra argument in the base line 2.6.32 kernel which was removed later.&lt;/p&gt;</comment>
                            <comment id="61604" author="simmonsja" created="Mon, 1 Jul 2013 19:50:37 +0000"  >&lt;p&gt;Sorry it was another problem. Your patch doesn&apos;t impact SLES11 SP1.&lt;/p&gt;</comment>
                            <comment id="62175" author="bergwolf" created="Fri, 12 Jul 2013 10:08:22 +0000"  >&lt;p&gt;I split &lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4775&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4775&lt;/a&gt; cleanup libcfs primitive (linux-prim.h)&lt;br/&gt;
into several patches, to facilitate review and merging&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/6954/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6954/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/6955/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6955/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/6956/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6956/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/6957/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6957/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/6959/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6959/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The procfs primitive cleanup is dropped because it will be soon changed with the procfs change in 3.10 kernel support.&lt;/p&gt;

&lt;p&gt;The last one patch (6959) is partial and converts only atomic primitives in libcfs directory. I&apos;ll update incremental patches to clean other modules.&lt;/p&gt;
</comment>
                            <comment id="62241" author="keith" created="Sat, 13 Jul 2013 07:12:51 +0000"  >&lt;p&gt;There seems to be some build problem related to this patch set.  A rebuild failed as well so it likely has to do with the base change itself somehow. &lt;/p&gt;</comment>
                            <comment id="62356" author="bergwolf" created="Tue, 16 Jul 2013 10:24:08 +0000"  >&lt;p&gt;I don&apos;t have SLES11 environment but I tried to build the patchset against SLES11SP2 kernel on my CentOS box, and no error was found. I couldn&apos;t build rpms though because they require different spec file rules. And the error seems to be from rpmbuild.&lt;/p&gt;

&lt;p&gt;Could you please help to retrieve below file?&lt;br/&gt;
/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/sles11sp2/ib_stack/inkernel/BUILD/find-requires&lt;/p&gt;

&lt;p&gt;The error message says:&lt;br/&gt;
error: Failed to find Requires:&lt;br/&gt;
Finding  Requires: /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/sles11sp2/ib_stack/inkernel/BUILD/find-requires&lt;br/&gt;
error: line 674: Dependency tokens must begin with alpha-numeric, &apos;_&apos; or &apos;/&apos;: rm -rf $RPM_BUILD_ROOT&lt;/p&gt;

&lt;p&gt;It seems that find-requires scanned some script and found undefined variable $RPM_BUILD_ROOT. But the patchset doesn&apos;t change any scripts except for libcfscleanup.sed which clearly doesn&apos;t reference $RPM_BUILD_ROOT.&lt;/p&gt;</comment>
                            <comment id="62364" author="simmonsja" created="Tue, 16 Jul 2013 11:28:25 +0000"  >&lt;p&gt;Can you try patch &lt;a href=&quot;http://review.whamcloud.com/#/c/5491&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/5491&lt;/a&gt;. That might fix it up for you.&lt;/p&gt;</comment>
                            <comment id="62397" author="keith" created="Tue, 16 Jul 2013 17:40:23 +0000"  >&lt;p&gt;I am working to find a way to get the malformed file so we can better see what went wrong. We have a separate internal ticket tracking this build issue. &lt;/p&gt;

&lt;p&gt;The present thought is the first patch in this series is wrecking havoc is this odd way.  I will see about a debug rebase ontop of the SuSE build change. &lt;/p&gt;
</comment>
                            <comment id="62450" author="bergwolf" created="Wed, 17 Jul 2013 03:12:42 +0000"  >&lt;p&gt;Thanks James. It seems that &lt;a href=&quot;http://review.whamcloud.com/#/c/5491&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/5491&lt;/a&gt; is related. I&apos;ll update to include it and see if it fixes the build issue.&lt;/p&gt;</comment>
                            <comment id="62581" author="bergwolf" created="Fri, 19 Jul 2013 00:51:20 +0000"  >&lt;p&gt;Turned out to be a bug in the base patch. The error message was misleading. I&apos;ve fixed it and now build succeeded.&lt;/p&gt;</comment>
                            <comment id="62582" author="keith" created="Fri, 19 Jul 2013 01:05:21 +0000"  >&lt;p&gt;I am glad this got sorted it.  I agree the error message was very misleading. &lt;/p&gt;</comment>
                            <comment id="62710" author="bergwolf" created="Mon, 22 Jul 2013 15:55:16 +0000"  >&lt;p&gt;Following up the cfs_atomic primitive change, below seven patches convert the rest pieces of code incrementally. They can each be merged independently.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7070&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7070&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7072&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7072&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7073&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7073&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7074&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7074&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7075&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7075&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7076&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7076&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7077&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7077&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="62771" author="keith" created="Tue, 23 Jul 2013 03:38:16 +0000"  >&lt;p&gt;These 7 patches are each dependant on about 10 other patches.  We will need to land these changes in order and a lowish level patch needing a rebase is going to cause the whole stack to be rebuilt and tested at least once more. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/4779&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4779&lt;/a&gt; is low in the stack and out of date.  &lt;/p&gt;

&lt;p&gt;The lowest patch is &lt;a href=&quot;http://review.whamcloud.com/4776&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4776&lt;/a&gt; and is being testing. 4777 and 4778 look to to land once 4776 finishes testing. &lt;/p&gt;

&lt;p&gt;If there is any way to break the dependencies up the speed at which this code will land could improve.&lt;/p&gt;
</comment>
                            <comment id="62772" author="bergwolf" created="Tue, 23 Jul 2013 03:49:05 +0000"  >&lt;p&gt;shall I rebase 4779 and all the patches that rely on 4770 now, or wait until 4776/4777/4778 on are landed?&lt;/p&gt;

&lt;p&gt;They are dependent mostly because they all modify the libcfs-cleanup.sed file.&lt;/p&gt;</comment>
                            <comment id="62792" author="simmonsja" created="Tue, 23 Jul 2013 11:52:27 +0000"  >&lt;p&gt;Can you hold off rebasing 4779. I&apos;m working on getting Lustre working with a 3.10.2 kernel and that version of the kernel impacts process name space handling. First I need to handle the proc changes in 3.10+ &lt;/p&gt;</comment>
                            <comment id="62794" author="bergwolf" created="Tue, 23 Jul 2013 12:45:34 +0000"  >&lt;p&gt;James, do you mean you are working on procfs change in 3.10? It is tracked on &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3319&quot; title=&quot;Adapt to 3.10 upstream kernel proc_dir_entry change&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3319&quot;&gt;&lt;del&gt;LU-3319&lt;/del&gt;&lt;/a&gt;. I thought that liuying is working on it. You may want to coordinate with each other so don&apos;t waste the efforts.&lt;/p&gt;</comment>
                            <comment id="65277" author="spitzcor" created="Wed, 28 Aug 2013 17:13:20 +0000"  >&lt;p&gt;James posted &lt;a href=&quot;http://review.whamcloud.com/#/c/7454&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7454&lt;/a&gt; for gnilnd&lt;/p&gt;</comment>
                            <comment id="66779" author="jlevi" created="Mon, 16 Sep 2013 20:50:17 +0000"  >&lt;p&gt;Follow on work for this ticket is being tracked in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3963&quot; title=&quot;cleanup libcfs wrappers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3963&quot;&gt;&lt;del&gt;LU-3963&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="67801" author="shadow" created="Fri, 27 Sep 2013 08:40:40 +0000"  >&lt;p&gt;please revert&lt;br/&gt;
commit b22fb817507ff52c02de38435fe90d758e852105&lt;br/&gt;
Author: James Simmons &amp;lt;uja.ornl@gmail.com&amp;gt;&lt;br/&gt;
Date:   Fri Sep 13 09:44:00 2013 -0400&lt;/p&gt;

&lt;p&gt;    &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1346&quot; title=&quot;cleanup libcfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1346&quot;&gt;&lt;del&gt;LU-1346&lt;/del&gt;&lt;/a&gt; libcfs: replace CFS_CAP_XXX with kernel definition&lt;/p&gt;

&lt;p&gt;that defines needed because  Linux capability now have size more then lustre wire protocol so we don&apos;t able to pack all capability into wire. That is main reason to introduce these macroses, please look to commit and ticket where it&apos;s adds to lustre tree.&lt;/p&gt;

&lt;p&gt;I see you are drop compatibility with different OS&apos;es and kernels, but that is very very bad idea.&lt;/p&gt;</comment>
                            <comment id="67802" author="shadow" created="Fri, 27 Sep 2013 08:43:58 +0000"  >&lt;p&gt;and PLEASE REMEMBER - any on wire constants MUST be platform independent to avoid situation when it&apos;s different on different sides of lustre cluster. &lt;/p&gt;

&lt;p&gt;as additional objection about that work - &apos;fls&apos; cleanup landed some time ago. that is broke lustre to build on system already have these functions but with different arguments as you expected. &lt;br/&gt;
and forget to make cfs_gettimeofday to gettimeofday changes in some places.&lt;/p&gt;</comment>
                            <comment id="67806" author="simmonsja" created="Fri, 27 Sep 2013 12:23:49 +0000"  >&lt;p&gt;The patch just did a bunch of renaming of variables. cfs_cap_t is still a __u32. Can you point to exactly the break is where you believe it to be.&lt;/p&gt;

&lt;p&gt;Please push fixes for the fls and gettimeofday issues. Patches always welcomed &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="67820" author="shadow" created="Fri, 27 Sep 2013 15:41:13 +0000"  >&lt;p&gt;OS defined flags should be never applied to the custom type, so CAP_* flags may be applied to the kernel_cap type, other  is incorrect by definition, but kernel_cap_t can&apos;t be put in _u32 in wire.&lt;br/&gt;
reason to have CFS_CAP* to be similar CAP_* defines - capability with older (before patch) clients, but we define only few bits from kernel bitmask, so if we will be need some additional on server side we will be able to pack data from kernel bits to unused bits in wire data.&lt;br/&gt;
so avoid a wire protocol changes as long as possible. It&apos;s my bad - i forget to add CFS_CAP checks into wiretest script to notify - it&apos;s wire specific data and should be don&apos;t changed without real reasons.&lt;/p&gt;

&lt;p&gt;as about breakage.&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;In file included from /Users/shadow/work/lustre/work/WC-review/mac-os/libcfs/include/libcfs/posix/libcfs.h:108,
                from /Users/shadow/work/lustre/work/WC-review/mac-os/libcfs/include/libcfs/libcfs.h:45,
                from nidstrings.c:43:
/Users/shadow/work/lustre/work/WC-review/mac-os/libcfs/include/libcfs/user-bitops.h:80: error: conflicting types &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; &#8216;fls&#8217;
/usr/include/strings.h:90: error: previous declaration of &#8216;fls&#8217; was here
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;so part for cfs_fls need to be reverted.&lt;/p&gt;

&lt;p&gt;one more additional bug&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;gcc -DHAVE_CONFIG_H -I. -I../..  -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 -include /Users/shadow/work/lustre/work/WC-review/mac-os/config.h -I/Users/shadow/work/lustre/work/WC-review/mac-os/libcfs/include -I/Users/shadow/work/lustre/work/WC-review/mac-os/lnet/include -I/Users/shadow/work/lustre/work/WC-review/mac-os/lustre/include  -g -Wall -fPIC -D_GNU_SOURCE -g -O2 -Werror -MT libcfs_a-posix-debug.o -MD -MP -MF .deps/libcfs_a-posix-debug.Tpo -c -o libcfs_a-posix-debug.o `test -f &lt;span class=&quot;code-quote&quot;&gt;&apos;posix/posix-debug.c&apos;&lt;/span&gt; || echo &lt;span class=&quot;code-quote&quot;&gt;&apos;./&apos;&lt;/span&gt;`posix/posix-debug.c

cc1: warnings being treated as errors

posix/posix-debug.c: In function &#8216;libcfs_debug_vmsg2&#8217;:

posix/posix-debug.c:210: warning: implicit declaration of function &#8216;cfs_gettimeofday&#8217;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="67856" author="simmonsja" created="Fri, 27 Sep 2013 18:09:11 +0000"  >&lt;p&gt;Okay we can revert the last patch. The caps patch had less of a impact on the code than the other patches for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1346&quot; title=&quot;cleanup libcfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1346&quot;&gt;&lt;del&gt;LU-1346&lt;/del&gt;&lt;/a&gt;. Proper capabilities support will need to be explored later.&lt;/p&gt;</comment>
                            <comment id="67918" author="shadow" created="Sat, 28 Sep 2013 18:16:26 +0000"  >&lt;p&gt;Thanks! I will send maces/freebsd support patches with fuse client son (i hope in next two weeks).&lt;/p&gt;</comment>
                            <comment id="67936" author="shadow" created="Mon, 30 Sep 2013 10:50:14 +0000"  >&lt;p&gt;I created patch with some cleanups need to compile lustre with clang. most of them is c89 style fixes with correct includes.&lt;br/&gt;
please inspect it.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/7803&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7803&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="20979">LU-3963</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>client</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvodb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7767</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>