<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:44:28 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-11507] lustre doesn&apos;t build against zfs master: refcount_add missing</title>
                <link>https://jira.whamcloud.com/browse/LU-11507</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The latest lustre will not build against ZFS master:&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; &#160;CC [M] &#160;/home/hutter/lustre-release/lustre/osd-zfs/osd_handler.o
 In file included from /home/hutter/lustre-release/lustre/osd-zfs/osd_handler.c:52:0:
 /home/hutter/lustre-release/lustre/osd-zfs/osd_internal.h: In function &apos;osd_sa_handle_get&apos;:
 /home/hutter/lustre-release/lustre/osd-zfs/osd_internal.h:929:2: error: implicit declaration of function &apos;refcount_add&apos; [-Werror=implicit-function-declaration]
 &#160;refcount_add(&amp;amp;dn-&amp;gt;dn_bonus-&amp;gt;db_holds, osd_obj_tag);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;refcount_add was removed in ZFS in:&lt;/p&gt;

&lt;p&gt;Linux 4.19-rc3+ compat: Remove refcount_t compat (&lt;a href=&quot;https://github.com/zfsonlinux/zfs/pull/7932&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/zfsonlinux/zfs/pull/7932&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;That patch is expected to be included in zfs-0.7.12 as well.&lt;/p&gt;

&lt;p&gt;Lustre should be updated to use zfs_refcount_add() if it exists, and then fall back to refcount_add if not.&lt;/p&gt;</description>
                <environment>Centos 7</environment>
        <key id="53579">LU-11507</key>
            <summary>lustre doesn&apos;t build against zfs master: refcount_add missing</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="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="hutter">Tony Hutter</assignee>
                                    <reporter username="hutter">Tony Hutter</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Oct 2018 20:08:47 +0000</created>
                <updated>Wed, 7 Nov 2018 13:05:09 +0000</updated>
                            <resolved>Tue, 6 Nov 2018 13:41:21 +0000</resolved>
                                    <version>Upstream</version>
                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="234797" author="hutter" created="Thu, 11 Oct 2018 21:08:27 +0000"  >&lt;p&gt;I uploaded a patch that works for me against zfs master.&#160; It also needs &lt;a href=&quot;https://github.com/zfsonlinux/zfs/pull/8014&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/zfsonlinux/zfs/pull/8014&lt;/a&gt; to completely build.&#160; I will test it against an old zfs without that patch to test the case where zfs_refcount_add does not exist.&lt;/p&gt;</comment>
                            <comment id="234798" author="pjones" created="Thu, 11 Oct 2018 21:21:56 +0000"  >&lt;p&gt;Tony&lt;/p&gt;

&lt;p&gt;Can you push the patch into Gerrit so we can test/review easily and get this landed?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="234799" author="hutter" created="Thu, 11 Oct 2018 21:26:44 +0000"  >&lt;p&gt;Sure, I&apos;ll setup a gerrit account and I submit it&lt;/p&gt;</comment>
                            <comment id="234840" author="gerrit" created="Fri, 12 Oct 2018 16:50:44 +0000"  >&lt;p&gt;Tony Hutter (hutter2@llnl.gov) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33359&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11507&quot; title=&quot;lustre doesn&amp;#39;t build against zfs master: refcount_add missing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11507&quot;&gt;&lt;del&gt;LU-11507&lt;/del&gt;&lt;/a&gt; osd-zfs: Use zfs_refcount_add if available&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f52d3e56f2338be435c434444243ae423ec06504&lt;/p&gt;</comment>
                            <comment id="236377" author="gerrit" created="Tue, 6 Nov 2018 06:40:05 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33359/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33359/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11507&quot; title=&quot;lustre doesn&amp;#39;t build against zfs master: refcount_add missing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11507&quot;&gt;&lt;del&gt;LU-11507&lt;/del&gt;&lt;/a&gt; osd-zfs: Use zfs_refcount_add if available&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 89f8ee7f964d2598939ca483f522d6918915962c&lt;/p&gt;</comment>
                            <comment id="236422" author="pjones" created="Tue, 6 Nov 2018 13:41:21 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                            <comment id="236546" author="gerrit" created="Wed, 7 Nov 2018 13:05:09 +0000"  >&lt;p&gt;Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33605&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33605&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11507&quot; title=&quot;lustre doesn&amp;#39;t build against zfs master: refcount_add missing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11507&quot;&gt;&lt;del&gt;LU-11507&lt;/del&gt;&lt;/a&gt; osd-zfs: Use zfs_refcount_add if available&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ea49a168ec676c9b35e6a48c56d5427f51a40894&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="53343">LU-11393</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="31186" name="refcount_add.diff" size="2082" author="hutter" created="Thu, 11 Oct 2018 21:06:28 +0000"/>
                    </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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>zfs</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0042n:</customfieldvalue>

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